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

Search

The "Search" endpoint allows customers to look up card records in the Interswitch card data store using any combination of filters

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

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. 506122*********2039).

To search for cards, you can pass any of the supported query parameters, MaskedPan, IssuanceStatus, CardType, CardScheme, Status, CardExpiry, StartDate, EndDate, PageNumber, PageSize, Direction as needed.

A successful request returns a paginated list of matching card records under data, each with the same full card profile as GetSingleCard alongside a recordCount showing the total number of matching records.

This endpoint streamlines card lookups by letting you search and filter across the entire card data store in a single call, rather than retrieving records one ID at a time.

Headers

Name
Value

Content-Type*

application/json

Request-Reference

unique_string

Query Params

Name
Description

MaskedPan

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

IssuanceStatus

The card's issuance status to filter by (e.g. Issued). Optional.

CardType

The card type to filter by (e.g. Default). Optional.

CardScheme

The card scheme to filter by (e.g. Verve). Optional.

Status

The card's status to filter by (e.g. Active). Optional.

CardExpiry

The card expiry date 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.

Direction

The sort direction for the results (e.g. Desc). 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