v1
latestOpenAPI 3.0.22026-07-26123510445.2 KBList Balances Transactions
Returns a list of transactions that have contributed to your account balance, including charges, fees, and other adjustments. You can filter the results by specifying a time range. If no time range is provided, or only the end date is specified, the response will include transactions from the past 30 days up to today or the specified end date.
Query parameters
The maximum number of items to return per page. This number can be between 1 - 100
The page number to retrieve the next set of items. The number has to be greater than 1.
Exclusive start time used to filter by create_time. ISO 8601 format.
Exclusive end time used to filter by create_time. ISO 8601 format.
Specifies the currency for which transactions are retrieved. Currency codes follow the ISO 4217 standard.
Transaction type.
- ALL: Includes all types of financial transactions in the system.
- PAYIN: Incoming payment received from external sources.
- DEPOSIT: Funds added directly to an account through bank transfer or other means.
- PAYOUT: Outgoing payment sent to external beneficiaries.
- TRANSFER: Movement of funds between internal accounts.
- CONVERSION: Currency exchange between different currencies.
- FEE: Service charges or transaction fees.
- REFUND: Reversal of a previous payment or transaction.
- ADJUSTMENT: Manual or automated correction to account balance.
- INVOICE: Invoice transaction.
Transaction status.
- ALL: Represents all possible transaction statuses.
- COMPLETED: Transaction has been successfully processed and finalized.
- PENDING: Transaction is currently being processed and awaiting completion.
- FAILED: Transaction could not be completed due to an error or rejection.
Headers
Specifies the sub-account on whose behalf the request is made. This should be set to the account_id, which can be retrieved via the List Connected Accounts API. If omitted or empty, the request is executed using the master account. More information at Connected Accounts.
Response
OK - Balances transactions returned successfully.
Example response
{
"total_pages": 10,
"total_items": 105,
"data": [
{
"transaction_id": "5135e6cc-28b6-4889-81dc-3b86a09e1395",
"account_id": "72970a7c-7921-431c-b95f-3438724ba16f",
"balance_id": "72970a7c-7921-431c-b95f-3438724ba16f",
"transaction_type": "DEPOSIT",
"currency": "USD",
"amount": "100.02",
"credit_debit_type": "C",
"create_time": "2024-03-01T00:00:00+08:00",
"complete_time": "2024-03-01T00:00:00+08:00",
"reference_id": "b52aaed6-1274-41b8-999e-f036085a6da8",
"transaction_status": "PENDING",
"transaction_way": "API"
}
]
}