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

address
string
required
Target TRON address to receive energy
energy_amount
number
Energy amount (32,000 – 5,000,000). Use this OR transfer_count.
transfer_count
number
Number of USDT transfers (1 – 100). Each transfer = 65,000 energy.
duration_hours
number
required
Rental duration (1 or 24 hours)

Response

invoice_id
number
Unique invoice identifier
payment_address
string
Unique deposit address — send TRX or USDT here
price_trx
string
Price in TRX
price_usdt
string
Price in USDT
status
string
Invoice status: pending, paid, delegated, expired, failed
expires_at
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.