POST api/ccms/token-payment/{centerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
centerId | globally unique identifier |
Required |
Body Parameters
CreditCardTokenObjectName | Description | Type | Additional information |
---|---|---|---|
Amount | decimal number |
None. |
|
Description | string |
None. |
|
Token | string |
None. |
|
ExpirationDate | string |
None. |
|
CardNumber | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Amount": 1.1, "Description": "sample string 2", "Token": "sample string 3", "ExpirationDate": "sample string 4", "CardNumber": "sample string 5" }
application/xml, text/xml
Sample:
<CreditCardTokenObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CCMSAPI.Models"> <Amount>1.1</Amount> <CardNumber>sample string 5</CardNumber> <Description>sample string 2</Description> <ExpirationDate>sample string 4</ExpirationDate> <Token>sample string 3</Token> </CreditCardTokenObject>
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.