#nevres_
1 messages · Page 1 of 1 (latest)
Yes,
I saw that there is cancel_at property when creating subscription. However I need to manually calculate that one based on number of cycles (parameter I am getting from my UI).
And I am worried about unintentioal consequences, prorations etc.
Then I recommend creating a Subscription Schedule https://stripe.com/docs/billing/subscriptions/subscription-schedules
One phase with 3 iterations, and end_behavior: cancel https://stripe.com/docs/api/subscription_schedules/create#create_subscription_schedule-end_behavior
Yes you can use cancel_at, but this will most likely generate prorations.