#judemolloy - cancellation policy
1 messages · Page 1 of 1 (latest)
Hey there, what exactly do you mean by this? What kind of result are you hoping to achieve?
i would like it so that if someone who has a recurring bill (like a membership) on my web app that if they want to cancel the billing will take place for one more cycle. its monthly billing so it would be like a 30 day (month) cancellation policy if that makes sense?
Gotcha, in that case you can use cancel_at to set an arbitrary cancellation time, or cancel_at_period_end to set the subscription to cancel at the end of the current period, based on what you need
https://stripe.com/docs/api/subscriptions/update#update_subscription-cancel_at_period_end
https://stripe.com/docs/api/subscriptions/update#update_subscription-cancel_at
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
so that would let me bill them once more after they cancel?
Depends on what you set! The cancel at would continue to invoice until the cancel date you sent, using period end would cancel without any further invoicing.
oh okay i see so i could set it to cancel sometime after the next billing cycle for that customer and get the behaviour i wanted
thanks very much for your help
NP!