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/create up 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

MethodPathWho
POST/api/seller/licenses/createSeller + reseller
GET/api/seller/licenses/info?key=Seller + reseller
GET/api/seller?type=fetchallkeysSeller (all) / reseller (own)
GET/api/seller?type=fetchallusersSeller only