Removes the include_and_require value when creating invoicesBreaking changes
What’s new
The pending_ parameter on Create an invoice no longer supports the include_ value. When the parameter is omitted, the default value of pending_ is now exclude.
Impact
Pending invoice items are no longe automatically included, giving you more control and flexibility in managing pending invoice items when creating invoices.
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: 2022-08-01
- If you don’t use an SDK, update your API requests to include
- 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.