Weiter zum Inhalt
Konto erstellen
oder
anmelden
Das Logo der Stripe-Dokumentation
/
KI fragen
Konto erstellen
Anmelden
Jetzt starten
Zahlungen
Umsatz
Plattformen und Marktplätze
Geldmanagement
Entwicklerressourcen
Übersicht
Versionierung
Änderungsprotokoll
    Übersicht
    Clover
    Basilikum
    Acacia
    Vorherige Versionen
Aktualisieren Sie Ihre API-Version
Ihre SDK-Version aktualisieren
Essentials
SDKs
API
Tests
Stripe-CLI
Beispiel-Projekte
Tools
Stripe Dashboard
Workbench
Entwickler-Dashboard
Stripe Shell
Stripe für Visual Studio Code
Funktionen
Arbeitsabläufe
Ereignisziele
Stripe-StatuswarnungenHochgeladene Dateien
KI-Lösungen
Agent-Toolkit
Model Context ProtocolAgentische KI-SaaS-Billing-Workflows aufbauen
Sicherheit und Datenschutz
Sicherheit
Stripebot-Webcrawler
Datenschutz
Extend Stripe
Erstellen Sie Stripe-Apps
Verwenden Sie Apps von Stripe
Partner
Partner-Ecosystem
Partner-Zertifizierung
StartseiteEntwicklerressourcenChangelogClover2025-09-30.clover

Notiz

Bis jetzt ist diese Seite noch nicht in dieser Sprache verfügbar. Wir arbeiten aber verstärkt daran, unsere Dokumentation in weiteren Sprachen bereitzustellen, und werden die Übersetzung sofort anzeigen, sobald diese verfügbar ist.

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

ParameterÄndernRessourcen oder Endpoints
sourceHinzugefügt
Discount
couponEntfernt
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
War diese Seite hilfreich?
JaNein
  • Benötigen Sie Hilfe? Kontaktieren Sie den Kundensupport.
  • Nehmen Sie an unserem Programm für frühzeitigen Zugriff teil.
  • Schauen Sie sich unser Änderungsprotokoll an.
  • Fragen? Sales-Team kontaktieren.
  • LLM? Lesen Sie llms.txt.
  • Unterstützt von Markdoc