Get Failed Transactions

Allowed Scopes: experimental:transaction:read
Returns declined card transactions for the authenticated company, covering the last 30 days when startDate is omitted (even when endDate is set — an endDate older than 30 days without startDate returns nothing) — pass startDate to reach further back; there is no hard window. Not paginated: the full matching result set is returned in one call. For settled transactions, use GET /v1/transactions/successful instead; for a complete view across both statuses in a period, call both endpoints and merge the results. merchantName here is the raw card-network transaction descriptor — it is not directly comparable to merchantName on successful transactions, which is derived from the linked supplier instead. createdAt reflects when the declined transaction was recorded — unlike on successful transactions, where createdAt reflects the settlement date rather than authorization time. CURRENCY WARNING: amountBilled is in currencyBilled, the currency of the card the payment was attempted on; amountDeclared is in currencyDeclared, the transaction's own spending currency, which varies per record — avoid summing amounts across records with different currencies.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
date
^\d{4}-\d{2}-\d{2}$

Return transactions on or after this date (YYYY-MM-DD).

date
^\d{4}-\d{2}-\d{2}$

Return transactions on or before this date (YYYY-MM-DD), inclusive of the full day.

string

Filter by user ID.

string

Filter by card ID.

Headers
string

ID of the company the request acts on. Required with an organisation-level token; not needed with a company-level token.

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json