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
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
Content-Type*
application/json
Request-Reference
unique_string
Query Params
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.
Last updated