Skip to Content
StagePayDocs v2

USDT Merchant Setup

How to configure networks, receiving addresses, confirmations, validity period, and underpayment tolerance to enable USDT payments.

USDT settings are stored per app (PG code USDT). Enter them in the console under Apps → Payment methods → USDT, or ask the operations team.

Settings

KeyExampleDefaultDescription
networksTRC20,ERC20—Active networks (comma-separated). Networks without an address are automatically disabled
address_TRC20TQn9Y2khEsLJW1ChVWFMSMeRDow5KcbLSE—Tron receiving address (T… base58). Register several, comma-separated, for round-robin
address_ERC200x8ba1f109551bD432803012645Ac136ddd64DBA72—Ethereum receiving address (0x + 40 hexadecimal characters)
address_BEP200x…—BNB Smart Chain receiving address
address_POLYGON0x…—Polygon receiving address
confirmations_<NETWORK>12TRC20 19, ERC20 12, BEP20 15, POLYGON 128Number of confirmations required to confirm a payment (minimum 1)
expire_minutes3030Payment validity period (minutes). Clamped to the 5–1440 range
underpay_tolerance_minor00Underpayment tolerance (micro-USDT). Example: 10000 = confirmed even if short by up to 0.01 USDT
min_amount_minor1000010000 (0.01 USDT)Minimum payment amount (micro-USDT)
qr_modeaddressaddressQR content. address (address only) or eip681 (a payment URI including token and amount on EVM networks)
assetsBTC,ETH,USDC_ERC20,XRP—New asset rails (comma-separated). See Supported crypto assets for codes. Can be combined with networks (networks keeps the legacy aliases: ETH = USDT ERC20)
address_<METHOD>address_BTC, address_XRPaddress of another rail on the same chainReceiving address per rail. If empty, the address of another rail on the same chain is used (e.g. one address_ERC20 receives ETH, USDT and USDC; address_TRC20 also receives TRX; address_SOL also receives USDC_SOL). BTC/LTC require valid bech32/base58 checksums, EVM EIP-55, Solana a wallet address, XRP a classic address (r…)
quote_minutes1515Price lock and payment validity for volatile assets (BTC etc.), in minutes. 5 to expire_minutes
underpay_tolerance_bps5050 (0.5%)Underpayment tolerance for volatile assets in basis points. Per rail: underpay_tolerance_bps_<METHOD>
underpay_tolerance_minor_<METHOD>1000—Absolute tolerance per rail, in that rail's minimum unit (sat for BTC)
qr_mode_<METHOD>uriuri for new native coins, otherwise addressQR content per rail. uri = BIP-21 / EIP-681 / Solana Pay payment URI

Double-check your addresses

If an address has an invalid format, it is ignored and a configuration warning is shown. Even if the format is valid, always confirm that you hold the private key for the address. Funds sent to a wrong address cannot be recovered. Exchange deposit addresses are not recommended, because they may require a memo/tag or may not handle smart contract deposits.

Each app needs its own receiving addresses

Receiving addresses are per app, like PG credentials. If two apps use the same address on the same chain, a deposit cannot be attributed to an app, so an address already used by another app cannot be saved ("This address is used by another app …"). An address that is already shared is not used for new orders, its rail is hidden from the payment method screen, and the console Crypto wallets page shows it as an error — change the address or turn the rail off in one of the apps. Within one app, rails on the same chain (e.g. ETH · USDT ERC20 · USDC ERC20) may share one address.

  • Network selection: Offer the low-fee TRC20, BEP20, and POLYGON by default, and use ERC20 only for high-value payments (gas fees are high).
  • Confirmations: We recommend the defaults. Lowering them speeds up confirmation but increases the risk of chain reorganizations (reorgs).
  • Address pool: If you have many concurrent payments, register two or more addresses per network. Each address supports up to 9,999 concurrent pending orders with the same base amount.
  • Validity period: We recommend 30 minutes. If it is too short, payments expire while customers are still sending, increasing late cases.

Opening the checkout

https://pay.stagepay.io/request?appId=6650f0c2a1b2c3d4e5f60718&pg=USDT&method=TRC20&productId=gem_100&currency=KRW&userId=user_42
  • currency is the currency of the product price (e.g. KRW). The USDT amount is calculated at the exchange rate at payment time. If the product has a USDT price, you can use currency=USDT without conversion.
  • If you omit method, the customer chooses from the active networks.
  • Assets other than USDT are opened with pg=CRYPTO: …/request?appId=…&pg=CRYPTO&method=BTC&productId=gem_100&currency=KRW&userId=user_42. Store the same keys under plugin ID USDT or CRYPTO; when both exist, the CRYPTO value wins. See Supported crypto assets.

Operational checks

  • Periodically reconcile the actual balance of your receiving addresses against StagePay transaction history. You can also see unmatched deposits (deposits not matched to any order) in the console.
  • When replacing an address, add the new address first, and remove the old address only after all pending orders have finished (after the validity period + 24 hours).

On this page