#ddbg
1 messages ยท Page 1 of 1 (latest)
Hi ๐ because Subscription Schedules can have multiple phases to control future changes for the Subscription they're tied to, the coupon parameter you're looking for is located within phases:
https://stripe.com/docs/api/subscription_schedules/update#update_subscription_schedule-phases-coupon
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hey @steep pebble thank you for your fast reply!
just checked your link. So I have to update the schedule?
Can't I directly add coupon when I use stripe.subscriptionSchedules.create
?
The creation request accepts that parameter as well:
https://stripe.com/docs/api/subscription_schedules/create#create_subscription_schedule-phases-coupon
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
ohh just saw it! thank you very much @steep pebble !
Any time!