v8
latestOpenAPI 3.1.02026-08-033623795.0 MBCreate Plan
Create a new pricing plan for a product. The plan defines the billing interval, price, and availability for customers.
Headers
A unique key that makes this request safe to retry. See Idempotent requests.
Request body
The unique identifier of the account to create this plan for. Defaults to the caller's account.
Whether this plan accepts local currency payments via adaptive pricing.
Recurring billing interval in days, such as 30 for monthly or 365 for annual.
Checkout styling overrides for this plan.
The three-letter ISO currency code for the plan's pricing. Defaults to USD.
A text description of the plan displayed to customers on the product page.
Access duration in days before the membership expires.
Initial amount charged in the plan's currency, e.g. 10.43 for $10.43.
Private notes visible only to the account owner. Not shown to customers.
Custom key-value pairs to store on the plan. Included in webhook payloads for payment and membership events. Max 50 keys, 100 chars per key, 500 chars per string value.
Override the default tax classification for this specific plan.
Plan billing type, such as one_time or renewal.
The unique identifier of the product to attach this plan to.
Sales method for this plan.
The amount charged each billing period for recurring plans, in the plan's currency.
Installment payments required before the subscription pauses.
The maximum number of units available for purchase. Ignored when unlimited_stock is true.
3D Secure behavior for this plan. Send null to inherit the account default.
The display name of the plan shown to customers on the product page.
Free trial duration before the first recurring charge.
Whether the plan has unlimited stock. When true, the stock field is ignored.
Whether the plan is visible to customers or hidden from public view.
Response
plan created
Account that sells this plan; null for standalone invoice plans.
Whether adaptive pricing is enabled for this plan. Raw setting — does not check processor compatibility or feature flags.
Number of days between recurring charges, such as 30 for monthly or 365 for annual. null for one-time plans.
Billing intervals the cancellation discount applies to (0 forever, 1 first payment, or a month count). null when none is offered or the actor lacks the plan:basic:read scope.
Cancellation discount as a whole-number percentage. null when none is offered or the actor lacks the plan:basic:read scope.
Plan-level checkout styling (background_color, button_color, font_family, border_style); null inherits the account default.
Whether tax is collected on purchases of this plan, based on the account's tax configuration.
When the plan was created, as an ISO 8601 timestamp.
Three-letter ISO currency code for this plan's prices.
Whether the plan can be deleted (it has no memberships or waitlist entries). null unless the actor has the plan:basic:read scope on the plan's account.
Customer-visible plan description. Maximum 1000 characters. null if no description is set.
Access duration in days for expiration-based plans, such as 365 for a one-year pass. null for plans without an expiration.
Human-readable price for display (currency + interval), e.g. "$10 / month".
Plan ID, prefixed plan_.
Pricing-tier image (url, blurhash) shown on the product page; null when no image is set.
Initial purchase price in plan currency.
Private notes not shown to customers. null unless the actor has the plan:basic:read scope on the plan's account.
Invoice this plan was generated for; null unless created for an invoice.
Active memberships through this plan. null unless the actor has the plan:basic:read scope on the plan's account.
Custom key-value pairs stored on the plan. Included in webhook payloads for payment and membership events. Maximum 50 keys, 100 characters per key, 500 characters per value.
Whether a cancellation discount is offered. null unless the actor has the plan:basic:read scope on the plan's account.
Payment method configuration (enabled, disabled, include_platform_defaults); null when plan uses default settings.
Billing model for this plan.
Product this plan belongs to; null for standalone plans.
URL where customers can purchase this plan directly.
Sales method for this plan.
Recurring price charged every billing period.
Installment payments required before the subscription pauses. Must be greater than 1. null if split pay is not configured.
Units available for purchase. null unless the actor has the plan:basic:read scope on the plan's account.
Original initial price shown with a strikethrough, in the plan's currency. null when no strikethrough is set.
Original renewal price shown with a strikethrough, in the plan's currency. null when no strikethrough is set.
How tax is handled for this plan, including whether tax is included in the price, added at checkout, or not configured.
3D Secure behavior for this plan; null inherits the account default.
Plan display name shown to customers. Maximum 30 characters. null if no title has been set.
Free trial days before the first renewal charge. null if no trial is configured or the user has already used a trial for this plan.
Whether the plan has unlimited stock. When true, the stock field is ignored; waitlist plans always report true.
When the plan was last updated, as an ISO 8601 timestamp.
Controls where this plan can be seen. When hidden, the plan is reachable only by its direct link.
Example response
{
"currency": "usd",
"custom_fields": [
{
"field_type": "text"
}
],
"plan_type": "renewal",
"release_method": "buy_now",
"tax_type": "inclusive",
"three_ds_level": "mandate_challenge",
"visibility": "visible"
}