Adds support for requiring a customer tax ID on Checkout and Payment Links
What’s new
Adds support for requiring a customer tax ID on Checkout.Session and PaymentLink using the new tax_id_collection[required] parameter. When this parameter is set to if_supported, customers paying from a country where tax ID collection is supported will be required to provide their tax ID information as part of the payment.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| required | Added | Checkout. Session#create. tax_id_collection Checkout. Session. tax_id_collection PaymentLink#create. tax_id_collection + 2 more PaymentLink#update. tax_id_collection PaymentLink. tax_id_collection |
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: 2024-09-30. acacia
- 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.
