#asdfghi-subscriptions
1 messages · Page 1 of 1 (latest)
Hi! What do you mean exactly by historical track of company's subscriptions?
You could listen to the customer.subscription.udpated event, and keep track of things on your own database.
Hi. I checked and it seems we dont have such a field
these are the tables I have available
Hi. I checked and it seems we dont have such a field
customer.subscription.udpatedis not a field, it's the name of a webhook event that Stripe will send every time a subscription is updated. That can be useful to keep track of its status.
But can you give more details in what exactly you would like to track?
I'd like to track the change of subscriptions over time, I'm trying to add it to our internal reporting along with other metrics so they are all in one place
and the rest api information from the tables I sent to you is not enough as it has only the current subscription state, not how it changed in the past
I'd like to track the change of subscriptions over time
I recommend to listen to the webhook eventcustomer.subscription.udpatedto be notified every time the subscription changes, and keep track of that in your own database.
Another option is to look at all the past invoices of a subscription with https://stripe.com/docs/api/invoices/list