This endpoint returns an accurate price estimate for the requested amount for the coin/token (fiat to crypto)
{
"status": 1,
"code": 200,
"data": {
"fromCurrency": "AED",
"toCurrency": "USDT",
"toAmount": 13.08,
"fromAmount": "60",
"fees": [
{
"type": "fiat",
"onrampFee": 3,
"clientFee": 0,
"gatewayFee": 0,
"gasFee": 0
}
]
}
}
{
"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."
}