Creates a new payout order, sending funds from your gateway-managed wallet to an external blockchain address. The gateway validates the receive address format for the specified chain before processing.Documentation Index
Fetch the complete documentation index at: https://docs.xpaylabs.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
POST http://your-gateway:3010/v1/order/createPayout
Headers
| Header | Value |
|---|---|
Content-Type | application/json |
Body Parameters (data field)
The payout amount as a decimal string, e.g.
"50.00". Must be greater than zero.The token symbol to send, e.g.
"USDT". Must be a supported symbol on the specified chain.The blockchain network for the payout. Must match the network of the receive address:
TRON— TRC20ETH— ERC20BSC— BEP20POLYGON— PolygonAVAX_C_CHAIN— AvalancheSUI— SUI Network
The destination blockchain address. The gateway validates the address format for the specified chain. Example:
"TWkKZkmuB8DpVeiMoHiKf99ZoFHzk73CqR" (TRON) or "0x..." (EVM).Your unique order identifier. Required for V3 merchants.
Your internal user identifier. Required for V2 merchants. Cannot be
"0".cURL
Response
A successful request returns HTTP200 with the R<PaymentAddress> envelope.
PaymentAddress Object
The source address the payout will be sent from. Example:
"TWkKZkmuB8DpVeiMoHiKf99ZoFHzk73CqR".The payout amount. Matches the request amount.
The token symbol. Example:
"USDT".The blockchain network. Example:
"TRON".Your order identifier, echoed back from the request.
Unix timestamp when this payout request expires.
Example Response
Error Responses
| Code | Message | Cause |
|---|---|---|
400 | "The receiveAddress cannot be left blank." | receiveAddress is missing or empty |
400 | "ReceiveAddress error" | The address format is invalid for the specified chain |
400 | "The amount cannot be left blank." | amount is missing |
400 | "The symbol cannot be left blank." | symbol is missing |
400 | "The chain cannot be left blank." | chain is missing |

