PUT api/customer/stored-payments
Request Information
URI Parameters
None.
Body Parameters
CreditCardInfoName | Description | Type | Additional information |
---|---|---|---|
CustomerId | globally unique identifier |
None. |
|
CreditCardNumber | string |
None. |
|
CardType | string |
None. |
|
ExpirationMonth | integer |
None. |
|
ExpirationYear | integer |
None. |
|
NameOnCard | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": "1464d833-2632-4c42-b493-41da5176efe9", "CreditCardNumber": "sample string 2", "CardType": "sample string 3", "ExpirationMonth": 4, "ExpirationYear": 5, "NameOnCard": "sample string 6" }
application/xml, text/xml
Sample:
<CreditCardInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCMSAPI.Models"> <CardType>sample string 3</CardType> <CreditCardNumber>sample string 2</CreditCardNumber> <CustomerId>1464d833-2632-4c42-b493-41da5176efe9</CustomerId> <ExpirationMonth>4</ExpirationMonth> <ExpirationYear>5</ExpirationYear> <NameOnCard>sample string 6</NameOnCard> </CreditCardInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
JsonResultOfObjectName | Description | Type | Additional information |
---|---|---|---|
Content | Object |
None. |
|
SerializerSettings | JsonSerializerSettings |
None. |
|
Encoding | Encoding |
None. |
|
Request | HttpRequestMessage |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.