#Bruno Santana
1 messages · Page 1 of 1 (latest)
Hi 👋 are you referring to when a Subscription renews? If so, you're looking for customer.subscription.updated.
Yes, that's it. Where could I find an example of such an event, and can I simulate such an event?
I'm not familiar with where you would find an example of the Event, but it will look like a typical Event object where the data hash contains the related Subscription object.
You can trigger that event by running through your test flow that will generate one (using Test Clocks would allow you to test that quickly), or you can have the Stripe CLI walk through the necessary steps to trigger the Event by using:
stripe trigger customer.subscription.created
OK, thank you friend