{
  "service": "tutor-flow-license-server",
  "message": "tutor-flow-license-server",
  "routes": {
    "POST /api/license/activate": "Activate a license key on a device.",
    "POST /api/license/validate": "Re-check an activated key.",
    "POST /api/license/portal": "Mint a Creem customer-portal link.",
    "POST /api/plans": "List the subscription plans and their current prices.",
    "POST /api/checkout": "Start a Creem checkout for a plan ({ plan: 'annual' | 'monthly' }).",
    "POST /api/referral/mine": "Retrieve your referral code and sharing link.",
    "POST /api/webhook/creem": "Creem webhook receiver. This is the full path to configure as the Endpoint URL in Creem's dashboard -- pointing it at the bare hostname 404s every delivery.",
    "GET /api/diagnostics": "Config and Creem-connectivity report. Add ?key=<license key> to probe one key."
  }
}