Returns a swap quote for converting a given input amount into the deposit’s settlement currency. Use this to show merchants swap rates and expected receive amounts before a customer pays.
Documentation Index
Fetch the complete documentation index at: https://docs.hel.io/llms.txt
Use this file to discover all available pages before exploring further.
api.hel.io/v1 and generate API keys there. For the development environment, use api.dev.hel.io/v1 and generate API keys from moonpay.dev.hel.io.The unique ID of the deposit.
Request body for fetching a deposit swap quote.
Currency ID the payer will send. Must differ from the deposit settlement currency. Retrieve available IDs via the Get Deposit Currencies endpoint.
Input amount in fromCurrency base units as a positive int64 string, e.g. "1000000" = 1 USDC.
Wallet address used as the swap sender for routing.
Slippage tolerance in basis points (1 bps = 0.01%). Forwarded to the routing provider.
Swap quote retrieved successfully.
Swap quote for converting an input amount into the deposit settlement currency.
Enriched input currency. Same shape as items returned by GET /v1/currency/all.
Enriched deposit settlement currency, derived server-side from the deposit.
Input amount in fromCurrency minimal units, echoed from the request.
Quoted output in toCurrency minimal units before Helio platform and affiliate fees.
Net amount the merchant will receive after platform and affiliate fees (amountOutGross − platformFeeAmount − affiliateFeeAmount, floored at 0).
Helio platform fee in basis points (1 bps = 0.01%).
Helio platform fee amount in toCurrency minimal units.
Affiliate fee in basis points, if any (otherwise 0).
Affiliate fee amount in toCurrency minimal units.
Slippage tolerance in basis points, echoed from the request (or the default of 100).
ISO-8601 timestamp after which this quote should not be relied upon (30 seconds from issue time).
Reported exchange rate (amountOut / amountIn). Informational; not used in settlement.
Estimated price impact for the route (percentage). Informational.