Create withdrawal
Creates a withdrawal request for a ledger account
Required permissions:
- payout:withdraw_funds
- payout:destination:read
Request body
Set to true to continue when the bank could not confirm the account holder's name, or false to be refused in that case so the creator can fix the account or link their bank first. Omitting the argument skips the warning gate — a client that cannot show the warning keeps its pre-gate behavior.
The amount to withdraw in the specified currency
The ID of the company to withdraw from.
The available currencies on the platform
A client-generated key that makes retries safe. Retrying with the same key returns the original withdrawal instead of creating a second one.
The ID of the payout method to use for the withdrawal.
Whether the platform covers the payout fees.
The different speeds of withdrawals
Custom statement descriptor for the withdrawal. Must be between 5 and 22 characters and contain only alphanumeric characters.
Example request
{
"amount": 6.9,
"company_id": "biz_xxxxxxxxxxxxxx"
}Response
A successful response
The withdrawal amount as a decimal number in the specified currency (e.g., 100.00 for $100.00 USD).
The datetime the withdrawal was created.
The available currencies on the platform
The different error codes a payout can be in.
A human-readable message describing why the payout failed. Null if no error occurred.
The estimated time at which the funds become available in the destination account. Null if no estimate is available. As a Unix timestamp.
The fee charged for processing this withdrawal, in the same currency as the withdrawal amount.
The different fee types for a withdrawal.
The unique identifier for the withdrawal.
An additional markup fee charged for the withdrawal, in the same currency as the withdrawal amount. Only applies to platform accounts using Whop Rails.
The id of the payout request (returned by POST /payouts) that this withdrawal settles. Null unless the withdrawal originated from a stablecoin payout.
The different speeds of withdrawals
The status of a withdrawal request
The ACH trace number for tracking the payout through the banking network. Null if not available or not an ACH transaction.
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": "Ops checking",
"payer_name": "Shine Time Auto Detailing, LLC"
},
"trace_code": "021000021234567"
}