Fetch Customer Card Details By Account

In addition to the card details returned by the /fetchCardByAccount endpoint, the card details returned in this endpoint include the expiry date and sequence number.

Request Message description

Field #Field nameData typeMax lengthRequiredDescription
1issuerNrstring3trueIssuer Number e.g 2
2accountIdstring10 to 28trueAccount ID or Number
POST /card-management/api/v1/card/account/customer/cards
Authorization = Bearer Token

Sample Request

{
  "issuerNr": 2,
  "accountId": "0123456789"
}

Response Message  field description


Field #Field nameDescription
1codeInternal Response Code
2descriptionSuccessful or Error Message
3detailedaccountCustomerCardsList of customer and card Details linked to the specified account ID
4errorsErrors array if any errors exists.

Sample Response (success)

{
    "code": "00",
    "description": "Successful",
    "detailedAccountCustomerCards": [
        {
            "accountId": "0002489624",
            "customerId": "20230122193705443677630",
            "pan": "5060990000000047630",
            "firstName": "DAMILOLA",
            "lastName": "ODUNBAKU",
            "nameOnCard": "DAMILOLA ODUNBAKU",
            "mobileNr": "",
            "seqNr": "001",
            "expiryDate": "5004"
        },
        {
            "accountId": "0002489624",
            "customerId": "20230122193705443677630",
            "pan": "5060990000000047648",
            "firstName": "DAMILOLA",
            "lastName": "ODUNBAKU",
            "nameOnCard": "DAMILOLA ODUNBAKU",
            "mobileNr": "",
            "seqNr": "001",
            "expiryDate": "5004"
        },
        {
            "accountId": "0002489624",
            "customerId": "20230122193705443677630",
            "pan": "5060990000000047655",
            "firstName": "DAMILOLA",
            "lastName": "ODUNBAKU",
            "nameOnCard": "DAMILOLA ODUNBAKU",
            "mobileNr": "",
            "seqNr": "001",
            "expiryDate": "5004"
        },
        {
            "accountId": "0002489624",
            "customerId": "20230122193705443677630",
            "pan": "5060990000000047663",
            "firstName": "DAMILOLA",
            "lastName": "ODUNBAKU",
            "nameOnCard": "DAMILOLA ODUNBAKU",
            "mobileNr": "",
            "seqNr": "001",
            "expiryDate": "5004"
        }
    ]
}

Sample Response (failure)

{
    "code": "10404",
    "description": "No customer and no card records found",
    "correlationId": "6a78c7e6aed24f689f5880ca24904c26"
}