Validate Card
This API validates that a card that matches the supplied card details exits on postcard.
Request Message description
Field # | Field name | Data type | Max length | Required | Description |
---|---|---|---|---|---|
1 | issuerNr | int | 3 | true | Issuer Number e.g 2 |
2 | accountId | string | 10 to 28 | true | Account ID or Number |
3 | panLast4Digits | string | 4 | true | last 4 digits of the card number |
4 | pinBlock | string | 16 to 32 | true | DES encrypted pin |
5 | expiryDate | string | 4 | true | Card expiry date |
POST /card-management/api/v1/card/validate
Authorization = Bearer Token
Sample Request
{
"issuerNr": 2,
"accountId": "5612330000000029825",
"panLast4Digits": "9825",
"pinBlock": "DDD6ED826C02FAFB",
"expiryDate": "5003"
}
Response Message field description
Field # | Field name | Description |
---|---|---|
1 | code | Internal Response Code |
2 | description | Successful or Error Message |
Sample Response (success)
{
"code": "00",
"description": "Validation Successful: Card Found",
"correlationId": "846192be80274cfea202f91e99907d77"
}
Sample Response (failure)
{
"code": "00",
"description": "Validation Successful: Card Found",
"correlationId": "846192be80274cfea202f91e99907d77"
}
Updated 8 months ago