Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Replaces Upcoming Invoice API methods with the Create Preview Invoice API


Breaking changes

Replaces Upcoming Invoice API methods with the Create Preview Invoice API Breaking changes

What’s new

We’re removing the GET /the relevant part of the product API in favor of the Create Preview Invoice API.

Additionally, you can no longer preview the next invoice for a customer across all their subscriptions on the Create Preview Invoice API.

Why is this a breaking change?

  • The Upcoming Invoice API methods are no longer available.
  • You must pass specific subscription details ( subscription , subscription _ details. items , schedule , schedule _ details. phases , or invoice _ items ) along with the customer parameter to the Create Preview Invoice API .

Impact

Migrate your integration from GET /the relevant part of the product or GET /the relevant part of the product API methods to use the Create Preview Invoice API, which offers equivalent functionality and parameters.

Changes

EndpointsChangeResource
upcomingLines upcomingRemovedInvoice

Upgrade

  1. View your current API version in Workbench.
  2. 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: 2025-03-31. basil
  1. Upgrade the API version used for webhook endpoints .
  2. Test your integration against the new version.
  3. If you use Connect, test your Connect integration .
  4. In Workbench, perform the upgrade . You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Last verified 2026-09-24

Is this helpful?