Creates a new subscription plan with a recurring price. Common examples include Free, Pro, Business, or Teams tiers. After creating a plan, attach entitlements to define which features customers on this plan can access.
API key authentication. Include your API key in the Authorization header as: Bearer
Request to create a new subscription plan. After creating a plan, attach entitlements to define which features customers on this plan can access.
Display name for the plan (e.g., Pro, Business, Teams)
Price amount in the smallest currency unit (e.g., cents). Use 0 for free plans.
-9007199254740991 <= x <= 9007199254740991Detailed description of what the plan includes
Three-letter ISO currency code
Billing frequency: day, week, month, or year
day, week, month, year Number of intervals between billings
-9007199254740991 <= x <= 9007199254740991Default proration behavior when customers switch to this plan. Defaults to 'create_prorations'.
create_prorations, none, always_invoice When upgrades to this plan take effect. Defaults to 'immediate'.
immediate, at_billing_period_end When downgrades to this plan take effect. Defaults to 'at_billing_period_end'.
immediate, at_billing_period_end How billing cycle is handled when switching to this plan. Defaults to 'now' for upgrades.
now, unchanged The created plan object
A subscription plan that customers can subscribe to. Plans define pricing and billing intervals. Attach entitlements to a plan to grant features to all subscribed customers.
Unique identifier for the entitlement
Timestamp when the plan was created
Display name for the plan (e.g., Pro, Business, Teams)
Whether the plan is available for new subscriptions
Internal payment provider reference
Detailed description of what the plan includes
The default recurring price for this plan
Default proration behavior when customers switch to this plan
create_prorations, none, always_invoice When upgrades to this plan take effect. Defaults to 'immediate'.
immediate, at_billing_period_end When downgrades to this plan take effect. Defaults to 'at_billing_period_end'.
immediate, at_billing_period_end How billing cycle is handled when switching to this plan
now, unchanged