Tron · TRC-20

TRC-20 USDT payment gateway

USDT on Tron is the network many customers reach for when they want to send a stablecoin with low network fees. Payaries gives each invoice its own Tron deposit address and tells your backend when it's confirmed.

Updated · 2 min read

01How to integrate

Create an invoice with the asset USDT_TRC20 on tron-mainnet. The response carries a one-time Tron deposit address, the amount due and the confirmations required.

Request
POST /v1/invoices

{
  "referenceId": "order_10231",
  "fiat": { "amount": "49.99", "currency": "USD" },
  "crypto": { "asset": "USDT_TRC20", "chainId": "tron-mainnet" }
}

Requests are signed with HMAC-SHA256; the Node SDK does it for you. See the crypto payment API.

02Detection and confirmation

Payaries watches the address. When the transfer appears the invoice moves to detected, then confirming while confirmations accrue, and to confirmed when the required number is reached — your ledger is credited at that point and an invoice.status_changed webhook fires. The required number is returned on each invoice (confirmations.required). Why confirmations matter.

03Settlement, gas and withdrawals

  • Payaries sweeps the deposit to your own Tron wallet; once that confirms, the amount is withdrawable.
  • Moving a TRC-20 token costs TRX. Where Payaries's gas station covers Tron you hold none — the cost is recovered as a network fee inside the transaction. Otherwise keep a little TRX in your Tron wallet. Read gasSponsored on the wallet rather than assuming; see network fees and the gas station.
  • Withdraw to any Tron address on demand, from the dashboard or the API.

04Tell customers which network

Questions

Which assets can I accept on Tron?
TRX and USDT (TRC-20). Deposits and withdrawals are both supported on Tron. The live list is always available from GET /v1/chains.
Do I need TRX to withdraw USDT?
Only where Payaries's gas station doesn't cover Tron: then your own Tron wallet needs a little TRX for the network fee. Where the station covers it, the fee is recovered inside the transaction and you hold none.
Which asset ID do I use?
USDT_TRC20 with chainId tron-mainnet.

Next

Run a real invoice before you commit

Test keys work immediately, with no approval step. Payaries runs on real mainnet networks, so use a small real payment to test.