Skip to main content

Submit Withdrawal Order

Less than 1 minute

Submit Withdrawal Order

Tips

Initiate a withdrawal request, and after the system successfully processes the payment, the system will immediately perform a callback notification.

Interface Address

POST https://api.tronpaid.com/api/v1/withdraw/create

Interface Parameters

ParameterMeaningValidationTypeDescription
appidMerchant app IDRequiredstring(16)Merchant app ID
order_idMerchant order IDRequiredstring(64)System will include this parameter when notifying the merchant. Example: 201710192541
receive_tokenReceiving addressRequiredstring(64)TRC20-USDT address for receiving withdrawals
amountOrder amountRequiredstring(16)Precision up to two decimal places, currency unit: USDT
notify_urlCallback notification addressOptionalstring(256)1. After the system completes the payment, it will send a post message to this address. 2. This parameter does not need to be urlencode. Example: http://www.xxx.com/pay_notify. 3. Merchants can also configure this parameter uniformly in the background, and it can be omitted after configuration
attachMerchant custom dataOptionalstring(64)Merchant custom data, returned as-is during the callback
signSignature stringRequiredstring(32)Data signature

Interface Response

ParameterMeaningTypeDescription
order_idMerchant order IDstring(64)Merchant order ID
amountWithdrawal amountstring(16)Withdrawal amount, unit: USDT
feeWithdrawal feestring(16)Withdrawal fee, unit: USDT

Response Example

{
  "code": 200,
  "message": "success",
  "data": {
    "order_id": "1688832169",
    "amount": "100.67",
    "fee": "1.01"
    },
  "request_id": "8282f031-63a2-4229-b0a8-e2a5c1c84b29"
}
Last update:
Contributors: wesom