Quote

Returns an onramp Quote

This endpoint returns an accurate price estimate for the requested amount for the coin/token (fiat to crypto)

Note:

  • Supported Currencies: To view the list of all the fiat currencies supported by CoinMena, click here.

  • Supported Payment Methods: To view the list of all the supported payment methods for various currencies supported by CoinMena, click here.

Create an Onramp Quote

POST https://integration.coinmena.com/onramp/api/v2/whiteLabel/onramp/quote

Request Body

NameTypeDescription

fromCurrency*

String

Base currency of the trading pair E.g. of fromCurrency:

AED

toCurrency*

String

Quote currency of the trading pair

E.g. of toCurrency: usdc | usdt | eth

fromAmount*

String

Fiat amount for onramp

chain*

String

supported networks by CoinMena for onchain transactions

E.g. of supported networks:

usdt - bep20 | matic20 | erc20 | trc20

usdc - bep20 | matic20

busd - bep20

eth - erc20 | matic20

paymentMethodType*

String

payment Method Type for CoinMena Transaction. E.g. of payment method Type:

For AED -> AED-BANK-TRANSFER

{
    "status": 1,
    "code": 200,
    "data": {
        "fromCurrency": "AED",
        "toCurrency": "USDT",
        "toAmount": 100,
        "fromAmount": "26.88",
        "fees": [
            {
                "type": "fiat",
                "onrampFee": 0.25,
                "clientFee": 0,
                "gatewayFee": 0,
                "gasFee": 8.26
            }
        ]
    }
}
{
    "status": 1,
    "code": 200,
    "data": {
        "fromCurrency": "AED",
        "toCurrency": "USDT",
        "toAmount": 100,
        "fromAmount": "26.88",
        "fees": [
            {
                "type": "fiat",
                "onrampFee": 0.25,
                "clientFee": 0,
                "gatewayFee": 0,
                "gasFee": 8.26
            }
        ]
    }
}

Last updated