GetCardAccountByCustomerId
The "GetCardAccountByCustomerId" endpoint allows customers to retrieve all card records tied to a particular customer, regardless of the account they're linked to.
GET /api/Card/v{{version}}/Interswitch/GetCardAccountByCustomerId
To retrieve a customer's card records, you need to provide the customerId as a query parameter. A successful request returns a list of matching card-account records under data, each showing the account-side details (accountNumber, nameOnCard, customerId) alongside the full linked card profile in a nested card object, plus a recordCount showing the total number of matching records.
This endpoint streamlines the process of finding every card belonging to a customer in a single call, useful for a full customer-level card view rather than looking up cards one account at a time.
Headers
Content-Type*
application/json
Request-Reference
unique_string
Query Params
customerId
The ID of the customer to retrieve card records for.
Here is an example request and response with a sample payload sent to the endpoint in Curl format.
Last updated