Public preview
Adds the unit label parameter to the product data hash Public 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
Upgrade
- View your current API version in Workbench.
- 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
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
- In Workbench, perform the upgrade . You can roll back the version for 72 hours.
Learn more about Stripe API upgrades.
