Unblock Card

This API handles requests to unblock both Debit and Prepaid Cards either through Active Active (Postilion) or Non Active Active(Postcard CMS).


Request Message description

Field #Field nameData typeMax lengthRequiredDescription
1panstring16 to 19trueCard Personal Account Number (PAN)
2seqNrstring3 to 3trueCard Sequence Number
3expiryDatestring4 to 4trueCard Expiry Date
4ridstring1 to 11falseReceiving Institution Identifier for Postilion

Request Parameters description


Parameter #Parameter NameData TypeRequiredDescription
1isActiveActivebooleantruetrue - request is routed through Postilion Service

false - request is routed through Postcard CMS

** If the application is configured to restrict non active active requests, the value provided by the client may be overridden by the system and set to true
POST /card-management/api/v1/card/unblock
Authorization = Bearer Token

Sample Request

{
  "pan": "5060990000000151002",
  "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": "[not a valid card number]",
  "errors": [
    {
      "message": "not a valid card number",
      "fieldName": "pan"
    }
  ]
}