POST Connect/{subscriberId}/PaymentMethods/StoreConsumerCreditCard?userId={userId}

Stores a consumers credit card at the subscriber with credit card token id as request.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

string

None.

subscriberId

string

None.

Body Parameters

StoreCreditCardToSubscriberRequest
NameDescriptionTypeAdditional information
CreditCardToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CreditCardToken": "sample string 1"
}

application/xml, text/xml

Sample:
<StoreCreditCardToSubscriberRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.MarketplacePayments.Requests">
  <CreditCardToken>sample string 1</CreditCardToken>
</StoreCreditCardToSubscriberRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

StoreCreditCardToSubscriberResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<StoreCreditCardToSubscriberResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mindbody.Contract.MarketplacePayments.Responses">
  <Message>sample string 2</Message>
  <Success>true</Success>
</StoreCreditCardToSubscriberResponse>