Create Payout Quote
Changed onCreates a short-lived, provider-backed quote of a payout's fee, exchange rate, and destination amount. No funds move until you submit the returned quote_token to POST /payouts.
Request
- Base URLhttps://api.whop.com/api/v1
- AuthHTTP bearer
Headers
Pins the request to a dated API version.
A unique key that makes this quote request safe to retry.
Request body
Account to pay out from, prefixed biz_. Provide exactly one of account_id or user_id.
The amount to pay out in the specified currency, fees included. Provide exactly one of amount or recipient_amount.
The currency to pay out. When omitted, uses usd if that balance can cover a withdrawal, otherwise the account's only other funded currency.
A saved card of the account, prefixed payt_, to quote paying this payout from. The quote's amount is the card charge, fee adds the estimated card fees to the payout fee, and net_amount is what the recipient receives. Send recipient_amount instead of amount to quote the charge that delivers a set amount.
The saved payout method to quote (a potk_ identifier).
Whether the parent platform covers the payout fee instead of the account being paid out.
The amount the recipient should receive, with fees added on top. When the payout method pays out in currency, the quote's destination_amount covers it; otherwise its net_amount does. With payment_method_id, the card charge is set so the quote's net_amount is exactly this amount, or the quote is refused. Provide exactly one of amount or recipient_amount.
How fast the funds should arrive.
Payment description sent with the payout, such as an invoice number or what it pays for. Must be 5-80 printable ASCII characters (letters, digits, spaces and punctuation); Whop sends it in upper case. Not all countries and banks show it on the recipient's statement, and it is not the sender name. Omit or pass null to use the default descriptor.
User to pay out from, prefixed user_. Provide exactly one of account_id or user_id.
Example request
{
"account_id": "biz_xxxxxxxxxxxxxx",
"amount": 6762.41,
"currency": "eur",
"payout_method_id": "potk_xxxxxxxxxxxxxx",
"speed": "standard",
"statement_descriptor": "SHINE INV-10432"
}Response
payout quote created
Gross payout amount.
How a USD balance pays a bank in another currency: it converts into the payout method's currency, and the payout leaves from the balance in that currency. Null when the payout is paid from the requested balance directly.
Exact amount quoted for delivery.
Quoted exchange rate from the source currency to the destination currency.
When the quote expires.
Fee charged for the payout.
Provider-backed payout quote ID, prefixed pout_.
Interbank mid-market rate, with no spread, for the same conversion as exchange_rate. The gap between the two is the cost of the conversion. null when the payout provider does no foreign exchange, such as USD to a USD bank account. Also null when no market rate from the last 15 minutes is available, and on card-funded quotes.
When market_exchange_rate was taken from the market feed, as an ISO 8601 timestamp. null when market_exchange_rate is null.
Amount remaining after fees.
Server-signed quote token to submit to POST /payouts.
An optional payout method to connect for estimated savings. The quote still uses the requested saved method.
Server time when the response was prepared, as an ISO 8601 timestamp. Subtract it from expires_at to get the remaining quote lifetime without relying on your own clock.
Example response
{
"amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"conversion": {
"converted_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"estimated_savings": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"payout_fee": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
}
},
"destination_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"exchange_rate": 4.13978443,
"expires_at": "2026-01-01T12:00:00.000Z",
"fee": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"id": "pout_aed_quote",
"market_exchange_rate": 4.14226979,
"market_exchange_rate_at": "2026-01-01T12:00:00.000Z",
"net_amount": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"object": "payout_quote",
"quote_token": "signed-payout-quote",
"recommended_method": {
"country": "AE",
"destination_currency": "eur",
"estimated_arrival": "2026-01-01T12:00:00.000Z",
"estimated_fee": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"estimated_savings": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"name": "Bank Wire",
"supported_payout_method_id": "podst_xxxxxxxxxxxxxx"
},
"server_time": "2026-01-01T12:00:00.000Z"
}Changes
- breaking
the
exchange_rateresponse's property format changed fromfloatto no format for status - breaking
the
market_exchange_rateresponse's property format changed fromfloatto no format for status - info
the
amountrequest property format was generalized fromfloatto no format
1 more change in this revision
- breaking