Resellers
Admin endpoints for managing resellers and their billing. A reseller key can only reach POST /resellers and only to create a sub-reseller under itself. All other endpoints in this group require an admin key with the resellers:read or resellers:write scope.
Endpoints
| Endpoint | Method and path | What it does |
|---|---|---|
| List resellers | GET /resellers |
Paginated list of every reseller on the panel. |
| Create a reseller | POST /resellers |
Creates a reseller (admin) or a sub-reseller under the caller (reseller with subresellers:write). |
| Get a reseller | GET /resellers/{id} |
Full record for one reseller. |
| Update a reseller | POST /resellers/{id}/update |
Applies a partial update to the reseller's profile and permissions. |
| Read billing state | GET /resellers/{id}/billing |
Current billing mode (credits or users), balance and effective caps. |
| Adjust billing | POST /resellers/{id}/billing/adjust |
Applies a delta to the reseller's credit balance or user cap. |