Block Prepaid Card

This API handles requests to block Prepaid Cards.


Request Message description

Field #Field nameData typeMax lengthRequiredDescription
1panstring16 to 19trueCard Personal Account Number (PAN)
2holdRspCodestring2 to 2trueHold Response Code. (Default Codes are 41 for Lost Card, 43 for Stolen Card, 45 for Account Closed and 01 for Refer to Card Issuer.)
3seqNrstring3 to 3trueCard Sequence Number
4expiryDatestring4 to 4trueCard Expiry Date

POST /card-management/api/v1/card/prepaid/block
Authorization = Bearer Token

Sample Request

{
  "pan": "5060990000000151002",
  "holdRspCode": "41",
  "seqNr": "001",
  "expiryDate": "5004"
}

Response Message  field description


Field #Field nameDescription
1codeInternal Response Code
2descriptionSuccessful or Error Message
3correlationIdRequest identifier
4errorsErrors array if any errors exists.

Sample Response (success)

{
  "code": "00",
  "description": "Successful",
  "correlationId": "5daa9a3f6ce9497d84c559aea9f924b3"
}

Sample Response (failure)

{
  "code": "400",
  "description": "[required, length must be 2]",
  "errors": [
    {
      "message": "required",
      "fieldName": "holdRspCode"
    },
    {
      "message": "length must be 2",
      "fieldName": "holdRspCode"
    }
  ]
}