Create Withdrawal
Initiate a withdrawal of TRX or USDT to any valid TRON address. The withdrawal enters a PENDING state and is processed by the treasury signer.
POST
/api/v1/withdrawRequires authenticationIdempotency
This endpoint supports the Idempotency-Key header. Sending the same key within 24 hours returns the original response without creating a duplicate withdrawal.
Request body
addressstringREQUIREDDestination TRON address (base58 format)
amountnumberREQUIREDAmount to withdraw in SUN (1 TRX = 1,000,000 SUN)Minimum: 50 TRX (50,000,000 SUN)
currencystringREQUIREDCurrency to withdrawOne of:
TRXUSDTHeaders
Idempotency-KeystringOPTIONALUnique key to prevent duplicate withdrawals. Valid for 24 hours.
Request examples
curl -X POST https://merx.exchange/api/v1/withdraw \
-H "X-API-Key: sk_live_your_key_here" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: wd-20260329-001" \
-d '{
"address": "TYourDestinationAddress",
"amount": 50000000,
"currency": "TRX"
}'Response
Returns the created withdrawal object. The status begins as PENDING and transitions to COMPLETED once the on-chain transaction confirms.
200Withdrawal created
{
"id": "wd_a1b2c3d4",
"status": "PENDING",
"amount": 50000000,
"currency": "TRX",
"address": "TYourDestinationAddress"
}Response fields
idstringUnique withdrawal identifierstatusstringCurrent status: PENDING, COMPLETED, or FAILEDamountnumberWithdrawal amount in SUNcurrencystringTRX or USDTaddressstringDestination TRON address400Insufficient balance or invalid address
{
"error": {
"code": "INSUFFICIENT_BALANCE",
"message": "Available balance is less than the requested amount"
}
}