Skip to main content

List cards

GET 

/api/accounts/:accountId/cards

Lists cards by account.

This API uses cursor-based pagination. Start by making a request without a cursor to get the first page. Use the nextCursor from the pageInfo in the response as the cursor for subsequent requests to retrieve further pages. Continue until nextCursor is undefined, indicating no more data.

Request

Path Parameters

    accountId stringrequired

    AccountId linked to transactions

Query Parameters

    limit number

    Number of records to return

    cursor string

    Cursor to retrieve the next page of records

    excludeExpired boolean

    Filter by expiry state

    status string

    Possible values: [created, active, cancelled, shipped]

    Filter by card status

    expiresAfter string

    Timestamp to filter out cards with an expiration date after the given time. Value should be an ISO 8601 string or RFC 2822 string. excludeExpired must be false

Responses

Successful operation

Schema

    items

    object[]

  • Array [

  • id stringrequired

    Card primary identifier

    accountId stringrequired

    User account ID linked to card

    type stringrequired

    Possible values: [virtual]

    Type of the card

    createdAt stringrequired

    Timestamp of card creation

    modifiedAt stringrequired

    Timestamp of card modification

    expiresAt stringrequired

    Timestamp of card expiration

    isBlocked booleanrequired

    Whether the card is blocked

    status stringrequired

    Possible values: [active, cancelled, created, shipped]

    Status of the card

    fundingSourceIds arrayrequired

    List of Funding Source IDs linked to the card

    expiry string

    Expiry date of the card

    currency string

    The currency of this card

    panFirst6 string

    First 6 digits of the card's PAN (Primary Account Number)

    panLast4 string

    Last 4 digits of the card's PAN (Primary Account Number)

    immersveExpiration string

    Deprecated field, use expiresAt

    lockedFundAmount string

    Legacy cards only. An integer in the smallest denomination for the given currency

    lockedFundCurrency string

    Legacy cards only. Currency used to lock funds on card creation

    fundingWallet string

    Legacy cards only. Address of the wallet used to fund the card

  • ]

  • pageInfo

    object

    Page info for paginated results, undefined if no page info

    nextCursor string

    Cursor for next page, undefined if no more pages

Loading...