Create Subscription
Creates a new subscription for an existing customer. When payment is required and no payment method exists, returns a checkout URL.
Authorizations
Server API Key
Headers
Account ID — optional when authenticating with a user JWT (Bearer token); falls back to the user's first membership. Ignored for API-key auth.
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).
Body
Provision a subscription. Returns subscription or checkout URL.
Customer ID to provision the subscription for
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.@-]*$Plan ID to provision
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$Unique identifier for the subscription
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$Optional paying customer ID for split billing scenarios
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.@-]*$Optional resource ID for multi-instance subscriptions
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$Billing period (MONTHLY or ANNUALLY)
MONTHLY, ANNUALLY Subscription start date
Subscription cancellation date
External billing system identifier
255The ISO 3166-1 alpha-2 country code for billing
255Feature entitlement configuration for a subscription
- SubscriptionFeatureEntitlementRequest
- SubscriptionCreditEntitlementRequest
Trial period override settings
Strategy for scheduling subscription changes
END_OF_BILLING_PERIOD, END_OF_BILLING_MONTH, IMMEDIATE Checkout page configuration for payment collection
Additional metadata for the subscription
Salesforce ID
255Minimum spend amount
How payments should be collected for this subscription
CHARGE, INVOICE, NONE Coupon configuration
Whether to wait for payment confirmation before returning the subscription
Unit quantity for per-unit pricing. Minimum is 0 (zero is allowed).
x >= 0Billing cycle anchor behavior for the subscription
UNCHANGED, NOW Response
The newly created subscription object.
Response object
Provisioning result with status and subscription or checkout URL.
