Create transaction

Creates an onramp transaction

This endpoint will create an onramp transaction.

Note:

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

  • Supported paymentMethodType values:

  • For AED -> AED-BANK-TRANFER

Create an Onramp transaction.

POST https://integration.coinmena.com/onramp/api/v2/whiteLabel/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

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

depositAddress*

String

On chain destination for coin transfer

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": "880663",
        "createdAt": "2024-05-08 12:38:11",
        "fiatAmount": "1000",
        "fiatPaymentInstructions": {
            "bank": {
                "iban": "AE6609600002090XXXXXXX4",
                "name": "COINMENA FZE",
                "bank": "ZAND",
                "type": "CORPORATE CURRENT ACCOUNT AED",
                "address": "The property of Sheikh Suhail bin Maktoum bin Juma Al Maktoum - Deira - Port - 0109-M01, Office No - 0109-M01. Dubai",
                "email": "support@coinmena.com",
                "phoneNumber": "9XX505XXXX",
                "transferCode": "Purchase of goods and services",
                "p.o. box": "74XX7"
            },
            "bankNotes": [
                {
                    "type": 1,
                    "msg": "Your trade will be executed at the price when your funds are received"
                },
                {
                    "type": 1,
                    "msg": "You can only send AED from an individual bank account registered in your name."
                }
            ],
            "otp": "5242",
            "type": "AED-BANK-TRANSFER"
        }
    }
}

{
    "status": 1,
    "code": 200,
    "data": {
        "transactionId": "880663",
        "createdAt": "2024-05-08 12:38:11",
        "fiatAmount": "1000",
        "fiatPaymentInstructions": {
            "bank": {
                "iban": "AE6609600002090XXXXXXX4",
                "name": "COINMENA FZE",
                "bank": "ZAND",
                "type": "CORPORATE CURRENT ACCOUNT AED",
                "address": "The property of Sheikh Suhail bin Maktoum bin Juma Al Maktoum - Deira - Port - 0109-M01, Office No - 0109-M01. Dubai",
                "email": "support@coinmena.com",
                "phoneNumber": "9XX505XXXX",
                "transferCode": "Purchase of goods and services",
                "p.o. box": "74XX7"
            },
            "bankNotes": [
                {
                    "type": 1,
                    "msg": "Your trade will be executed at the price when your funds are received"
                },
                {
                    "type": 1,
                    "msg": "You can only send AED from an individual bank account registered in your name."
                }
            ],
            "otp": "5242",
            "type": "AED-BANK-TRANSFER"
        }
    }
}

Last updated