Download OpenAPI specification:Download
The transactions API lets you view your transactions, accounts, and statements.
This endpoint lists all settled transactions for all card accounts. Regular users may only fetch their own "PURCHASE","REFUND" and "CHARGEBACK" settled transactions.
cursor | string or null |
limit | integer or null <int32> |
user_ids | Array of strings or null |
posted_at_start | string or null <date-time> Shows only transactions with a Example: posted_at_start=2022-12-12T23:59:59.999 |
expand[] | Array of strings or null
|
listPrimaryCardTransactions 200 response
Bad request
Unauthorized
Forbidden
{- "next_cursor": "string",
- "items": [
- {
- "id": "string",
- "card_id": "string",
- "description": "string",
- "amount": {
- "amount": 0,
- "currency": "string"
}, - "initiated_at_date": "2019-08-24",
- "posted_at_date": "2019-08-24",
- "type": "PURCHASE",
- "merchant": {
- "raw_descriptor": "string",
- "mcc": "string",
- "country": "string"
}, - "card_metadata": {
- "property1": "string",
- "property2": "string"
}, - "expense_id": "string"
}
]
}
This endpoint lists all transactions for the cash account with the selected ID.
cursor | string or null |
limit | integer or null <int32> |
posted_at_start | string or null <date-time> Shows only transactions with a Example: posted_at_start=2022-12-12T23:59:59.999 |
listCashTransactions 200 response
Bad request
Unauthorized
Forbidden
{- "next_cursor": "string",
- "items": [
- {
- "id": "string",
- "description": "string",
- "amount": {
- "amount": 0,
- "currency": "string"
}, - "initiated_at_date": "2019-08-24",
- "posted_at_date": "2019-08-24",
- "type": "PAYMENT",
- "transfer_id": "string"
}
]
}
This endpoint lists all accounts of card type.
listCardAccounts 200 response
Bad request
Unauthorized
Forbidden
[- {
- "id": "string",
- "status": "ACTIVE",
- "current_balance": {
- "amount": 0,
- "currency": "string"
}, - "available_balance": {
- "amount": 0,
- "currency": "string"
}, - "account_limit": {
- "amount": 0,
- "currency": "string"
}, - "current_statement_period": {
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
}
]
This endpoint lists all finalized statements for the primary card account.
listPrimaryCardStatements 200 response
Bad request
Unauthorized
Forbidden
{- "next_cursor": "string",
- "items": [
- {
- "id": "string",
- "start_balance": {
- "amount": 0,
- "currency": "string"
}, - "end_balance": {
- "amount": 0,
- "currency": "string"
}, - "period": {
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
}
]
}
This endpoint lists all the existing cash accounts with their status.
listAccounts 200 response
Bad request
Unauthorized
Forbidden
{- "next_cursor": "string",
- "items": [
- {
- "id": "string",
- "name": "string",
- "status": "ACTIVE",
- "current_balance": {
- "amount": 0,
- "currency": "string"
}, - "available_balance": {
- "amount": 0,
- "currency": "string"
}, - "account_number": "string",
- "routing_number": "string",
- "primary": true
}
]
}
This endpoint returns the primary cash account with its status. There will always be only one primary account.
getPrimaryAccount 200 response
Bad request
Unauthorized
Forbidden
{- "id": "string",
- "name": "string",
- "status": "ACTIVE",
- "current_balance": {
- "amount": 0,
- "currency": "string"
}, - "available_balance": {
- "amount": 0,
- "currency": "string"
}, - "account_number": "string",
- "routing_number": "string",
- "primary": true
}
This endpoint returns the cash account associated with the provided ID with its status.
getAccount 200 response
Bad request
Unauthorized
Forbidden
{- "id": "string",
- "name": "string",
- "status": "ACTIVE",
- "current_balance": {
- "amount": 0,
- "currency": "string"
}, - "available_balance": {
- "amount": 0,
- "currency": "string"
}, - "account_number": "string",
- "routing_number": "string",
- "primary": true
}
This endpoint lists all finalized statements for the cash account by ID.
listCashStatements 200 response
Bad request
Unauthorized
Forbidden
{- "next_cursor": "string",
- "items": [
- {
- "id": "string",
- "start_balance": {
- "amount": 0,
- "currency": "string"
}, - "end_balance": {
- "amount": 0,
- "currency": "string"
}, - "period": {
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
}
]
}