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
    Clover
    Basil
    Acacia
    Previous versions
Upgrade your API version
Upgrade your SDK version
Essentials
SDKs
API
Testing
Stripe CLI
Sample projects
Tools
Stripe Dashboard
Workbench
Developers Dashboard
Stripe Shell
Stripe for Visual Studio Code
Features
Workflows
Event Destinations
Stripe health alertsFile uploads
AI solutions
Agent toolkit
Model Context ProtocolBuild agentic AI SaaS Billing workflows
Security and privacy
Security
Stripebot web crawler
Privacy
Extend Stripe
Build Stripe apps
Use apps from Stripe
Partners
Partner ecosystem
Partner certification
HomeDeveloper resourcesChangelogClover2025-09-30.clover

Adds the Discount source property and removes the Discount coupon propertyBreaking changes

What’s new

This change adds a new source property to the Discount object and removes the auto-expanded coupon property. The new source property is a hash that contains the following attributes:

  • type: The type of object used to calculate and apply the discount.
  • coupon: The Coupon redeemed to create the discount.

Why is this a breaking change?

This is a breaking change because:

  • The Discount object’s schema is changing, which requires you to handle responses containing Discounts differently.
  • The Coupon object is not automatically expanded on Discount objects, including within event notifications.

Impact

The coupon property no longer auto-expands on the Discount object. To retrieve details about a discount’s coupon, either retrieve it separately or expand it through the source property.

This change has no impact on how coupons are redeemed into discounts today, but enables expanded discounting functionality in the future.

Changes

ParametersChangeResources or endpoints
sourceAdded
Discount
couponRemoved
Discount

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-09-30.clover
  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

  • Removes iterations parameter for subscription schedules
  • Promotion Codes now reference Coupons using a polymorphic field for promotions
  • Makes flexible billing mode the default for new subscriptions
  • Updates computation of subscription schedule phase end date to consider billing cycle anchor changes
  • Adds customer portal configuration trial behavior
  • Adds the ability to itemize proration discount amounts
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