Create transaction
Creates an offramp transaction
This endpoint will create an offramp transaction.
Create an Offramp transaction.
POST https://api.remitquickly.com/onramp-bank/api/v2/whiteLabel/offramp/createTransaction
Request Body
Name
Type
Description
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
fiatAccountId*
String
Unique ID of fiat account to withdraw off-ramped fiat to
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",
"depositAddress": {
"address": "0xf18d064ec3ab7b9e900e4daa89798d29e8b4eab5",
"chain": "USDT"
},
"expiresAt": "2023-06-01T03:02:21.000Z"
}
}{
"status": 0,
"code": 400,
"error": "Missing parameter -> customerId, fromCurrency, toCurrency, fromAmount, toAmount, rate, fiatAccountId, chain."
}{
"status": 0,
"code": 500,
"error": "Unable to create Offramp transaction at the moment. Please try again after some time."
}Last updated