#Peppa
1 messages · Page 1 of 1 (latest)
For cancelling at period end you should get https://stripe.com/docs/api/events/types#event_types-customer.subscription.updated
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Then you can just check this param: https://stripe.com/docs/api/subscriptions/object#subscription_object-cancel_at_period_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yes, and which property should I look for to confirm that they canceled?
The second link
I take it it's the same event if they choose to renew through the customer portal?
You mean if they decide to go from cancel_at_period_end=true -> cancel_at_period_end=false before the end of the billing cycle?
If so, then yes
Yeah, alright thanks