Exchange Rates
Convert values between supported fiats and cryptocurrencies for ON RAMP.
On Ramp
POST {{BASE_URL}}/exchange-rates/onramp
Body Parameters
fiatAmount
number
Y
Fiat Amount to convert to.
fiatCurrency
string
Y
Fiat Currency to convert to. Supported values can be retrieved from /currencies e.g NGN or ZAR
token
string
Y
Crypto Currency to convert from. Supported values are can be retrieved from /network-tokens e.g USDT
blockchain
string
Y
Crypto Currency to convert from. Supported values can be retrieved from /networks e.g POLYGON
businessFeeInFiat
number
Y
Business Fee to charge
{
"statusCode": 200,
"success": true,
"message": "Query successful",
"data": {
"blockchain": "BSC_TESTNET",
"businessFeeInCrypto": 0.4,
"businessFeeInFiat": 200,
"cryptoAmount": 19.4009,
"cryptoAmountLessFee": 19.3339,
"cryptoRate": 1,
"fiatAmountPayable": 10300,
"fiatCurrency": "ZAR",
"fiatRate": 0.002,
"gasFee": 0.067,
"platformFeeInCrypto": 0.2,
"platformFeeInFiat": 100,
"token": "USDT"
}
}OFF Ramp
Convert values between supported fiats and cryptocurrencies for OFF RAMP
POST {{BASE_URL}}/exchange-rates/offramp
Body Parameters
cryptoAmount
number
Y
Crypto Amount to be converted.
fiatCurrency
string
Y
Fiat Currency to convert to. Supported values can be retrieved from /currencies e.g NGN
token
string
Y
Crypto Currency to convert from. Supported values can be retrieved from /network-tokens e.g USDT, USDC
blockchain
string
Y
Crypto Currency to convert from. Supported values can be retrieved from /networks e.g BSC,POLYGON
businessFeeInCrypto
number
Y
Business amount being charged in Crypto.
Last updated