Generates QR code data for payment addresses. Supports both on-ramp (ON_RAMP_BUY) and off-ramp (OFF_RAMP_SELL) orders.
For Off-Ramp Orders:
For On-Ramp Orders:
QR Code Format:
tron:{address}?amount={amount_in_smallest_unit}ethereum:{address}?value={amount_in_smallest_unit}The frontend can use any QR code library to generate an image from the qr_code_data or uri field.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Order ID
QR code data generated successfully
QR code data string (payment URI)
"tron:TYuPXD3E3ckuTAmCU5kiuNQjnYrcSBViMq?amount=12500000"
Payment address (escrow for off-ramp, customer wallet for on-ramp)
"TYuPXD3E3ckuTAmCU5kiuNQjnYrcSBViMq"
USDT amount in standard format
"12.50000000"
Blockchain network
"tron"
Full payment URI (same as qr_code_data)
"tron:TYuPXD3E3ckuTAmCU5kiuNQjnYrcSBViMq?amount=12500000"