Create transaction

Creates an onramp transaction

This endpoint will create an onramp transaction.

Create an Onramp transaction.

POST https://integration.coinmena.com/onramp-bank/api/v1/onramp/createTransaction

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

customerId*

String

Unique id received from /kyc/url

fromAmount*

String

Amount of fiat that the user would deposit.

toAmount*

String

An estimate of crypto quantity user will receive

rate*

String

Expected price estimate from quote endpoint

{
    "status": 1,
    "code": 200,
    "data": {
        "transactionId": "350100",
        "createdAt": "2024-01-09 09:28:20",
        "fiatAmount": "50",
    }
}

Last updated