Billing
Keep a customer's plan
Keep a plan that was set to end. A customer with no subscription is plan_no_subscription. Requires scope: billing:portal.
POST
Keep a customer's plan
Authorizations
A Custral API key, created in Settings → Developers → Applications, sent as Authorization: Bearer sk_…. The X-Api-Key header is also accepted and takes precedence. Use a secret key (sk_…) from your server; a publishable key (pk_…) may hold only objects:read and usage:write. Never expose a secret key in a browser.