Create payout
Creates payout from user wallet for defined crypto-currency
POST https://app.thedex.cloud/api/v1/payouts/create
Headers
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
{
"amountInPayCurrency": "Number",
"payCurrency": "String",
"address": "String",
"memo": "Number", // optional
"description": "String", // optional
"callbackUrl": "String" // optional
}Request JSON attributes
payCurrency*
String
Reach out accessed values to define attribute by link: /api/v1/info/currencies
attribute "payCurrencies"
amountInPayCurrency*
BigDecimal
Amount in cryptocurrency that will be transferred to the address. Please ensure the value respects the precision limits for each currency and blockchain (see Precision Limits
for details).
address*
String
Address of crypto wallet
memo
Integer
An additional TON or Ripple specific field to define the intended recipient or destination.
Note for Ripple (XRP): Required if the destination address has the "required" tag flag set on the blockchain.
description
String
max size = 300
callbackUrl
String
Custom callbackUrl for a payout, that can be differ from user settings
Response body
General validation error: missing or malformed parameters.
Field-level validation error: if amountInPayCurrency exceeds allowed decimal precision for the given currency.
Insufficient funds to perform payout.
Invalid or incorrectly formatted address.
Transaction exceeds daily limits.
Specific field validation error. (Minimal limits, etc)
Blockchain related errors.
Ripple destination tag (memo) errors.
In case of not existing parameters, incorrect headers, etc..
Similar for not whitelisted address in merchant settings
In case of incorrect signature, api key or payload header
Response JSON attributes:
"id"
String
Payout id
"payCurrency"
String
Cryptocurrency
"address"
String
Address is used to widthrawal
"memo"
Integer
Additional destination info
"createDate"
String
Creation date
"modifiedDate"
String
Modification date
"transactionId"
String
Could be ignored for this API.
"withdrawalAmount"
String
Withdrawal amount
"transferAmount"
String
Transfer amount
"blockchainFee"
String
Blockchain fee
"payoutCommissionPercentage"
String
Payout commission in percentage
"isApiCalled"
Boolean
Always true for this API
"fiatAmount"
String
Fiat amount of payout
"description"
String
Description
"merchantId"
String
Merchant id
"fiatCurrency"
String
Fiat currency of payout
Request curl
Example Curl
Last updated