Create fiat-to-crypto payout

POST https://app.thedex.cloud/api/v1/payouts/fiat-to-crypto/create

Headers

Name
Type
Description

X-EX-APIKEY*

String

Your API key

X-EX-PAYLOAD*

String

Body to base64

X-EX-SIGNATURE*

String

Encrypted body with the secret key

Request Body

Name
Type
Description

fiatCurrency*

String

payCurrency*

String

fiatAmount*

String

Amount in fiat currency that will be used to calculate the "transferAmount" based on the actual rate.

address*

String

Address of crypto wallet

memo

Integer

An additional TON or Ripple specific field to define the intended recipient or destination.

description

String

max size = 300

{
   "id": "String",
   "status": "Integer",
   "statusName": "String",
   "fiatAmount": "String",
   "fiatCurrency": "String",
   "payCurrency": "String",
   "amountInPayCurrency": "String",
   "address": "String",
   "memo": "Integer",
   "createDate":"String",
   "modifiedDate":"String",
   "transactionId":"String",
   "withdrawalAmount":"String",
   "transferAmount":"String",
   "blockchainFee":"String",
   "payoutCommissionPercentage":"String",
   "rate":"String",
   "isApiCalled":"Boolean",
   "uniqueUserId":"String",
   "description":"String",
   "merchantId":"String"
}

Request curl:

curl --location 'https://app.thedex.cloud/api/v1/payouts/fiat-to-crypto/create' \
--header 'X-EX-APIKEY: <string>' \
--header 'X-EX-PAYLOAD: <string>' \
--header 'X-EX-SIGNATURE: <string>' \
--header 'Content-Type: application/json' \
--header 'Accept: */*' \
--data '{
  "address": "<string>",
  "fiatAmount": "<string>",
  "fiatCurrency": "<string>",
  "payCurrency": "<string>",
  "description": "<string>",
}'

Response JSON attributes:

"id"

String

Payout id

"status"

Integer

"statusName"

String

"fiatCurrency"

String

Fiat currency

"fiatAmount"

String

Amount in fiat currency

"payCurrency"

String

Cryptocurrency

"amountInPayCurrency"

String

Cryptocurrency amount

"address"

String

Address is used to widthrawal

"memo"

String

Additional destination info

"createDate"

String

Creation date

"modifiedDate"

String

Modification date

"transactionId"

Boolean

Could be ignored for this API.

"withdrawalAmount"

String

Withdrawal amount

"transferAmount"

String

Transfer amount

"blockchainFee"

String

Blockchain fee

"payoutCommissionPercentage"

String

Payout commission in percentage

"rate"

String

Rate

"isApiCalled"

Boolean

Always true for this API

"uniqueUserId"

String

User UUID

"description"

String

Description

"merchantId"

String

MerchantId

Last updated