Seller & resellers
Automate shops without leaking keys
The seller key is never in a query string. Header only.
Authorization: Bearer sk_live_…
Owner seller key
API keys tab → Generate. Shown once. Can mint any level, list users, files, vars.
curl -X POST https://api.keyguard.live/api/seller/licenses/create \
-H "Authorization: Bearer sk_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d "{\"amount\":5,\"prefix\":\"SHOP\",\"level\":1,\"expiryAmount\":30,\"expiryUnit\":\"days\"}"
Resellers
Resellers tab: name + max level. They receive their own sk_live_ key.
- They can
POST /api/seller/licenses/createup to that level. - They can list only keys they created.
- They cannot fetch users, files, vars, whitelist, or change the app.
Revoke in the panel and their key dies immediately.
Useful routes
| Method | Path | Who |
|---|---|---|
| POST | /api/seller/licenses/create | Seller + reseller |
| GET | /api/seller/licenses/info?key= | Seller + reseller |
| GET | /api/seller?type=fetchallkeys | Seller (all) / reseller (own) |
| GET | /api/seller?type=fetchallusers | Seller only |