Breaking changes
Customer sources are no longer auto-expanded by default Breaking changes
What’s new
The sources property on Customers is no longer included by default.
Impact
Lets you optimise performance by not automatically including the sources property on the Customer object. You can still expand the list of sources, but Stripe recommends it for performance reasons.
Changes
| Field | Change | From → to |
|---|---|---|
| Customer. sources | Changed | apiList($PaymentSource) → nullable(apiList($PaymentSource)) |
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.