Card Inquiry
(POST /card)
Payload
- token (string): Card identifier
359ef8ce5c5f4003b71692e446908c27
Request example
{
"key": "589365da65c48cff87d0874a",
"resource": "359ef8ce5c5f4003b71692e446908c27",
"nonce": "1234567890",
"mode": "sha256",
"payload": {
"token": "359ef8ce5c5f4003b71692e446908c27"
}
}
Success - 0 - card
- code (string): Internal operation code. Refer to Response Codes
0
- card_mask (string): Masked card number
6712 00** ****0205
- expired_at (string): Expiration date
2017-02-27
- token (string): Card identifier
359ef8ce5c5f4003b71692e446908c27
Response example
{
"type": "success",
"code": "0",
"detail": "card",
"description": "",
"uuid": "2df61337-c0c5-4b90-ab8c-6098c8b118ce",
"request_id": "5901ba6d7710014a2c89",
"payload": {
"card_mask": "6712 00** **** 0205",
"code": "0",
"expired_at": "2017-12-31",
"token": "359ef8ce5c5f4003b71692e446908c27"
}
}
Error -1: card_error
- code (string): Internal operation code. Refer to Response Codes
0
- card_mask (string): Masked card number
6712 00** ****0205
- expired_at (string): Expiration date
2017-02-27
- token (string): Identifier of the card
359ef8ce5c5f4003b71692e446908c27
Response example -1
{
"type": "error",
"code": "-1",
"detail": "card_error",
"description": "",
"uuid": "2df61337-c0c5-4b90-ab8c-6098c8b118ce",
"request_id": "5901ba6d7710014a2c89",
"payload": {
"card_mask": "6712 00** **** 0205",
"code": "-1004",
"expired_at": "2017-12-31",
"token": "359ef8ce5c5f4003b71692e446908c27"
}
}