Accéder directement au contenu
Créez un compte
ou
connecter-vous
Logo de la documentation Stripe
/
Demander à l'assistant IA
Créez un compte
Connectez-vous
Démarrer
Paiements
Revenus
Plateformes et places de marché
Gestion de fonds
Ressources pour les développeurs
API et SDKAide
Aperçu
Gestion des versions
Journal des modifications
    Présentation
    Clover
    Basil
    Acacia
    Versions précédentes
Mettre à niveau votre version de l'API
Actualiser votre version du SDK
Essentials
SDK
API
Tests
CLI Stripe
Exemples de projets
Outils
Dashboard Stripe
Workbench
Dashboard des développeurs
Shell Stripe
Stripe pour Visual Studio Code
Fonctionnalités
Workflows
Destinations d'événements
Alertes d'intégrité de StripeChargements de fichiers
Solutions d'IA
Boîte à outils des agents
Modèle de protocole contextuelCréer des flux de facturation SaaS avec l’IA agentique
Sécurité et confidentialité
Sécurité
Robot d'exploration Web Stripebot
Confidentialité
Extensions Stripe
Créer des applications Stripe
Utiliser les applications de Stripe
Partenaires
Partner ecosystem
Certification des partenaires
États-Unis
Français (France)
AccueilRessources pour les développeursChangelogClover2025-09-30.preview

Remarque

Cette page n'est pas encore disponible dans cette langue. Nous faisons tout notre possible pour proposer notre documentation dans davantage de langues et nous vous fournirons la version traduite dès qu'elle sera disponible.

Adds the unit label parameter to the product data hashVersion bêta publique

What’s new

Adds the ability to specify a product’s unit of measurement using the new unit_label parameter in the product_data hash.

Impact

You can now specify the unit_label when you create a Product by adding a line item to a Checkout Session, Payment Link, Payment Intent, or Invoice. You must include the product’s unit of measurement to meet the requirements of card network Level 2/Level 3 programs.

Changes

paramètreModifierRessources ou endpoints
unit_labelAjouté
Checkout.Session#create.line_items[].price_data.product_dataCheckout.Session#update.line_items[].price_data.product_dataInvoice#add_lines.lines[].price_data.product_data
 + 3 de plus
Invoice#update_lines.lines[].price_data.product_dataInvoiceLineItem#update.price_data.product_dataPaymentLink#create.line_items[].price_data.product_data

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.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 pagination and updates fields for aggregrated Billing meter usage data
  • Adds the ability to update automatic tax, invoice creation, and invoice settings for Checkout Sessions
  • Adds support for Billing Cadence, Billing Settings, and Billing Profile
Cette page vous a-t-elle été utile ?
OuiNon
  • Besoin d'aide ? Contactez le service Support.
  • Consultez notre log des modifications.
  • Des questions ? Contactez l'équipe commerciale.
  • LLM ? Lire llms.txt.
  • Propulsé par Markdoc