Reseller tokens
Reseller tokens let a third party mint license keys for you — within limits you set — without ever touching your dashboard.
Create tokens under Tokens in the dashboard. A token looks like lumtk_… (shown once) and fixes what any key minted with it may be: its level, duration, and an optional max uses cap. Hand a token to a reseller or wire it into a Discord/Telegram bot or a store webhook.
/manage/1.x/licenseMints a new license key with the token's level and duration. Returns 403 once the token's max-uses cap is reached, 401 if the token is invalid or paused.
curl -X POST function(){throw Error("Attempted to call BASE() from the server but BASE is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")}/manage/1.x/license \
-H "Authorization: Bearer lumtk_..."{ "success": true, "license": "LUMEN-XXXXX-XXXXX-XXXXX-XXXXX" }Every mint is recorded as a license event (see Event Logs) and counts against the token's uses. Pause or delete a token from the dashboard to cut a reseller off instantly. Keep tokens out of source control — treat them like passwords.