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:
BNB,
BTC,
CUSD,
ETH,
KES,
NGN,
USDC,
USDT
fromNetwork
enum<string>
required
Available options:
avalanche,
base,
binance,
bitcoin,
celo,
ethereum,
kenyanshilling,
naira,
polygon,
solana,
tron
rateKey
string
required
toCurrency
enum<string>
required
Available options:
BNB,
BTC,
CUSD,
ETH,
KES,
NGN,
USDC,
USDT
toNetwork
enum<string>
required
Available options:
avalanche,
base,
binance,
bitcoin,
celo,
ethereum,
kenyanshilling,
naira,
polygon,
solana,
tron
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