Skip to main content
POST
Create Invoice

Create Invoice

Creates a payment invoice that generates a unique deposit address. When payment (TRX or USDT) is received, energy is automatically delegated to the target address. Useful for integrations where end-users pay directly — no account balance needed.

Request body

string
required
Target TRON address to receive energy
number
Energy amount (32,000 – 5,000,000). Use this OR transfer_count.
number
Number of USDT transfers (1 – 100). Each transfer = 65,000 energy.
number
Bandwidth amount to rent. Optional add-on: energy and bandwidth can be combined in one invoice.
string
Bandwidth rental duration: 1h or 1d. Energy is always hourly.

Response

string
Unique invoice identifier
string
Unique deposit address — send TRX or USDT here
string
Price in TRX
string
Price in USDT
string
Invoice status: pending, paid, delegated, expired, failed
string
ISO 8601 expiration timestamp

Example

Response
Invoices expire after 30 minutes if no payment is received. Both TRX and USDT payments are accepted at the generated address.