Create transaction

Creates an offramp transaction

This endpoint will create an offramp transaction.

Create an Offramp transaction.

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

Request Body

NameTypeDescription

fromCurrency*

String

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

usdc | usdt | eth

toCurrency*

String

Quote currency of the trading pair

E.g. of toCurrency: INR | TRY | AED | MXN | IDR

customerId*

String

Unique id received from /kyc/url

fromAmount*

String

Actual Crypto quantity to be sold.

toAmount*

String

An estimate of fiat amount user will receive

rate*

String

Expected price estimate

{
      "status": 1,
      "code": 200,
      "data": {
        "transactionId": "76440",
        "createdAt": "2023-06-01T00:02:21.000Z",
        "expiresAt": "2023-06-01T03:02:21.000Z"
      }
}

Last updated