Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Promotion Codes now reference Coupons using a polymorphic field for promotions


Breaking changes

Promotion Codes now reference Coupons using a polymorphic field for promotions Breaking changes

What’s new

Moves the top-level coupon field on Promotion Codes to promotion.coupon, as part of a new promotion hash which is polymorphic.

Why is this a breaking change?

You should now reference Coupons from Promotion Codes using the new promotion.coupon parameter, and specify the promotion.type parameter as coupon.

When you retrieve Promotion Codes, they don’t auto-expand the promotion.coupon field.

Impact

As we expand the list of supported promotion code types, you’ll be able to reference specific types when identifying Promotion Codes.

Changes

ParametersChangeResources or endpoints
promotionAddedPromotionCode PromotionCode#create
couponRemovedPromotionCode PromotionCode#create

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