Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Revenue
Platforms and marketplaces
Money management
Developer resources
Overview
Versioning
Changelog
    Overview
    Basil
    Acacia
    Previous versions
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Sample projects
Tools
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
Event Destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Model Context Protocol
Security and privacy
Security
Privacy
Extend Stripe
Build Stripe apps
Use apps from Stripe
Partners
Partner ecosystem
Partner certification
HomeDeveloper resourcesChangelogBasil2025-07-30.basil

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

ParameterChangeResources or endpoints
durationAdded
Invoice#create_preview.schedule_details.phases[]SubscriptionSchedule#create.phases[]SubscriptionSchedule#update.phases[]

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
  3. Upgrade the API version used for webhook endpoints.
  4. Test your integration against the new version.
  5. If you use Connect, test your Connect integration.
  6. In Workbench, perform the upgrade. You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Related changes

  • Adds support for quantity adjustment to the Customer Portal Configuration API
  • Adds helpers to cancel subscriptions for billing periods with mixed intervals
  • Adds support for billing thresholds on flexible billing mode Subscriptions
  • Adds support for mixed intervals on the same subscription
Was this page helpful?
YesNo
  • Need help? Contact Support.
  • Join our early access programme.
  • Check out our changelog.
  • Questions? Contact Sales.
  • LLM? Read llms.txt.
  • Powered by Markdoc