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 tools
Overview
Versioning
Changelog
    Overview
    Basil
    Acacia
    Previous versions
Upgrade your API version
Upgrade your SDK version
Developer tools
SDKs
API
Testing
Workbench
Event Destinations
Workflows
Stripe CLI
Stripe Shell
Developers Dashboard
Agent toolkit
Build with LLMsStripe for Visual Studio CodeStripe health alertsFile uploads
Security and privacy
Security
Privacy
Extend Stripe
Stripe Apps
Stripe Connectors
Partners
Partner ecosystem
Partner certification
HomeDeveloper toolsChangelogBasil2025-05-28.preview

Adds the ability to migrate subscriptions to flexible billing modePublic preview

What’s new

The new method on the Subscription resource, /v1/subscriptions/:subscription/migrate, lets you migrate the billing_mode for existing subscriptions from classic to flexible. You can use the billing mode to control the calculation and orchestration of prorations and invoices for subscriptions.

You can also track the timestamp of your migration with the new billing_mode_details.updated_at field on the Subscription object.

Impact

To migrate the billing_mode of your existing subscriptions, pass in billing_mode: flexible when you make the migrate request.

Learn more about how the billing mode enables flexible behavior for subscriptions and the limitations.

Changes

Endpoint ChangeResource
migrateAdded
Subscription
ParameterChangeResources or endpoints
billing_mode_detailsAdded
Subscription

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-05-28.preview
  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 more flexibility for how you manage subscription end-of-period cancellations
Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc