Creating bank withdrawal
POST
/api/public/v1/transactions/bank_withdrawals
This endpoint creates a bank withdrawal.
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
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.
Response Body
Last updated