Reseller API
One endpoint, HTTP POST, JSON responses. Get your key from Account.
Endpoint POST https://tg7panel.net/api/v2
Format application/x-www-form-urlencoded
Every request is a POST that includes your key and an action. Order IDs are text strings, and failures come back as { "error": "..." }. Limit: 120 requests per minute per key.
action=services
Parameters: key
[{ "service": 1003, "name": "...", "type": "Default", "category": "...", "rate": "0.3500", "min": 20, "max": 50000, "refill": true, "cancel": false, "dripfeed": false }]action=add
Parameters: key, service, link, quantity (optional: runs, interval)
{ "order": "6650f1c2a9b3d4e5f6071829" }action=status
Parameters: key, order
{ "charge": "0.3500", "start_count": "120", "status": "In progress", "remains": "400", "currency": "USD" }action=orders
Parameters: key, orders (comma-separated, up to 100)
{ "6650f1c2a9b3d4e5f6071829": { "charge": "0.3500", "start_count": "120", "status": "Completed", "remains": "0", "currency": "USD" } }action=refill
Parameters: key, order
{ "refill": "1" }action=cancel
Parameters: key, orders (comma-separated)
[{ "order": "6650f1c2a9b3d4e5f6071829", "cancel": 1 }]action=balance
Parameters: key
{ "balance": "42.1800", "currency": "USD" }