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.

Transaction Endpoints

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.

Get All Transactions

Transaction Response

This is the standard shape of a transaction returned by the API.

1
transaction_idUUID

A unique identifier automatically generated by the system for each transaction. This is used to track and reference a specific transaction.

2
account_numberString

The account number associated with this transaction.

3
currencyString

The currency of the transaction (e.g., 'USDT', 'USDC', 'BTC').

4
typeString

Specifies the type of transaction performed, e.g., 'WITHDRAWAL_INITIATED', 'DEPOSIT_CONFIRMED'.

5
stateString

The current state of the transaction: 'PENDING' for in-progress, 'SETTLED' for completed transactions.

6
amountString

The transaction amount in the smallest unit of the currency. Negative values indicate debits.

7
feeString

The total fee charged for the transaction in the smallest unit.

8
referenceString

A unique reference string (system or custom-generated) used for idempotency and reliable transaction lookups.

9
idempotency_keyString

A unique key used to ensure the transaction is not duplicated on retry.

10
trade_idUUID

Identifier for an associated trade, if applicable.

11
metadataObject

Additional transaction details including hold_type, order_id, side, channel, chain, addresses, and other contextual information.

12
created_atDate

The exact timestamp (ISO 8601 format) when the transaction was first recorded in the system.

13
updated_atDate

The most recent timestamp (ISO 8601 format) when the transaction details were updated.

14
value_dateDate

The date when the transaction value is effective (YYYY-MM-DD format).

15
amount_formattedString

Human-readable formatted amount with currency symbol (e.g., '-10.0 USDT').

16
fee_formattedString

Human-readable formatted fee with currency symbol (e.g., '1.2 USDT').

17
sideString

Indicates the direction of funds — 'Credit' for incoming, 'Debit' for outgoing.

Transactions Sample Response

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.

Sample Request with Query Parameters

Get Transaction By ID Or Reference

Use Case

Retrieve a single transaction using its UUID or reference.

1
id or referenceString (UUID or Reference)Required

You can pass either the system-generated id (UUID) or your own provided reference to retrieve the transaction. Useful for tracking or verifying transactions.

Get Transaction

Path Parameters
1
idUUID or stringRequired

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.

Path Parameter

Get Transaction Sample Request By ID Or Reference

Returns a single | TransactionResponse.

Sample Request

Get Transaction By ID Sample Response
Note

The response is identical to that of Transaction Response. Refer to the Transaction Response section for field explanations.

Transaction Sample Response

Query Parameters
1
pagenumber

Specifies the current page number to retrieve in paginated results. Defaults to 1 if not provided. Useful for navigating through large datasets.

2
limit / takenumber

Defines how many transaction records to return per page. Default is 20. Helps optimize response size and manage pagination efficiently.

3
referencestring

Filter results by a specific transaction reference. Allows precise lookups of transactions using an external or internal identifier.

4
hashstring

Filter results by a blockchain transaction hash (TXID). Useful for locating onchain transactions quickly by their unique identifier.

5
actionstring

Filter by transaction action type, such as 'send', 'receive', 'fund_wallet', or 'withdraw'. Enables viewing only specific types of operations.

6
channelstring

Filter by transaction channel like 'onchain', 'lightning', or 'internal'. Helps narrow results to specific transfer technologies.

7
typestring

Transaction flow direction: 'credit' means incoming funds, 'debit' means outgoing funds. Filters results based on how funds moved.

8
statusstring

Filter by transaction status, such as 'pending', 'completed', or 'failed'. Useful for viewing only successful or failed transactions.

9
currencystring

Specify the currency to filter results, such as 'USD', 'BTC', 'USDT'. Helps isolate transactions in a specific asset or denomination.

10
bankAccountIdUUID

Filter transactions by a specific linked bank account. Useful when viewing fiat-related deposits or withdrawals tied to a given account.

11
customerReferencestring

A unique identifier for a previously registered user in your system. It could be an email address or user id.

12
walletIdUUID

Filter results to show only transactions associated with a particular wallet ID. Useful for wallet-based reporting and analysis.

13
addressstring

Filter by blockchain address involved in the transaction. Helps trace activity from or to a specific public key.

Sample Filter Payload

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.
Did you find this page useful?