Previewing bank withdrawal
POST
/api/public/v1/transactions/bank_withdrawals/build
This endpoint allows you to preview a bank withdrawal details before submitting an actual Create Fiat Withdrawal request.
Headers
Content-Type
application/vnd.api+json
Authorization
Bearer <api_key>
Request Body
data.type
string
Yes
Can only be bankWithdrawalTransactions
.
data.attributes.reference
string
Yes
The custom reference ID to tie the request to end-user or their account who gets paid. This can be anything you choose.
data.attributes.amount
number
Yes
Withdrawal amount.
data.attributes.account_id
string
Yes
Account ID on the Txn platform, e.g. your Euro account, which Txn will debit funds from.
data.attributes.bank_account_id
string
Yes
absorbFees
boolean
No
If false or omitted, the service fee is deducted from the transaction amount. If true, the service fee is deducted from your account balance.
Response Body
Last updated