Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Deposits

Deposit webhook events and example payloads.

Deposit webhooks track money sent to your deposit accounts, either crypto to a deposit address or a bank transfer to a virtual account.

Field descriptions

Deposit webhook events put the deposit directly in data. It has the same shape as a deposit returned by the API.

Exactly one of data.crypto and data.fiat is set. The other is null.

Field
Type
Description

data.id

string

Unique deposit identifier.

data.type

'crypto' | 'fiat'

crypto for a blockchain transfer, fiat for a bank transfer.

data.status

string

pending, completed, or failed. See each event below.

data.amount

string

Amount received, as a decimal string.

data.currency

string

Deposit currency, such as USDT or NGN.

data.fee

string

Fee charged on the deposit, as a decimal string.

data.netAmount

string

Amount credited to your balance (amount minus fee), as a decimal string.

data.conversion

object | null

Set when a crypto deposit was converted to USDT on arrival: fromCurrency, toCurrency, sourceAmount, targetAmount, and rate.

data.depositAccountId

string | null

The deposit account the deposit went into.

data.balanceReference

string | null

Reference of the balance entry this deposit credited. Null until it is credited.

data.customer

object | null

The customer the deposit belongs to: id, firstName, lastName, email, and metadata. Null for a deposit to your own account.

data.crypto.txHash

string | null

Transaction hash on the blockchain.

data.crypto.chain

string | null

Blockchain network, such as ethereum or tron.

data.crypto.asset

string | null

Crypto asset received, such as USDT.

data.crypto.amount

string

Amount received in the asset that was sent.

data.crypto.fromAddress

string | null

Wallet address the funds came from.

data.crypto.toAddress

string | null

Deposit address the funds were sent to.

data.crypto.amlCheck

string

Result of the compliance check: pending, passed, failed, or under_review.

data.crypto.staticDepositAddress

object | null

The deposit address that received the funds: chain, address, and createdAt.

data.fiat.reference

string | null

Reference for the bank transfer.

data.fiat.method

string

Always bank_transfer.

data.fiat.payer

object

Account that sent the money: accountName, accountNumber, bankName, bankCode.

data.fiat.payee

object

Account that received the money, with the same fields as payer.

data.fiat.ngnVirtualAccount

object | null

The NGN virtual account that received the money: currency, accountNumber, accountName, bankName, bankCode, accountReference, and createdAt.

data.createdAt

string

When the deposit was detected (ISO 8601).

data.completedAt

string | null

When the deposit was credited. Null while pending or if it failed.

Events

  • deposit.processing

  • deposit.completed

  • deposit.failed

deposit.processing

Sent when a deposit is detected and is being processed. data.status is pending.

deposit.completed

Sent when a deposit is credited to your balance. data.status is completed.

deposit.failed

Sent when a deposit fails a compliance check and is rejected. data.status is failed.