Skip to main content

Withdrawal Intent

Withdrawal intent models describe withdrawal requests and their related payment rail details.

WithdrawalIntent

FieldTypeDescription
idstringWithdrawal intent ID.
walletWithdrawalWalletSource wallet used for the withdrawal.
transactionWithdrawalTransaction or nullPayment rail transaction details. null when no transaction has been created yet.
destinationWithdrawalDestinationWithdrawal destination selected by the merchant.
statusWithdrawalIntentStatusCurrent withdrawal intent status.
serviceFeeModeinclusive or exclusiveDetermines whether the service fee is included in or added on top of amount.
amountNumericStringOriginal withdrawal amount.
amountFeeNumericStringFee charged for the withdrawal.
amountNetNumericStringAmount the recipient will receive.
amountGrossNumericStringGross withdrawal amount, equal to amountNet + amountFee.
submittedAtIsoDateTimeUtcTime when the withdrawal intent was submitted.
finalizedAtIsoDateTimeUtc or nullTime when the withdrawal intent reached a final status. null if not finalized yet.
createdAtIsoDateTimeUtcTime when the withdrawal intent record was created.
updatedAtIsoDateTimeUtcTime when the withdrawal intent record was last updated.

WithdrawalWallet

FieldTypeDescription
idstringWallet ID.
typestringWallet type, such as merchant_wallet.

WithdrawalTransaction

FieldTypeDescription
typestringTransaction type, such as blockchain.
providerstringTransaction provider, such as tron.
blockchainBlockchainTransactionDetail or nullBlockchain-specific transaction details.
legsWithdrawalLeg[]Asset movement details for this transaction.

BlockchainTransactionDetail

FieldTypeDescription
chainIdstringBlockchain chain identifier, such as tron:nile.
hashstringBlockchain transaction hash.
fromAddressstringSource blockchain address.
toAddressstringDestination blockchain address.

WithdrawalLeg

FieldTypeDescription
typeprincipal or network_feeAsset movement type.
currencyCodeCurrencyCodeCurrency code for this leg.
amountNumericStringAmount for this leg.

WithdrawalDestination

The destination object identifies where the withdrawal is sent.

FieldTypeDescription
typestringDestination type, such as crypto or bank.
railstringDestination rail, such as tron or swift.
routingCodestringRouting identifier, such as a chain ID or bank routing code.
identifierstringDestination identifier, such as a blockchain address or bank account reference.

WithdrawalIntentStatus

ValueDescription
preparingWithdrawal intent has been submitted and is still in its preparation or cancellation period.
reviewingWithdrawal intent is waiting for business review.
processingWithdrawal intent is waiting for operational or financial processing.
processedInternal approval and processing have completed, and the withdrawal is waiting for its final network outcome.
completedWithdrawal has completed, and the requested amount has been sent to the destination.
failedWithdrawal could not be completed because it was declined, rejected, or network processing failed.
cancelledWithdrawal intent was cancelled during the allowed cancellation period.