Create transaction

Creates an onramp transaction

This endpoint will create an onramp transaction.

Note:

  • Supported paymentMethodType values:

  • For AED -> AED-BANK-TRANSFER

Create an Onramp transaction.

POST https://api.remitquickly.com/onramp-bank/api/v2/whiteLabel/onramp/createTransaction

Request Body

Name
Type
Description

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

paymentMethodType*

String

payment Method Type for Onramp 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": "350100",
        "createdAt": "2024-01-09 09:28:20",
        "fiatAmount": "50",
        "fiatPaymentInstructions": {
            "bank": {
                "iban": "AE42XXXXXXXXXXXX",
                "name": "XXXXXX XXXXX XXXXXXX",
                "bank": "ZAXXXXXXXX",
                "type": "CORPORATE CURRENT",
                "address": "",
                "email": "[email protected]",
                "phoneNumber": "XXXXXXXXX",
                "transferCode": "Purchase of goods and services"
            },
            "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."
                }
            ],
            "type": "AED_BANK_TRANSFER"
        }
    }
}

Last updated