Skip to main content
POST
Create transaction

Authorizations

X-API-Key
string
header
required

Your organization API key. Some operations also need a key that is associated with a user; their pages say so.

Headers

Idempotency-Key
string
required

Unique key for this operation. Retry with the same key and request body after a timeout. Keys are retained for at least 24 hours.

Required string length: 1 - 255

Body

application/json
source_id
string
required

Source ID (src_…).

Example:

"src_507f1f77bcf86cd799439011"

Legal entity ID (le_…).

Example:

"le_507f1f77bcf86cd799439011"

timestamp
string<date-time>
required

ISO 8601 UTC timestamp.

Example:

"2026-08-31T12:00:00Z"

description
string
required

Event narrative.

Required string length: 1 - 500
Example:

"Customer deposit"

direction
enum<string>
required

Movement direction relative to the source; not accounting classification.

Available options:
debit,
credit
currency
string
required

Fiat currency.

Example:

"USD"

gross
string
required

Positive gross fiat amount.

Pattern: ^-?[0-9]+(?:\.[0-9]+)?$
Example:

"100.00"

fee
string
required

Non-negative fee amount.

Pattern: ^-?[0-9]+(?:\.[0-9]+)?$
Example:

"100.00"

net
string
required

Net amount, consistent with gross and fee.

Pattern: ^-?[0-9]+(?:\.[0-9]+)?$
Example:

"100.00"

external_reference
string
required

Client-owned import identifier, unique within source. Must not start with chain-event:; that prefix is reserved.

Required string length: 1 - 500
Example:

"bank-deposit-2026-09-01"

transaction_type
enum<string>

Economic transaction type. Some values contain spaces, such as INTERNAL TRANSFER.

Available options:
DEPOSIT,
WITHDRAWAL,
SWAP,
NON_TAXABLE_CONVERSION,
BRIDGE,
INTERCOMPANY TRANSFER,
INTERNAL TRANSFER,
FEE,
MINTING,
STAKING_REWARD,
VALIDATOR_REWARD,
INVOICE,
BILL,
CLAIM REWARD,
BORROW,
REPAYMENT,
RESERVES CHANGE,
REALIZED_PNL,
INCOME,
EXPENSE,
REFUND,
CHARGEBACK,
NFT,
SPAM,
UNKNOWN
memo
string | null

Optional memo.

Response

Created.

data
object
required