Skip to navigation

List all transactions

Lists the account holder’s transactions, newest transactedAt first. Without type, the list holds card transactions, on issued and external cards, and reimbursements; ask for money movement by type. A type of money movement needs the permission that also reads it elsewhere: transfers:read for transfers, wires, rewards transfers and charge repayments, payments:read for payments, inbound funds, payment refunds and fees, and financialAccounts:read for rewards accruals, balance transfers and rewards redemptions. Without it the request is refused with PERMISSION_DENIED.

Filters combine with AND; repeat type, status, statusDetail or cardType to match any of the values. A cardId or userId outside the account holder returns an empty page. A page can hold fewer than limit transactions, even none, while pageInfo.hasNextPage is true; keep reading until it is false.

Authentication

AuthorizationBearer

Access token from POST /access-token. Valid for at most 30 minutes.

Headers

Account-HolderstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters

The account holder a platform API key acts on. Platform keys must send it on account holder operations. A company API key acts on its own account holder; it may omit the header or send its own account holder ID.

X-Request-IdstringOptionalformat: "^[A-Za-z0-9._:-]+$"1-128 characters

Your own correlation ID for this request. It is recorded with the request. The X-Request-Id response header is always generated by the server.

Query parameters

limitintegerOptional1-200Defaults to 25
The most transactions to return, from 1 to 200.
afterstringOptional1-2048 characters

The pageInfo.endCursor of the previous page. A cursor is valid for 24 hours, for the same request filters and the same API credential owner and account holder.

cardIdstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters
Only transactions made with this card.
userIdstringOptionalformat: "^[A-Za-z0-9_-]+$"1-128 characters
Only transactions of this user, made with their cards or paid to them.
typelist of enumsOptional
Only transactions of these types. Repeat the parameter for more than one. Without it, the list holds card transactions and reimbursements.
statuslist of enumsOptional
Only transactions in these statuses. Repeat the parameter for more than one.
Allowed values:
statusDetaillist of enumsOptional
Only transactions with these status details. Repeat the parameter for more than one.
personalbooleanOptional

true for personal expenses only, false to leave them out.

cardTypelist of enumsOptional
Only transactions made with cards of these types. Repeat the parameter for more than one.
Allowed values:
searchstringOptional1-256 characters

Only transactions whose text has every word, case-insensitive. The text holds the merchant and its location, the user’s name, the card’s nickname and last 4, the category, the allocation, the document number, the memo, the description and statusDetail. Put a phrase in double quotes to match it whole, and prefix a word with - to leave out transactions that have it. Dates and amounts are refused: use transactedAt.gte, transactedAt.lt, amount.gte and amount.lte.

amount.gteintegerOptional-9007199254740991-9007199254740991

Only transactions whose signed amount.value is at least this, in minor units.

amount.lteintegerOptional-9007199254740991-9007199254740991

Only transactions whose signed amount.value is at most this, in minor units. Spend is negative, so amount.lte=-10000 finds spend of 100.00 USD or more.

transactedAt.gtedatetimeOptional

Only transactions at or after this instant, to the millisecond, with Z or an offset (send + as %2B).

transactedAt.ltdatetimeOptional

Only transactions before this instant, to the millisecond, with Z or an offset (send + as %2B).

extendlist of enumsOptional

Members to add to each transaction. user needs the users:read permission.

Allowed values:

Response headers

X-Request-Idstringformat: "uuid"
Unique ID of this request. Quote it when you contact support.
RateLimitstringOptional

Remaining budget for each rate limit policy, for example "burst"; r=57; t=6 (requests remaining and seconds until the window resets).

RateLimit-PolicystringOptional

The rate limit policies applied to this request, for example "burst"; q=60; w=10 (requests allowed per window of seconds).

Response

A page of transactions.
datalist of objects
The transactions on this page.
pageInfoobject

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error