For the complete documentation index, see llms.txt. This page is also available as Markdown.

SearchCardAccount

The "SearchCardAccount" endpoint allows customers to look up card-account link records in the Card Account data store using any combination of filters

GET /api/Card/v{{version}}/Interswitch/SearchCardAccount

Pass only the field(s) you intend to search by, every query parameter is optional, and the endpoint filters on whatever combination you provide.

MaskedPAN must follow the platform's masking format: the first 6 and last 4 digits of the card, with nine asterisks (*) in between (e.g. 506136*********9443).

To search for card accounts, you can pass any of the supported query parameters AccountNumber, MaskedPAN, Status, CustomerId, StartDate, EndDate, PageNumber, PageSize as needed.

A successful request returns a paginated 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 which account a card is linked to (or vice versa), letting you search across account-card links in a single call rather than cross-referencing separate account and card lookups.

Headers

Name
Value

Content-Type*

application/json

Request-Reference

unique_string

Query Params

Name
Description

AccountNumber

The account number to search by. Optional.

MaskedPAN

The card's masked PAN to search by (first 6 and last 4 digits, nine asterisks in between). Optional.

Status

The link status to filter by (e.g. Linked). Optional.

CustomerId

The customer ID to filter by. Optional.

StartDate

The start of the date range to filter by. Optional.

EndDate

The end of the date range to filter by. Optional.

PageNumber

The page number to retrieve. Optional.

PageSize

The number of records to return per page. Optional.

Here is an example request and response with a sample payload sent to the endpoint in Curl format.

Sample Request
Response: 200

Last updated