Fetch Cards By Account

This API allows you a list of all cards linked to an account.

Fetch Cards By Account

To fetch a card successfully make a POST Request to the fetch cards by account endpoint

POST /card-management/api/v1/card/fetchCardByAccount

These are the parameters of the request:

Field #Field nameData typeMax lengthRequiredDescription
1issuerNrint3trueIssuer Number e.g 2
2accountIdstring10 to 28trueAccount ID or Number

The request should look like this:

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

Response message  field description

Field #Field nameDescription
1codeInternal Response Code
2descriptionSuccessful or Error Message
3accountCustomerCardsList of Card Account Details
4errorsErrors array if any errors exist.

This is what a typical successful or failed response would look like :

{
  "code": "00",
  "description": "Successful",
  "accountCustomerCards": [
    {
      "accountId": "0002489624",
      "customerId": "20220404083650993770017",
      "pan": "5061800000000000017",
      "firstName": "JUNAID",
      "lastName": "OLORUNTOBI",
      "nameOnCard": "JUNAID OLORUNTOBI",
      "mobileNr": ""
    },
    {
      "accountId": "0002489624",
      "customerId": "20220404083650993770017",
      "pan": "5061800000000000025",
      "firstName": "JUNAID",
      "lastName": "OLORUNTOBI",
      "nameOnCard": "JUNAID OLORUNTOBI",
      "mobileNr": ""
    }
  ]
}
{
  "error": "unauthorized",
  "error_description": "Full authentication is required to access this resource"
}