v8
OpenAPI 3.1.02026-08-033623795.0 MBWithdrawals
Create withdrawal
Creates a withdrawal request for a ledger account
Required permissions:
- payout:withdraw_funds
- payout:destination:read
post/withdrawals
Request body
Example request
{
"amount": 6.9,
"company_id": "biz_xxxxxxxxxxxxxx"
}Response
A successful response
Example response
{
"amount": 6.9,
"created_at": "2023-12-01T05:00:00.401Z",
"error_message": "Destination bank account is invalid.",
"estimated_availability": "2023-12-01T05:00:00.401Z",
"fee_amount": 6.9,
"id": "wdrl_xxxxxxxxxxxxx",
"ledger_account": {
"id": "ldgr_xxxxxxxxxxxxx"
},
"markup_fee": 6.9,
"payout_request_id": "cofr_xxxxxxxxxxxxxx",
"payout_token": {
"created_at": "2023-12-01T05:00:00.401Z",
"destination_currency_code": "USD",
"id": "potk_xxxxxxxxxxxxx",
"nickname": "My Business Account",
"payer_name": "Acme Corp LLC"
},
"trace_code": "021000021234567"
}