Transactions
Operations related to transactions
All endpoints require a JWT Bearer token in the Authorization header; most also require an API key in the X-API-KEY header.
GET /v1/transactions
Get a list of transactions with pagination
Parameters
Name | In | Type | Required | Description |
|---|---|---|---|---|
| query |
| Yes | Maximum number of records to return. Starts from 1 to 1000. |
| query |
| Yes | Page number to retrieve, starting from 0. |
| query |
| No | Choose specific fields to include in the response (comma-separated). If provided, excludeFields will be ignored. |
| query |
| No | Exclude specific fields from the response (comma-separated). |
| query |
| No | JSON object representing filter criteria in MongoDB Query Language (MQL) format. |
| query |
| No | JSON object representing sort criteria in MongoDB Query Language (MQL) format. |
| query |
| No | Include related data in query results using a JSON object. |
Responses
Status | Description |
|---|---|
| Successfully retrieved a paginated list of transactions. |
GET /v1/transactions/{id}
Get a specific transaction by ID
Parameters
Name | In | Type | Required | Description |
|---|---|---|---|---|
| path |
| Yes | The transactionId field |
| query |
| No | Choose specific fields to include in the response (comma-separated). If provided, excludeFields will be ignored. |
| query |
| No | Exclude specific fields from the response (comma-separated). |
| query |
| No | Include related data in query results using a JSON object. |
Responses
Status | Description |
|---|---|
| Transaction details retrieved successfully |
PATCH /v1/transactions/{id}
Update a transaction's customFields
Parameters
Name | In | Type | Required | Description |
|---|---|---|---|---|
| path |
| Yes | The transactionId field |
Request body (required)
Field | Type | Required | Description |
|---|---|---|---|
|
| Yes | Custom fields to store on the transaction. On update: arrays are merged by label (incoming labels overwrite existing; new labels append). Passing an empty array for a field resets that list to empty. |
Responses
Status | Description |
|---|---|
| Transaction updated successfully |
Examples
GET /v1/transactions
First page of USD transactions, newest first:
Response 200 (illustrative):
GET /v1/transactions/{id}
Response 200: the transaction object.
PATCH /v1/transactions/{id}
Response 200: the updated transaction object.