Quote
Returns an offramp Quote
This endpoint will return an deposit address for offramp
Create an Offramp Quote
POST https://api.remitquickly.com/onramp-bank/api/v2/whiteLabel/offramp/quote
Request Body
fromCurrency*
String
Base currency of the trading pair E.g. of fromCurrency:
USDT
toCurrency*
String
Quote currency of the trading pair
E.g. of toCurrency: AED
fromAmount*
String
Crypto quantity user wants to sell
{
"status": 1,
"code": 200,
"data": {
"fromCurrency": "USDT",
"toCurrency": "AED",
"toAmount": "20",
"fromAmount": "",
"fees": [
{
"type": "fiat",
"onrampFee": 3,
"clientFee": 0,
"gatewayFee": 0,
"gasFee": 8.26
}
]
}
}{
"status": 0,
"code": 500,
"error": "Unable to generate Onramp quote at the moment. Please try again after some time."
}
{
"status": 0,
"code": 400,
"error": "Missing Required parameters -> fromCurrency, toCurrency, fromAmount, chain, paymentMethodType."
}{
"status": 1,
"code": 200,
"data": {
"fromCurrency": "AED",
"toCurrency": "USDC",
"toAmount": "1938.65",
"fromAmount": "7213",
"rate": "3.72",
"fees": [
{
"type": "fiat",
"onrampFee": "18.95",
"clientFee": 0,
"gatewayFee": 0,
"gasFee": "3.72"
}
]
}
}status -> 0 is for unsuccessful request, 1 is for a successful one
fromCurrency -> fiat used for the transaction .
toCurrency -> symbol of the coin e.g. USDT).
fromAmount -> Amount of fiat received by the remitquickly.
toAmount -> actual amount of crypto bought at the time of swap/trade.
rate -> expected price estimate shown at the beginning of the transaction
fees (array of objects): Breakdown of different fees associated with the transaction.
type -> The type of fee (e.g., "fiat", "crypto").
onrampFee -> Onramp fee amount.
clientFee -> Client fee amount.
gatewayFee -> Gateway fee amount.
gasFee -> Gas fee amount.
Last updated