Skip to main content

Create Transaction

POST createTransaction

You can create a new transaction.

HTTP Request

https://interface.flashift.app/api/dev/v1/createTransaction

Request

Header Parameters

NameTypeRequiredDescription
AuthorizationstringYesYour API Key
AcceptstringYesSet this to application/json

Body Parameters

NameTypeRequiredDescription
provider_namestringYesThe name of the exchange provider.
currency_fromstringYesThe currency you are exchanging from (e.g., BTC).
currency_tostringYesThe currency you are exchanging to (e.g., USDTERC20).
to_addressstringYesThe recipient's address for the target currency.
to_extra_idstringOptionalAn additional identifier required by some currencies (e.g., destination tag for XRP).
amountstringYesThe amount of the currency you are exchanging from.
fixedbooleanYesIndicates whether the exchange rate is fixed or floating.

Response

Sample Response

application/json
{
"status": "OK",
"exchange_id": "Exolix_floating_XXXXXXX"
}