Skip to content

List Card Transactions ​

Returns transaction details for a single virtual card, with pagination and the same filters as List Transactions. The only difference: card_id is required and results are scoped to that one card.

  • card_id must belong to your account and be a virtual card, otherwise 404 / 400.
  • Same strict desensitization and same response shape as List Transactions.

Endpoint ​

ItemValue
MethodPOST
Path/api/v1/openapi/card/transactions/list
AuthHMAC
IdempotencyNot required

Request Fields ​

FieldTypeRequiredDescription
card_idstring✅card_<id> — the card to query (must be your virtual card)
transaction_time_fromstringoptionalStart of range, YYYY-MM-DD HH:MM:SS
transaction_time_tostringoptionalEnd of range, YYYY-MM-DD HH:MM:SS
typestringoptionalStandard type filter (case-insensitive) — see Type values
type_categorystringoptionalNormalized category filter (v1.5), case-sensitive — consumption / refund / reversal / topup / fee / close / transfer / withdraw / interest / 3ds. Combined with type, both must match. Invalid value → 40000 invalid_params
statusstringoptionalPENDING / APPROVED (alias COMPLETED) / FAILED / REVERSED
amount_fromstringoptionalMinimum amount, e.g. "10.00"
amount_tostringoptionalMaximum amount, e.g. "1000.00"
merchant_namestringoptionalMerchant name (fuzzy)
keywordstringoptionalFree-text keyword (fuzzy)
pageintoptionalPage number (default 1)
page_sizeintoptionalPage size (default 20, max 100)

Example Request ​

json
{
  "card_id": "card_12345",
  "type": "PURCHASE",
  "page": 1,
  "page_size": 50
}

Response ​

Identical to List Transactions — a paginated envelope whose list items are transaction objects. See that page for the full field table, type values, categories, and the example payload. Every returned row belongs to the requested card_id.

Common Errors ​

Check code first (0 = success) — business errors come back with HTTP 200 — and branch on error_key.

HTTPcodeerror_keyDescription
20040001validation_failedRequest body cannot be parsed
20040000openapi_invalid_card_idcard_id missing or malformed (expected card_<number>)
20040000openapi_card_type_not_supportedcard_id points to a non-virtual card
20040000invalid_date_formattransaction_time_from/to not in YYYY-MM-DD HH:MM:SS
20040000invalid_paramsBad amount format (amount_from / amount_to) or invalid type_category
40140100openapi_invalid_credentialsAuth failure
40440400card_not_foundcard_id well-formed but not found / not owned
42942900too_many_requestsRate limit hit; honor Retry-After
20050000openapi_list_transactions_failedServer error

Notes ​

  • This endpoint is a convenience wrapper for the common "show me one card's history" case; functionally it equals List Transactions with card_id set. Choose whichever reads clearer in your integration.
  • Data comes from Brand's local ledger; it does not call the provider synchronously.

Released under MIT-equivalent terms.