v1

latestOpenAPI 3.0.02026-07-14233044.1 KB
Payment

Get Estimated Currency Rate

Estimate currency price as per the payment method, fiat currency, amount

post/api/v1/payment/currency-price

Request body

cryptoAmountnumber

Amount in crypto currency. Although 'fiatAmount' and 'cryptoAmount' is not both required, but need to pass one of them.

fiatAmountnumber

Amount in fiat currency. Although 'fiatAmount' and 'cryptoAmount' is not both required, but need to pass one of them.

cryptoCurrencystring required

Crypto currency symbol. You can get the symbol from GET /crypto-currencies. Example: 'ETH', 'BTC', 'DAI'

fiatCurrencystring required

Fiat currency symbol. You can get the symbol from GET /fiat-currencies. Example: 'INR', 'EUR', 'USD'

isBuyOrSellstring required

Is BUY or SELL order. Example: 'BUY', 'SELL'

networkstring required

CryptoCurrency network. This field is required if we are supporting multiple networks of the cryptocurrency. You can get the network name from GET /crypto-currencies. Example: 'mainnet', 'ethereum', 'bep2', 'matic'

paymentMethodstring required

Payment method. You can get the payment method id from GET /fiat-currencies. Example: 'upi', 'credit_debit_card', 'gbp_bank_transfer'

Response

Price found

statusCodenumber
messagestring