Breaking changes
Renames billing to collection_method on invoices, subscriptions, and subscription schedules Breaking changes
What’s new
Renames the billing attribute on invoices, subscriptions, and subscription schedules to collection_method.
Impact
The terminology now better reflects the purpose of the attribute, which is to specify how the payment will be collected, rather than just the billing mechanism.
Changes
| Parameters | Change | Resources or endpoints |
|---|---|---|
| billing | Removed | Invoice Invoice#create Invoice#list + 7 more Subscription Subscription#create Subscription#list Subscription#update SubscriptionSchedule SubscriptionSchedule#create SubscriptionSchedule#update |
| collection_method | Added | Invoice Subscription SubscriptionSchedule |
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: 2019-10-17
- 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.
