latestOpenAPI 3.0.12026-08-0881518.6 KB

df876833c130

Transactions

List transactions for all card accounts.

This endpoint lists all settled transactions for all card accounts. Regular users may only fetch their own "PURCHASE","REFUND" and "CHARGEBACK" settled transactions.

get/v2/transactions/card/primary

Query parameters

cursorstring nullable
limitinteger nullable
user_idsstring[] nullable
posted_at_startstring date-time nullable

Shows only transactions with a posted_at_date on or after this date-time. This parameter is the date-time notation as defined by RFC 3339, section 5.6

expand[]string[] nullable

expense_id can be passed to expand[] query parameter to get expanded, e.g., ?expand[]=expense_id.

Response

Returns a list of card transactions.

next_cursorstring nullable

Example response

{
  "items": [
    {
      "amount": {
        "amount": 700,
        "currency": "USD"
      }
    }
  ]
}