Confirming payout draft (Optional)

PUT /api/public/v1/payouts/:id

Confirms a payout draft and queues it for broadcast. The draft transitions from draft to processing — the same end state as the direct create endpoint. Once confirmed, the payout cannot be recalled.

The txid field is null immediately after confirmation and is populated once the transaction is broadcast. Poll Read Payout to track progress.

cURL

curl -X "PUT" "https://api.sandbox.txn.io/api/public/v1/payouts/6ecebf80-b210-413b-b396-df4760d142c5" \
     -H 'Content-Type: application/vnd.api+json' \
     -H 'Authorization: Bearer <api_key>'

Headers

Name
Value

Content-Type

application/vnd.api+json

Authorization

Bearer <api_key>

Response Body

Name
Type
Description

data.id

string

Payout ID.

data.type

string

Always payouts.

data.attributes.reference

string

Your internal correlation key, as set at creation.

data.attributes.status

string

Always processing after confirmation. See Payout Status Flow.

data.attributes.address

string

Recipient's wallet address.

data.attributes.createdAt

string

ISO 8601 timestamp of when the draft was created.

data.attributes.expiresAt

string

ISO 8601 timestamp of when the draft rate lock expired.

data.attributes.absorbFees

boolean

Deprecated. Use absorbPayoutFee and absorbNetworkFee instead.

data.attributes.absorbPayoutFee

boolean

If false, the payout fee was deducted from the amount the recipient received. If true, the fee was charged to your account balance.

data.attributes.absorbNetworkFee

boolean

If false, the network fee was deducted from the amount the recipient received. If true, the fee was charged to your account balance.

data.attributes.amount

number

Payout amount in currency.

data.attributes.currency

string

Payout amount currency code.

data.attributes.payCurrency

string

Currency code of the cryptocurrency sent to the recipient.

data.attributes.payAmount

string

Amount of cryptocurrency sent to the recipient.

data.attributes.txid

string

On-chain transaction hash. null immediately after confirmation — populated once the transaction is broadcast.

data.attributes.payNetwork

string

Network code of the cryptocurrency sent. See Supported Currencies.

data.attributes.payNetworkName

string

Human-readable network name, e.g. Ripple.

data.attributes.networkFee

string

Network fee amount in networkFeeCurrency.

data.attributes.networkFeeCurrency

string

Currency of the network fee.

data.attributes.payoutFee

string

Txn service fee amount in payoutFeeCurrency.

data.attributes.payoutFeeCurrency

string

Currency of the Txn service fee.

data.attributes.displayFee

string

Payout fee expressed in currency.

data.attributes.displayFeeCurrency

string

Currency of displayFee. Always matches currency.

data.attributes.amountCharged

string

Total amount debited from your account, including all fees, in amountChargedCurrency.

data.attributes.amountChargedCurrency

string

Currency of amountCharged. Matches chargeCurrency.

data.attributes.payChargeRate

string

Exchange rate between payCurrency and amountChargedCurrency applied by Txn.

data.attributes.payChargeRateCurrency

string

Quote currency of payChargeRate.

data.attributes.exchangeRate

string

Exchange rate between payCurrency and currency applied by Txn.

data.attributes.paymentMethod

string

Payment method used: on_chain or binance_pay.

data.attributes.receiverBinanceId

string

Recipient's Binance ID. Present only for binance_pay payouts.

data.attributes.approvalStatus

string

Approval workflow status. Always null for API-created payouts.

data.attributes.binanceStatus

string

Binance Pay processing status. Present only for binance_pay payouts.

Response

Last updated