Resellers

Manage sub-resellers with the classic XC action layout. Admin keys operate on every reseller on the panel. A reseller key can create sub-resellers under itself with the subresellers:write scope, list and read its own sub-resellers (and theirs) with subresellers:read, and transfer credits from its own balance to them with subresellers:credits (action=adjust_credits); editing stays admin-only.

Endpoints

Endpoint Action What it does
List users action=get_users Paginated list of resellers (or sub-resellers under the caller).
Get user action=get_user Full record for one reseller (reseller keys: own sub-resellers only).
Create user action=create_user Creates a reseller (admin) or a sub-reseller under the caller.
Edit user action=edit_user Applies a partial update to a reseller's profile and permissions.
Adjust credits action=adjust_credits Applies a delta to a reseller's credit balance or user cap.