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 | Pin Encrypted with Card 360 Public key. See the encryption method in Card PIN Encryption and Decryption |
5 | expiryDate | string | 4 | true | Card Expiry Date |
POST /card-management/api/v1/card/validate
Authorization = Bearer Token
Sample Request
{
"issuerNr": 2,
"accountId": "1009348562",
"panLast4Digits": "8231",
"pinBlock": "8ac9e0471ca70b85ff7d71cfecb54f890df280895ade58bb06bbd6cef490f4086eacb34082ecbda16bf18e190ae8b1a436ddbd922405524122c67107c54af7ec0cbfd220a69dc7c0853cf83c525b5709205c8f127d91843e465bec7e607f23f08f9859aee6c47ab008085b8032fa7bd5625a957e5da35d72c44638eef9c4f3b61104de8e240499c7093c0a143bf35d2f621518d4b616bb6e25422d4b7ab96a03a33bb835e5db39e130d05420b37fe5e4f554d0aa3e4cd35b7d8cbe68a84734b664e2dd4321b5b3a7e177719abe474ea8b584644220b45bf4cd44419c602dda95c358e889af910287b57fbc25ed0b3c10d80fb64ec24ccfd94178d47cc7e484c1",
"expiryDate": "5004"
}
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": "10404",
"description": "Validation failed: No card found",
"correlationId": "fc7d5826025a49b5800997c4e93563ab"
}
Updated about 11 hours ago