Environments

Test mode vs live mode

Environment selection is key-driven. Runtime requests do not carry mode in the body.

Start free in test mode. Go live when you're ready.

Category: Operations2 sections

What is mode-scoped

  • Licenzy API keys
  • Stripe connection and webhook secret
  • Product catalog and Stripe price IDs
  • Runtime checkout, access and usage operations

How runtime mode is selected

Runtime mode is inferred from the API key. It is not sent in the request body for checkout, access or usage endpoints.

Warning
The wrong API key means the wrong environment. If a request looks correct but lands in the wrong mode, inspect the key first before debugging payloads.