Auto-convert deposits: THB ↔ USDT
Accept a deposit in one currency and be credited in the other automatically at the Binance TH rate — both USDT → THB and THB → USDT.
Examples
Overview
USDT → THB: call Create Payment (Crypto) — POST /v1/payment/createInvoicePayment/crypto — with auto_convert: true and convert_to: "THB". Customers pay USDT on TRON, Ethereum, or BSC, and your balance is credited in THB.
THB → USDT: call Create Payment (Fiat) — POST /v1/payment/createInvoicePayment/fiat — with auto_convert: true and convert_to: "USDT". Customers pay THB via PromptPay QR, bank transfer, or slip, and your balance is credited in USDT.
Either direction locks the Binance TH rate when the invoice is created, and the response returns merchant_amount — the exact amount you will receive in the target currency.
What changed
- Addedauto_convert: true with convert_to, to be credited in a different currency than the customer paid.
- AddedUSDT → THB on POST /v1/payment/createInvoicePayment/crypto (deposit on TRON / Ethereum / BSC).
- AddedTHB → USDT on POST /v1/payment/createInvoicePayment/fiat (pay via PromptPay QR / bank transfer / slip).
- AddedResponse includes merchant_amount, exchange_rate, and exchange_rate_source: "BINANCE_TH".
Before / After
- Deposits settled in the same currency the customer paid.
- Converting between THB and USDT was a separate, manual step.
- auto_convert: true credits your balance directly in the target currency.
- The Binance TH rate is locked when the invoice is created.
