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
APIs & SDKsHelp
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
United States
English (United States)
HomeDeveloper resourcesChangelogClover2025-09-30.preview

Adds the unit label parameter to the product data hashPublic preview

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

ParameterChangeResources or endpoints
unit_labelAdded
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 more
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
Was this page helpful?
YesNo
  • Need help? Contact Support.
  • Check out our changelog.
  • Questions? Contact Sales.
  • LLM? Read llms.txt.
  • Powered by Markdoc