Breaking changes
Renames the rendering_options attribute for invoices to renderingBreaking changes
What’s new
Renames the rendering_ attribute for invoices to rendering.
Impact
Renaming the rendering_ attribute for invoices to rendering simplifies the attribute’s name. You need to update your code to access and modify these invoice rendering settings under the new rendering structure.
Changes
| Parameter | Change | Resources or endpoints |
| rendering_options | Changed | |
| Field | Change | From → to |
| Invoice | Changed | nullable(map(string: string)) → InvoiceSettingRenderingOptions |
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: 2024-04-10
- 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.