Integrate Kitron energy rental into your applications
1. Get your API key from the dashboard after signing in
2. Include your credentials in request headers:
/accountGet account information and balance
{"email": "user@example.com", "balance_trx": 100.5}/ordersCreate a new energy rental order
{"wallet_address": "TXxxx...", "energy_amount": 65000, "duration_hours": 1}{"id": 123, "status": "pending", "total_trx": 2.5}/orders/:idGet order status and details
/calculator/estimateEstimate cost for energy rental
{"energy_amount": 65000, "duration_hours": 1}{"best_price_sun": 30, "total_trx": 2.145}Receive real-time notifications when events occur. Configure webhooks in your dashboard.
order.created - New order placedorder.completed - Energy delegatedorder.failed - Order faileddeposit.received - TRX/USDT received{ "event": "order.completed", "timestamp": "2026-01-08T12:30:00Z", "data": { "order_id": 123, "wallet_address": "TXxxx...", "energy_amount": 65000, "duration_hours": 1, "total_trx": 2.09, "tx_hash": "abc123...", "expires_at": "2026-01-08T13:30:00Z" }}Each webhook includes a signature header for verification:
Verify by computing HMAC-SHA256 of the raw request body using your webhook secret.