What testnets does XPayLabs support?
Configuration
Configure testnet RPC endpoints in your gateway configuration:How to test the full payment flow
1. Get Test Tokens
Visit the faucet for your chosen testnet and request test USDT or native tokens (TRX, ETH, BNB). You’ll need:- Native gas tokens (TRX, ETH, BNB) to pay blockchain fees
- Test USDT to simulate customer payments
2. Create a Test Collection
3. Send Test USDT
Send the exact amount of test USDT to the deposit address returned in the response. For TRON Shasta:- Use a test wallet (e.g., TronLink on Shasta network)
- Send test USDT from a faucet or another test wallet
4. Verify the Webhook
Your configured webhook endpoint should receive events:ORDER_PENDING— Order createdORDER_PENDING_CONFIRMATION— Transaction detected (within seconds)ORDER_SUCCESS— Payment confirmed
5. Test a Payout
How to test edge cases
Going Live
When your integration is working correctly on testnet:- Configure mainnet RPC endpoints in the gateway configuration.
- Switch chain values from testnet (e.g.,
TRON_TEST) to mainnet (e.g.,TRON). - Fund your gateway hot wallet with real tokens and gas.
- Test with a small real transaction before scaling up.

