Prices a deposit without opening an order. `amountMode` specifies whether `amount` is what the payer wants charged or what they want credited. The returned requested amount is the amount to pass to create. A caller that displays this quote should also send all expected quote values on create; create returns 409 instead of charging a changed price.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
accountId |
path | string |
yes |
Request body
application/json
· DepositQuoteRequest
· required
| Field | Type | Required | Description |
|---|---|---|---|
amount |
string |
yes | |
amountMode |
DepositAmountMode |
yes | |
country |
string |
yes | |
method |
FundingMethod |
yes |
Responses
| Status | Body | Description |
|---|---|---|
200 |
DepositQuote |
Deposit price calculated. |
400 |
DepositQuoteError |
Invalid or unsupported amount. When the amount is below the deposit minimum, the response also includes the calculated quote and the minimum valid amount for the input side selected by `amountMode`. |
403 |
Error |
Deposits are not enabled for this client. |
404 |
Error |
Account not found. |
Specification
This page is generated from the OpenAPI specification, which remains the authoritative machine-readable source.