Breaking changes
Plan tiers are no longer auto-expanded by default Breaking changes
What’s new
The tiers property on Plan is no longer included by default.
Impact
Lets you optimize performance by not automatically including the tiers property on the Plan object. You can still list the tiers, but Stripe recommends against it for performance reasons.
Changes
| Field | Change | From → to |
|---|---|---|
| Plan. tiers | Changed | array(PlanTier) → nullable(array(PlanTier)) |
Upgrade
- View your current API version in Workbench.
- If you use an SDK, upgrade to the corresponding SDK version for this API version.
- If you don’t use an SDK, update your API requests to include Stripe-Version: 2020-08-27
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
- In Workbench, perform the upgrade . You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.
