Modify trial subscriptions created by Payment Links
What’s new
Updates the subscription_data.trial_period_days parameter so that it adjusts the number of free trial days for subscriptions created by that Payment Link.
Impact
You can now modify the length of free trial days for subscriptions created by a Payment Link. This change affects only subscriptions created after updating this value, leaving existing subscriptions unchanged.
Changes
| Parameter | Change | Resources or endpoints |
|---|---|---|
| trial_period_days | Added | PaymentLink#update. subscription_data |
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-12-18. acacia
- Upgrade the API version used for webhook endpoints .
- Test your integration against the new version.
- If you use Connect, test your Connect integration .
Learn more about Stripe API upgrades.