Documentation Index
Fetch the complete documentation index at: https://docs.tronrental.com/llms.txt
Use this file to discover all available pages before exploring further.
Webhooks
Configure a webhook URL to receive real-time HTTP POST notifications when events occur on your account.Supported events
| Event | Description |
|---|---|
order.filled | Energy order completed |
order.failed | Energy order failed |
deposit.confirmed | Deposit credited to balance |
invoice.paid | Invoice payment received |
invoice.delegated | Invoice energy delegated |
smart_mode.transfer | Smart Mode transfer processed |
withdrawal.completed | Withdrawal sent |
Webhook payload
Requirements
- URL must use HTTPS
- Must respond with
2xxstatus within 10 seconds - Failed deliveries are retried up to 3 times with exponential backoff
Verifying webhook signatures
Every webhook request includes anX-Webhook-Signature header containing an HMAC-SHA256 signature. Use this to verify that the request is from TronRental.
The signature is computed over the raw request body using your webhook secret (returned when you configure your webhook).