v1

latestOpenAPI 3.0.02026-08-06112728.7 KB
Card

Get organization card transactions

Requires card.create permission. Returns merchant-facing card IDs and does not expose provider transaction IDs.

get/transactions

Query parameters

idstring required
Example:a441831c-a5c7-4bed-8f61-793738afd5bc

Internal ORGANIZATION_CARD primary key id

pageinteger
Example:1

Page number

page_sizeinteger
Example:20

Page size, max 100

Headers

Datestring

GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request.

Authorizationstring

HMAC-SHA256 Signature header. See the Authentication guide.

Response

Standard response envelope

codeinteger required

Business code. 0 means success.

messagestring required

Response message.

Example response

{
  "data": {
    "transactions": [
      {
        "card_id": "a441831c-a5c7-4bed-8f61-793738afd5bc",
        "type": "Consume",
        "amount": "12.34",
        "fee": "0.12",
        "status": "Completed",
        "currency": "USD",
        "merchant": "Example Store",
        "transaction_time": 1710000000,
        "transaction_currency": "EUR",
        "transaction_amount": "11.20",
        "created_at": 1710000001,
        "updated_at": 1710000002,
        "settled_at": 1710000003
      }
    ],
    "total": 1,
    "page": 1,
    "page_size": 20,
    "total_pages": 1
  }
}