POST v1/Generic/SavePaymentMethod
Request Information
URI Parameters
None.
Body Parameters
Collection of NewPaymentMethodDetailsName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
Required |
|
Token | string |
Required |
|
NameOnCard | string |
Required |
|
CardType | integer |
Required |
|
CardNumber | string |
Required |
|
ExpirationMonth | integer |
Required |
|
ExpirationYear | integer |
Required |
Request Formats
application/json, text/json
Sample:
[ { "CustomerId": 1, "Token": "sample string 2", "NameOnCard": "sample string 3", "CardType": 4, "CardNumber": "sample string 5", "ExpirationMonth": 6, "ExpirationYear": 7 }, { "CustomerId": 1, "Token": "sample string 2", "NameOnCard": "sample string 3", "CardType": 4, "CardNumber": "sample string 5", "ExpirationMonth": 6, "ExpirationYear": 7 } ]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string>sample string 1</string>