Transactions
The Transactions API provides access to your transaction history and account balances. Use these endpoints to retrieve detailed records of all financial activities including deposits, withdrawals, and transfers as well as realtime balance across supported currencies.
Get All Transactions
Use Case
This endpoint retrieves a paginated list of transactions, with support for filtering via query parameters. It is commonly used to list transaction histories, audit flows, or search for specific transactions across various dimensions.
Transaction Response
This is the standard shape of a transaction returned by the API.
A unique identifier automatically generated by the system for each transaction. This is used to track and reference a specific transaction.
The account number associated with this transaction.
The currency of the transaction (e.g., 'USDT', 'USDC', 'BTC').
Specifies the type of transaction performed, e.g., 'WITHDRAWAL_INITIATED', 'DEPOSIT_CONFIRMED'.
The current state of the transaction: 'PENDING' for in-progress, 'SETTLED' for completed transactions.
The transaction amount in the smallest unit of the currency. Negative values indicate debits.
The total fee charged for the transaction in the smallest unit.
A unique reference string (system or custom-generated) used for idempotency and reliable transaction lookups.
A unique key used to ensure the transaction is not duplicated on retry.
Identifier for an associated trade, if applicable.
Additional transaction details including hold_type, order_id, side, channel, chain, addresses, and other contextual information.
The exact timestamp (ISO 8601 format) when the transaction was first recorded in the system.
The most recent timestamp (ISO 8601 format) when the transaction details were updated.
The date when the transaction value is effective (YYYY-MM-DD format).
Human-readable formatted amount with currency symbol (e.g., '-10.0 USDT').
Human-readable formatted fee with currency symbol (e.g., '1.2 USDT').
Indicates the direction of funds — 'Credit' for incoming, 'Debit' for outgoing.
Transaction Sample Request with Query Parameters
Use the query parameters to filter and paginate through the list of transactions. This request retrieves the first page (page=1) with a limit of 10 transactions (limit=10) and filters for only successful credit transactions.
Get Transaction By ID Or Reference
Use Case
Retrieve a single transaction using its UUID or reference.
You can pass either the system-generated id (UUID) or your own provided reference to retrieve the transaction. Useful for tracking or verifying transactions.
Path Parameters
A unique identifier used to fetch the transaction details. This can either be the system-generated UUID or a custom reference string provided during transaction creation. It helps ensure idempotency and traceability of transactions.
Get Transaction Sample Request By ID Or Reference
Returns a single | TransactionResponse.
Get Transaction By ID Sample Response
The response is identical to that of Transaction Response. Refer to the Transaction Response section for field explanations.
Query Parameters
Specifies the current page number to retrieve in paginated results. Defaults to 1 if not provided. Useful for navigating through large datasets.
Defines how many transaction records to return per page. Default is 20. Helps optimize response size and manage pagination efficiently.
Filter results by a specific transaction reference. Allows precise lookups of transactions using an external or internal identifier.
Filter results by a blockchain transaction hash (TXID). Useful for locating onchain transactions quickly by their unique identifier.
Filter by transaction action type, such as 'send', 'receive', 'fund_wallet', or 'withdraw'. Enables viewing only specific types of operations.
Filter by transaction channel like 'onchain', 'lightning', or 'internal'. Helps narrow results to specific transfer technologies.
Transaction flow direction: 'credit' means incoming funds, 'debit' means outgoing funds. Filters results based on how funds moved.
Filter by transaction status, such as 'pending', 'completed', or 'failed'. Useful for viewing only successful or failed transactions.
Specify the currency to filter results, such as 'USD', 'BTC', 'USDT'. Helps isolate transactions in a specific asset or denomination.
Filter transactions by a specific linked bank account. Useful when viewing fiat-related deposits or withdrawals tied to a given account.
A unique identifier for a previously registered user in your system. It could be an email address or user id.
Filter results to show only transactions associated with a particular wallet ID. Useful for wallet-based reporting and analysis.
Filter by blockchain address involved in the transaction. Helps trace activity from or to a specific public key.
Transaction Types & States
Understanding the different transaction types and states helps you accurately track and reconcile financial activity in your system.
Transaction Types
The type field indicates the nature of the transaction. Possible values:
type | description |
|---|---|
DEPOSIT_CONFIRMED | An inbound deposit has been confirmed on-chain and credited to the account. |
DEPOSIT_DETECTED | An inbound deposit has been detected on-chain but not yet confirmed. |
DEPOSIT_PENDING | An inbound deposit is pending confirmation. |
WITHDRAWAL_INITIATED | An outbound withdrawal has been initiated and is being processed. |
WITHDRAWAL_FAILED | An outbound withdrawal has failed during processing. |
P2P_TRANSFER | A peer-to-peer transfer between accounts within the system. |
SWAP_INTERNAL | An internal swap or exchange between currencies. |
FX_REBALANCING | A foreign exchange rebalancing transaction. |
FEE_ONLY | A transaction representing only fee charges. |
REVERSAL | A reversal of a previous transaction. |
Transaction States
The state field indicates the current status of the transaction. Possible values:
state | description |
|---|---|
PENDING | The transaction has been created and is awaiting processing. |
IN_PROGRESS | The transaction is currently being processed. |
SETTLED | The transaction has been completed successfully. |
FAILED | The transaction has failed and will not be processed. |
REVERSED | The transaction has been reversed. |