中級5 分鐘閱讀
USDT Tron 收款接入
面向穩定幣支付場景,快速接入 TRON 網路 USDT 收款。
適用場景
- SaaS 訂閱付款
- 跨境數字服務付費
- 遊戲與會員充值
- 代理商批次結算
下單關鍵引數
- `currency=USDT`
- `network=tron`
- `mch_order_id` 保證全域性唯一
- 配置 `notify_url` 和 `redirect_url`
到帳與確認
建議以後端 webhook 狀態為準,不要僅以前端跳轉頁判斷支付成功。可對到帳訂單增加二次確認任務。
API Example
const order = await polypay.orders.create({
amount: 39.9,
currency: 'USDT',
network: 'tron',
mchOrderId: 'SUB_20260303_1001',
notifyUrl: 'https://merchant.example.com/api/polypay/webhook',
redirectUrl: 'https://merchant.example.com/payment/success'
});
console.log(order.paymentUrl);