Get Deposit Swap Quote
Changed onReturns a quote for funding a deposit: how much the merchant receives in the deposit's settlement currency for a given input amount, and the fees involved. The settlement currency is derived from the deposit, which must have exactly one accepted currency.
Crypto funding — omit provider. The server picks who prices the quote from the merchant's deposit wallet provider and the currency pair: GLIDE, DECENT (a swap is needed) or HELIO (same currency, direct sweep). Same-currency and cross-chain pairs are both supported.
Fiat funding — set provider to MOONPAY, IRON or ONRAMPER with that provider's required fields.
Crypto-path quotes are estimates for display; they are not locked or redeemed at settlement. No API key is required; this endpoint is rate-limited.
Request
- Base URLhttps://api.hel.io
- URLhttps://api.hel.io/v1/deposits/{depositId}/swap-quote
- Authnone required
Path parameters
The unique ID of the deposit.
Request body
Example request
{
"fromCurrencyId": "63430c8348c610068bcdc482",
"amountIn": "1000000",
"senderAddress": "5Q544fKrFoe6tsEbD7S8EmxGTJYAKtTVhAW5Q5pge4j1",
"sdkQuote": {
"sourceAmount": "25.00",
"destinationAmount": "24.10",
"moonpayFee": "0.65",
"ecosystemFee": "0.00",
"networkFee": "0.25",
"defiFee": "0.00"
},
"country": "US"
}Response
Swap quote retrieved successfully.
Example response
{
"amountInUsd": "14.02",
"amountOutUsd": "13.67",
"etaSeconds": 30,
"paymentDisclosures": [
{
"id": "eea-crypto-asset-risk",
"version": "1"
}
],
"challenge": {
"kind": "frame"
}
}Changes
- breaking
added the pattern
^[1-9]\d*$to the request property - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - breaking
the response property
became optional for the status - warning
the
request property's max was set to10000.00 - warning
the
request property's min was set to0.00 - info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the new optional request property
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the required property
to the response with the status
- breaking