Validate Card

This API validates that a card that matches the supplied card details exits on postcard.

Request Message description

Field #Field nameData typeMax lengthRequiredDescription
1issuerNrint3trueIssuer Number e.g 2
2accountIdstring10 to 28trueAccount ID or Number
3panLast4Digitsstring4trueLast 4 Digits of the Card Number
4pinBlockstring16 to 32truePin Encrypted with Card 360 Public key. See the encryption method in Card PIN Encryption and Decryption
5expiryDatestring4trueCard 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 nameDescription
1codeInternal Response Code
2descriptionSuccessful 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"
}