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_idstringcard_<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
typestringoptionalType filter — PURCHASE / AUTHORIZATION / REFUND / REVERSAL / TOPUP / WITHDRAW / FEE
statusstringoptionalPENDING / APPROVED / 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

HTTPmessage_keyDescription
400openapi_invalid_card_idMissing or invalid card_id (required here)
400openapi_card_type_not_supportedcard_id is not a virtual card
400invalid_date_formattransaction_time_from/to not in YYYY-MM-DD HH:MM:SS
400invalid_paramsBad amount format
401openapi_invalid_credentialsAuth failure
404card_not_foundCard not found / not owned
500openapi_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 Coinepay's local ledger; it does not call the provider synchronously.

Released under MIT-equivalent terms.