Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Adds a duration parameter for schedule phases


Adds a duration parameter for schedule phases

What’s new

We introduced a new way to specify the length of a subscription schedule phase using the duration parameter to support mixed interval subscriptions. You can now define time-based durations for subscription schedule phases by length and interval type: day, week, month, year.

The iterations parameter is now marked as deprecated as duration replaces its functionality.

Impact

You can now set the duration of a subscription schedule phase directly using the duration parameter in these following API endpoints:

  • Subscription Schedules Create
  • Subscription Schedules Update
  • Create an invoice preview

Use duration instead of iterations to create or update mixed interval subscription schedules.

Changes

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-07-30. 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?