Creating fiat withdrawal
Last updated
Last updated
POST
/api/public/v1/bank_withdrawal_transactions
This endpoint creates a fiat withdrawal.
Headers
Name | Value |
---|---|
Request Body
Name | Type | Required | Description |
---|---|---|---|
Response Body
Content-Type
application/vnd.api+json
Authorization
Bearer <api_key>
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
Beneficiary (bank account) ID. Refer to Listing Beneficiaries.
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.