Skip to main content
Send crypto payments from your XPayLabs gateway wallet to any external blockchain address using the payout API. Supports USDT, USDC, and other stablecoins on TRON, EVM chains, and SUI.

How to create a payout

Call POST /v1/order/createPayout with the destination address, amount, symbol, and chain:

Request Parameters

ParameterRequiredDescription
amountYesAmount as decimal string (e.g., "50.00")
symbolYesToken symbol (e.g., "USDT")
chainYesBlockchain network
receiveAddressYesDestination blockchain address
orderIdNoYour identifier for this payout
uidNoYour user identifier

Address Validation

The gateway validates the receiveAddress format for the specified chain before processing:
ChainAddress FormatExample
TRONBase58, starts with TTWkKZkmuB8DpVeiMoHiKf99ZoFHzk73CqR
EVM (ETH, BSC, POLYGON)Hex, starts with 0x0x05E833cF6a895a9ABe408FD6a8d5e0d3DB2Fec5A
SUIHex, starts with 0x0x24f672b38299ae651f7598f4994ade780c38aeffa4e595c79ab73d3d176543cd
If the address format is invalid, the API returns "ReceiveAddress error".

How to track payout status

After creating a payout, track its status using the order status endpoint:

What payout statuses are there?

StatusDescription
PENDINGPayout created, awaiting processing
PENDING_CONFIRMATIONTransaction submitted to blockchain
SUCCESSPayout confirmed on-chain
FAILEDPayout failed (insufficient balance, etc.)

What webhook events do payouts trigger?

Payouts also trigger webhook events:
EventWhen
ORDER_PENDINGPayout order created
ORDER_PENDING_CONFIRMATIONTransaction submitted
ORDER_SUCCESSPayout confirmed on-chain
ORDER_FAILEDPayout failed

Important security notes

  • Blockchain transactions are irreversible. Double-check the receiveAddress before submitting.
  • The gateway validates address format but cannot verify the address is owned by the intended recipient.
  • Payouts consume blockchain gas fees (TRX for TRON, ETH gas for EVM chains).
  • Ensure your hot wallet has sufficient balance (including gas tokens) before initiating payouts.
Last modified on June 26, 2026