Quote a withdrawal
POST/v1/orgs/{orgId}/withdrawals/quote
Prices each way to send a withdrawal (rail, fee, arrival) without moving money.
Before you call it
- Permission
withdrawals:create
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
Request body
| Field | What it does |
|---|---|
account_idstring (uuid)required | No description in the spec yet. |
external_account_idstring (uuid)required | One of the organization's own accounts |
amountstringrequired | No description in the spec yet. |
assetenum | No description in the spec yet. One of |
railenum | No description in the spec yet. One of |
policyenum | No description in the spec yet. One of Default |
memostring | No description in the spec yet. |
Response 200
Options ordered by the requested policy
| Field | What it does |
|---|---|
amountstringrequired | No description in the spec yet. |
assetstringrequired | No description in the spec yet. |
availablestringrequired | Available balance |
optionsPaymentOption[]required | No description in the spec yet. |
options[].railstringrequired | No description in the spec yet. |
options[].feestringrequired | No description in the spec yet. |
options[].eta_secondsintegerrequired | No description in the spec yet. |
options[].arrives_bystring (date-time)required | No description in the spec yet. |
options[].brandablebooleanrequired | The recipient sees your business name |
options[].payezy_feestring | Payezy's fee (part of fee); 0 for customers billed through a platform |
options[].network_feestring | Rail or network cost (part of fee) |
options[].fee_linesFeeLine[] | fee broken down; the lines sum to fee |
options[].fee_lines[].kindenumrequired | payezy: Payezy's fee; network: rail or network cost One of |
options[].fee_lines[].codestringrequired | Billing product code (payezy) or rail (network) |
options[].fee_lines[].labelstringrequired | No description in the spec yet. |
options[].fee_lines[].amountstringrequired | No description in the spec yet. |