| Requires the role: | Merchant |
| GET | /merchants/{merchantKey}/tokens/cards/{token} | Gets a card token for the merchant. |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MerchantKey | path | integer | Yes | The key of the merchant. |
| Token | path | string | Yes | The card token. |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| MerchantKey | model | int? | No | The merchant key. |
| CustomerKey | model | int? | No | The customer key. |
| CardNumber | model | string | No | The card number. |
| ExpirationDate | model | string | No | The expiration date, formatted as MMYY. |
| CardType | model | string | No | The card type. |
| NameOnCard | model | string | No | The name on the card. |
| StreetAddress | model | string | No | The street address for the card. |
| PostalCode | model | string | No | The postal code for the card. |
| Token | model | string | No | The token for the card. |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /merchants/{merchantKey}/tokens/cards/{token} HTTP/1.1
Host: syntch.simpay.net
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
{"MerchantKey":0,"CustomerKey":0,"CardNumber":"String","ExpirationDate":"String","CardType":"String","NameOnCard":"String","StreetAddress":"String","PostalCode":"String","Token":"String"}