Removes total count expansion for list API methodsBreaking changes
What’s new
You can no longer expand the total_ property in lists. New users can’t expand total_ on earlier Stripe versions. Attempting to expand total_ returns a 400 error with a property_ error message.
Why is this a breaking change?
We don’t allow requests for total_ expansion for list API methods. To use this version, you must migrate your integration to solely rely on the has_ list response field instead.
Impact
If your integration uses total_ for pagination and it sends include[]=total_ or exclude[]=total_ API parameters with your API request, you need to update your pagination integration to rely only on the has_more response field.
Some top-level API resources always return total_ values for some of their list fields. You might notice this if you don’t add include[]=total_ or exclude[]=total_ to your request but you still receive total_ data as a part of the response. These API resources aren’t affected by this version change.