Skip to main content
GET
List card transactions
Only card activity is returned; use the card-specific filters to narrow by card, card group, processor authorization, or authorization time.

Authorizations

X-API-Key
string
header
required

User API key authentication. Create a key under Settings → API keys in the Slash dashboard (https://app.slash.com/global-settings/api-keys) and send the x-legal-entity header naming the legal entity to act on with every request. Keys scoped to a legal entity are rejected with 403 user_api_key_required.

Headers

The legal entity to act on. Required on every request; a user API key can act on any legal entity its user has access to.

Pattern: ^le_[a-zA-Z0-9]+$

Query Parameters

cursor
string

The opaque metadata.nextCursor value from the previous page. It carries that page's filters, page size and ordering, so pass it on its own; see Pagination.

limit
integer

Number of items per page, from 1 to 100. The page size is carried inside metadata.nextCursor, so later pages keep the same size unless limit is passed again to change it.

Required range: 1 <= x <= 100
sort
enum<string>
default:date

Field to order the page by. Each value has its own default direction, used unless sortDirection is passed. See Sorting.

  • date (default) — the transaction's date (the posting date, or the creation date while pending or failed); descending
  • authorizedAt — the card authorization time; descending
Available options:
date,
authorizedAt
sortDirection
enum<string>

Direction of the ordering selected by sort. When omitted, each sort value uses its own default; see Sorting.

Available options:
asc,
desc
accountId
string

Return activity for one accessible Account.

virtualAccountId
string

Return card transactions associated with one accessible virtual account. Transactions without a virtual-account association do not match.

status
enum<string>

Return card transactions with this broad accounting status. Coarse transaction state.

Available options:
pending,
posted,
failed
detailedStatus
enum<string>

Return card transactions in this exact lifecycle state. Exact lifecycle state of a card transaction.

Available options:
pending,
canceled,
failed,
settled,
declined,
refund,
reversed,
dispute
from
string<date-time>

Inclusive RFC 3339 lower bound on transaction date.

to
string<date-time>

Inclusive RFC 3339 upper bound on transaction date.

cardId
string

Return transactions for one card.

cardGroupId
string

Return transactions for cards in one card group.

providerAuthorizationId
string

Return the transaction with this processor authorization id.

authorizedFrom
string<date-time>

Inclusive RFC 3339 lower bound on authorization time.

authorizedTo
string<date-time>

Inclusive RFC 3339 upper bound on authorization time.

includeSummary
boolean
default:false

Include totals across the complete filtered result, not only this page.

Response

A page of card transactions.

items
TransactionCard · object[]
required
metadata
PaginationMetadata · object
required
summary
TransactionSummary · object

Totals over every transaction matching the request's filters, not just the returned page. Present only when includeSummary=true.