EVM BEP-20

How to Test USDT Payments on BNB Smart Chain Testnet

Learn how to test BEP-20 USDT payments on BSC Testnet using Rabby, test BNB, and the BscScan contract interface.

Network Details

Network
BNB Smart Chain Testnet
Recommended Wallet
Rabby
Gas Token
BNB
Token Standard
BEP-20
Chain ID
97
Supported Assets: usdt

Supported Testnet Token Contracts

The following token contracts are configured for crptoX Sandbox. Use these exact contract addresses when obtaining test tokens or interacting with token contracts.

USDT BEP-20
View on Explorer
Contract Address
0xe935d9c9c24d02e61186c640cc01d713c876d40f
These contract addresses are for test networks only. Do not use them for mainnet payments. Before sending a test payment, verify the selected network, token contract, recipient address, and amount.

Useful Resources

Step 1 — Configure Your Wallet

Install Rabby, create a dedicated test account, and select the BNB Smart Chain Testnet test network. Verify the network configuration before submitting any transaction.

Use a dedicated testing wallet. Never share your private key or recovery phrase, and never enter it into a faucet or blockchain explorer.

Step 2 — Obtain Test Tokens

Request some test BNB to cover blockchain transaction fees. You will also need test USDT or USDC tokens supported by the crptoX Sandbox.

Use the network faucet to obtain test BNB. Gas tokens and test stablecoins are separate assets. Make sure you also hold the supported test token before attempting a transfer.

Important: Only transfers involving the token contracts monitored by crptoX Sandbox can be recognized as supported payments. Verify the exact testnet contract address before obtaining or transferring tokens.

Step 3 — Create a Sandbox Invoice

Create an invoice using your Sandbox API secret. The response includes the payment address and the amount to transfer.

درخواست BASH
curl -X POST https://crptox.com/api/v1/invoices \
  -H "Authorization: Bearer YOUR_SANDBOX_API_SECRET" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "Idempotency-Key: sandbox-test-1001" \
  -d '{
    "network": "bsc",
    "asset": "usdt",
    "amount": "1.000000",
    "description": "Sandbox test payment"
  }'

This request is an example. Use a valid amount accepted by your API configuration. The payment address must be taken from the actual API response.

Step 4 — Send the Test Payment

For EVM testnets, you can submit a token transfer directly through the blockchain explorer using the verified token contract and your Rabby wallet.

  1. Open the testnet blockchain explorer.
  2. Open the supported USDT or USDC token contract using the View on Explorer link provided above.
  3. Open the Contract section and select Write Contract or Write as Proxy, when applicable.
  4. Connect your Rabby wallet and verify the selected test network.
  5. Call transfer(address,uint256) using the invoice payment address and the amount converted to token base units.
  6. Review the transaction, confirm it in Rabby, and save the transaction hash.
ERC-20 / BEP-20 SOLIDITY
transfer(address to, uint256 amount)

Token Decimals

The transfer amount must be expressed in the token’s smallest unit. Use the decimals() function of the actual token contract. For example, one token with 6 decimals equals 1000000 units.

نمونه TEXT
1 token (6 decimals)  = 1000000
1 token (18 decimals) = 1000000000000000000

Step 5 — Verify the Payment

After submitting the transfer, inspect the transaction in the blockchain explorer and check how crptoX processes the payment.

  1. Open the transaction hash in the testnet explorer.
  2. Verify that the transaction succeeded.
  3. Confirm the recipient, token contract, and transferred amount.
  4. Check the invoice and payment status in crptoX after the required confirmations.
  5. Verify that your application received and processed the expected webhook.
Open Testnet Explorer

Explore Other Test Networks