Skip to main content
GET
List card transactions

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

Pass the opaque value returned in metadata.nextCursor without changing the other query parameters.

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.