Breaking changes
Deprecates subscription prorate and subscription_prorate parameters Breaking changes
What’s new
Deprecates the prorate and subscription_prorate parameters in favour of proration_behavior.
Impact
By deprecating the prorate and subscription_prorate parameters in favour of the more comprehensive proration_behavior parameter, you can more precisely configure how prorating should be handled.
Changes
| Parameters | Change | Resources or endpoints |
|---|---|---|
| prorate | Removed | Subscription#create Subscription#update SubscriptionItem#create + 4 more SubscriptionItem#delete SubscriptionItem#update SubscriptionSchedule#update SubscriptionSchedule. phases[] |
| proration_behavior | Added | SubscriptionSchedule. phases[] |
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 .
Learn more about Stripe API upgrades.