v8

OpenAPI 3.1.02026-08-033623795.0 MB
Cards

List Card Transactions

Lists an account's card transactions, newest first. Defaults to the account the credential belongs to. Covers every card the owner has ever had, including canceled cards and spend that predates a re-application, and team members only see transactions on the cards assigned to them. Pass transaction_ids to fetch specific transactions instead of paging for them.

get/card_transactions

Query parameters

account_idstring

The account whose card transactions to list, prefixed biz_. Defaults to the credential's account.

transaction_idsstring[]

Return only these card transactions, each prefixed citx_. Repeat the parameter, or pass one comma-separated value.

card_idstring[]

Return only transactions charged to these cards, each prefixed icrd_.

cardholder_idstring[]

Return only transactions on cards assigned to these users, each prefixed user_.

status'pending' | 'completed' | 'reversed' | 'declined'

Return only transactions with this status.

created_afterstring

Return only transactions authorized at or after this ISO 8601 timestamp.

created_beforestring

Return only transactions authorized at or before this ISO 8601 timestamp.

order'created_at'

The field to sort by. Defaults to created_at.

direction'asc' | 'desc'

The sort direction. Defaults to desc.

firstinteger

The number of card transactions to return.

afterstring

A cursor; returns card transactions after this position.

lastinteger

The number of card transactions to return, counting back from the end.

beforestring

A cursor; returns card transactions before this position.

Response

no owner passed falls back to the credential's account

Example response

{
  "data": [
    {
      "status": "pending",
      "transaction_type": "spend"
    }
  ]
}