Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

5282 articles

Adds the Discount source property and removes the Discount coupon property


Breaking changes

Adds the Discount source property and removes the Discount coupon property Breaking 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
sourceAddedDiscount
couponRemovedDiscount

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
  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 .

Learn more about Stripe API upgrades.

Last verified 2026-09-25

Is this helpful?