Get PAN will return the PAN and CVC value of the card.
Card code
| Variable | Name | Type | Format | Usage | Description |
|---|---|---|---|---|---|
| card_code | card_code | string | Card code |
{
"card_code": "CARD00000H8"
}
200 - Response with error when status is ERROR
| Variable | Name | Type | Format | Description |
|---|---|---|---|---|
| status | status | string | Request execution status | |
| error_description | Error Description | string | Description of error | |
| error | Error Code | string | Error code | |
| data_type | data_type | string | Type of data | |
| total_records | total_records | string | Total count of records | |
| data | data | object | Empty object |
{
"status": "error",
"error_description": "[ERROR-REST-INVOKE : \"ERROR-REST-VALIDATE-REQUEST\" \"ERROR-VALIDATE-CARD-REQUEST\" \"ERROR-VALIDATE-CARD : Card CARD0000H8 not found\"]",
"error": {},
"data_type": "",
"total_records": -2,
"data": {}
}
200 - Response successfully when status is OK
| Variable | Name | Type | Format | Description |
|---|---|---|---|---|
| status | status | string | Request execution status | |
| error_description | Error Description | string | Description of error | |
| error | Error Code | string | Error code | |
| data_type | data_type | string | Type of data | |
| total_records | total_records | string | Total count of records | |
| data | data | object | data of Response |
| Variable | Name | Type | Format | Description |
|---|---|---|---|---|
| cvv | Cvv | string | ||
| emboss_name | Emboss name | string | ||
| expiry_date | Expiry date | string | ||
| pan | Pan | string |