#Vinny GG
1 messages · Page 1 of 1 (latest)
hi, what's the question exactly?
I would like to know how can I cancel at the end of the current period and not immediately
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I didn't find an example
Hey, taking over here. Let me know if there's any follow-up Qs I can answer!
I can create a new subscription with a specific period date?
If you want to set a specific start and end date to a subscription regardless of the price recurring period, you can use Subscription Schedules:
https://stripe.com/docs/billing/subscriptions/subscription-schedules
then does SubscriptionSchedule::create also create a subscription like Subscription::create ?
Yes, once the subscirpiton_schedule starts, a Subscritpion will be created behind and you can get its Id here:
https://stripe.com/docs/api/subscription_schedules/object#subscription_schedule_object-subscription
billing_cycle_anchor is to set the billing cycle date, not to set a limit on the subscription end date
oh ok
thank you so much