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_idmust belong to your account and be a virtual card, otherwise404/400.- Same strict desensitization and same response shape as List Transactions.
Endpoint
| Item | Value |
|---|---|
| Method | POST |
| Path | /api/v1/openapi/card/transactions/list |
| Auth | HMAC |
| Idempotency | Not required |
Request Fields
| Field | Type | Required | Description |
|---|---|---|---|
card_id | string | ✅ | card_<id> — the card to query (must be your virtual card) |
transaction_time_from | string | optional | Start of range, YYYY-MM-DD HH:MM:SS |
transaction_time_to | string | optional | End of range, YYYY-MM-DD HH:MM:SS |
type | string | optional | Standard type filter (case-insensitive) — see Type values |
type_category | string | optional | Normalized 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 |
status | string | optional | PENDING / APPROVED (alias COMPLETED) / FAILED / REVERSED |
amount_from | string | optional | Minimum amount, e.g. "10.00" |
amount_to | string | optional | Maximum amount, e.g. "1000.00" |
merchant_name | string | optional | Merchant name (fuzzy) |
keyword | string | optional | Free-text keyword (fuzzy) |
page | int | optional | Page number (default 1) |
page_size | int | optional | Page 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.
| HTTP | code | error_key | Description |
|---|---|---|---|
| 200 | 40001 | validation_failed | Request body cannot be parsed |
| 200 | 40000 | openapi_invalid_card_id | card_id missing or malformed (expected card_<number>) |
| 200 | 40000 | openapi_card_type_not_supported | card_id points to a non-virtual card |
| 200 | 40000 | invalid_date_format | transaction_time_from/to not in YYYY-MM-DD HH:MM:SS |
| 200 | 40000 | invalid_params | Bad amount format (amount_from / amount_to) or invalid type_category |
| 401 | 40100 | openapi_invalid_credentials | Auth failure |
| 404 | 40400 | card_not_found | card_id well-formed but not found / not owned |
| 429 | 42900 | too_many_requests | Rate limit hit; honor Retry-After |
| 200 | 50000 | openapi_list_transactions_failed | Server 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_idset. Choose whichever reads clearer in your integration. - Data comes from Brand's local ledger; it does not call the provider synchronously.