Get Quote (Exact Out)
Destination-amount (“reverse”) quote. Given a target fiat payout
(exactAmountOut), returns — for every withdrawal speed — how much of the
input token the merchant needs to send so that, after swap, gas and
withdraw fees, the withdrawer nets exactly that payout. A speed is
undefined when it isn’t available for the requested payout (no
providers, unsupported currency, over the limit, or unreachable).
This is the inverse of GET /withdraw/quote.
Authentication
The web3 wallet of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
The blockchain associated with the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
The external identifier of the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
The blockchain associated with the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
The API key of the merchant - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
The session key generated for the end user - see https://docs.coinflow.cash/api-reference/api-reference/authentication/get-session-key
Query parameters
- The fiat payout amount (in cents) the withdrawer should receive.
- The token address or contract of the token which the user is withdrawing.
- The merchant that this quote is for.
- The currency of
exactAmountOut. Defaults to the account/withdrawer currency.
- [EVM only] whether the user’s wallet supports signing permit messages.
- The token of the account to use
Response
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.
The result of a destination-amount (“reverse” / exact-out) withdraw quote.
Given a target fiat payout (exactAmountOut), this reports how much of the
input token the merchant needs to send so that — after swap, gas, and
withdraw fees — the withdrawer nets at least the requested payout.

