Modify phone number collection on Payment Links
What’s new
Adds the phone_number_collection parameter to the update Payment Link method. You can use this new parameter to enable or disable phone number collection in the payment form of an existing Payment Link.
Impact
You can now update existing Payment Links to configure whether the payment form requires the customer to provide a phone number. Previously, you had to set this configuration when creating a Payment Link, with no way to change it.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| phone_number_collection | Added | PaymentLink#update |
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-01-27. 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.
