Medusa Panel › Account › Manage Accounts
You can resell access without handing out administrator rights. A reseller manages their own subscribers and pays for them in credits; a sub-reseller sits one level below. The same actions are available over the REST API, so a billing system can provision automatically.
Roles
- Administrator — manages everything and every account, and is not charged credits.
- Reseller — manages only their own subscribers and the packages they are allowed to sell.
- Sub Reseller — created by a reseller, one level below, managing their own subscribers underneath that reseller.
Credits
Every account holds a credit balance. When a subscriber’s package is assigned or renewed, its cost in credits is booked against the owner. An administrator tops up a reseller’s balance (Apply Credits); a reseller can pass credits down to its sub-resellers. Administrators are never charged.
Create a reseller
Open Medusa Panel › Account › Add Account. Set its Role (Reseller or Sub Reseller), give it a starting credit balance, and choose which packages it may sell — see Bouquets, prices and limits.
Do it over the API
Everything above is scriptable over the REST API: create subscribers, assign and renew packages, and read usage. A billing platform such as WHMCS can call it to provision accounts the moment an order is paid. Authenticate first, then call the endpoints:
- Authentication — obtain and use an API token.
- Endpoints — the calls for subscribers and packages.
Related
- Bouquets, prices and limits — the packages resellers sell.
- Authentication — sign API calls.
- Endpoints — the API calls themselves.