Estimate the cost of a deposit
Returns what depositing amount into this account is expected to cost, before
any money moves.
An estimate, not a quote. No rate is locked. rate.asOf says when the rate
was read; the figures may differ by the time funds arrive.
The fee is this account’s. It is a percentage held against the individual account, so two accounts can legitimately return different fees for the same amount. Do not cache an estimate against one account and reuse it for another.
fees.estimated says which parts can move. A component listed there is an
approximation; one not listed is exact as at rate.asOf. Network fees are
never knowable before settlement — the chain charges what it charges at the
moment of broadcast — so network is always listed, including where it rounds
to 0.00 on networks that do not meaningfully charge it. fees.maximum and
output.minimum bound the estimated components against recently settled
deposits, and are what to show a user as “at most” and “at least”.
The bound can be missing. It is drawn from deposits we have actually settled
on that network, so until enough have, fees.maximum and output.minimum are
both omitted — and a breakdown.network of 0.00 alongside them means
unmeasured, not free. fees.networkFeeSamples says how many settlements are
behind the figures; at 0 we have never seen this network settle. Do not
promise a user a ceiling on the cost, or a floor on what they receive, when
those fields are absent.
Fees are in the account’s own currency, which is EUR on SEPA accounts.
When an estimate cannot be produced, branch on code, not on the status
alone — the codes match GET /v1/on-ramps/exchange-rates:
rate_unavailable(503) — the pair is quotable but has no rate right now. Transient; retry.unsupported_currency_pair(400) — the pair is not quoted at all. Permanent.exchange_rate_provider_error(502) — the rate provider failed otherwise.
Authorizations
Cognito JWT token for regular user authentication
Path Parameters
The auto-ramp account ID
1Query Parameters
Fiat amount to be deposited, in the account's currency. Decimal string.
^\d+(\.\d{1,2})?$"2525.00"
Response
What a deposit into this account is expected to cost. An estimate, not a quote: no rate is locked, and the figures may differ by the time funds arrive.