#dicbra
1 messages ยท Page 1 of 1 (latest)
Hello ๐
One option would be to create a one-time invoice to charge for 20 months upfront and then create a subscription with 20 months trial period
Perhaps I didn't write it correctly. My mistake. I want to define subscription cycles via the API, specifying how long the subscription should last.
"Is using cancel_at the only way, and do I have to manually calculate the number of cycles? Is there no parameter that allows me to specify the cycles directly?"
Hi ๐
I"m stepping in has @maiden geyser needs to soon. I'm a little confused by your question since you start you are using the Stripe API but showing a dashboard interface.
Are you attempting to create a subscription via the API or the Dashboard?
API
I have sent an image from the Dashboard showing the input where the number of subscription cycles is entered. My question was whether it is possible to do this via the API.
This is possible but it is using Subscription Schedules https://stripe.com/docs/billing/subscriptions/subscription-schedules
It allows you to define one or more subscription phases, the number of iterations for that phase (bililng cycles), and what should happen when the phases are over (continue susbcription or cancel)
Thank you
It's a layer of complexity on top of Subscriptions but it does offer a lot of flexibility. I would especially review the Use Cases doc: https://stripe.com/docs/billing/subscriptions/subscription-schedules/use-cases
Awesome! Thank you verry much Snufkin. Verry helpful!