Subscriptions
Provision subscription
Creates a new subscription for an existing customer. When payment is required and no payment method exists, returns a checkout URL.
post/api/v1/subscriptions
Headers
X-ACCOUNT-IDstring
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
X-ENVIRONMENT-IDstring
Environment ID — required when authenticating with a user JWT (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is intrinsic to the key).
Request body
Response
The newly created subscription object.