Lewati ke konten
Buat akun atau Masuk
Logo Dokumen Stripe
/
Tanya AI
Buat akunMasuk
Mulai
Pembayaran
Pendapatan
Platform dan situs belanja online
Manajemen uang
Sumber daya pengembang
API & SDKBantuan
Gambaran Umum
Pembuatan versi
Log perubahan
    Gambaran umum
    Clover
    Basil
    Acacia
    Versi sebelumnya
Tingkatkan versi API Anda
Upgrade versi SDK Anda
Essentials
SDK
API
Pengujian
Stripe CLI
Proyek sampel
Alat
Dashboard Stripe
Workbench
Dashboard Pengembang
Stripe Shell
Stripe untuk Visual Studio Code
Fitur
Alur kerja
Tujuan Kejadian
Peringatan kesehatan StripePengunggahan file
Solusi AI
Toolkit agen
Protokol Konteks ModelBangun alur kerja penagihan SaaS AI agen
Keamanan dan privasi
Keamanan
Perayap web stripebot
Privasi
Perluas Stripe
Membangun aplikasi Stripe
Gunakan aplikasi dari Stripe
Mitra
Ekosistem mitra
Sertifikasi mitra
Amerika Serikat
Bahasa Indonesia
BerandaSumber daya pengembangChangelogClover2025-09-30.clover

Enables specifying units of measurement for Products

What’s new

Adds the ability to specify a product’s unit of measurement using the 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

ParameterUbahSumber daya atau endpoint
unit_labelDitambahkan
Checkout.Session#create.line_items[].price_data.product_dataInvoice#add_lines.lines[].price_data.product_dataInvoice#update_lines.lines[].price_data.product_data
 + 2 lainnya
InvoiceLineItem#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.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 postal code for card payments in certain regions on Checkout and Payment Element
  • Removes currency conversion field from Checkout Sessions
  • Removes support for the redirectToCheckout method
  • Updates initCheckout to be synchronous
  • Adds support for collecting business and individual names in Checkout Sessions
  • Adds the ability to exclude payment methods from Checkout Sessions and Payment Intents
  • Adds support for setting the capture method for specific payment methods with the Checkout Sessions API
  • Adds support for configuring branding settings for Checkout Sessions
Apakah halaman ini membantu?
YaTidak
  • Butuh bantuan? Hubungi Tim CS.
  • Lihat log perubahan kami.
  • Ada pertanyaan? Hubungi Bagian Penjualan.
  • LLM? Baca llms.txt.
  • Dijalankan oleh Markdoc