Skip to main content
POST
Calculate ramp fees from toAmount or fromAmount

Authorizations

x-api-key
string
header
required
x-api-user
string
header
required

Body

application/json
fromCurrency
enum<string>
required
Available options:
BTC,
ETH,
USDC,
USDT,
CUSD,
BNB,
NGN,
KES
fromNetwork
enum<string>
required
Available options:
avalanche,
binance,
bitcoin,
celo,
ethereum,
polygon,
tron,
solana,
naira,
mobileMoney,
mpesa,
kenyanshilling
rateKey
string
required
toCurrency
enum<string>
required
Available options:
BTC,
ETH,
USDC,
USDT,
CUSD,
BNB,
NGN,
KES
toNetwork
enum<string>
required
Available options:
avalanche,
base,
binance,
bitcoin,
celo,
ethereum,
polygon,
tron,
solana,
naira,
mobileMoney,
mpesa,
kenyanshilling
accountName
string

accountname of the user (not bank account name)

accountNumber
string
bankCode
string
cryptoAddress
string
fromAmount
number
toAmount
number
type
enum<string>

initiate offramp with cryptoToFiat type and onramp with fiatToCrypto type

Available options:
fiatToCrypto,
cryptoToFiat

Response

200 - application/json

post ramp breakdown ok

data
object
message
string