Skip to main content
Test your XPayLabs integration on blockchain testnets before processing mainnet transactions. Testnet networks simulate the real blockchain environment without using real funds — get test USDT from faucets and verify the complete collection-to-webhook flow risk-free.

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:
  1. ORDER_PENDING — Order created
  2. ORDER_PENDING_CONFIRMATION — Transaction detected (within seconds)
  3. ORDER_SUCCESS — Payment confirmed

5. Test a Payout


How to test edge cases

Going Live

When your integration is working correctly on testnet:
  1. Configure mainnet RPC endpoints in the gateway configuration.
  2. Switch chain values from testnet (e.g., TRON_TEST) to mainnet (e.g., TRON).
  3. Fund your gateway hot wallet with real tokens and gas.
  4. Test with a small real transaction before scaling up.
Testnet USDT and gas tokens have no real value. You can be as liberal as you like with test transactions. Use this to thoroughly verify your webhook handling, order status polling, and error handling logic.
Last modified on June 26, 2026