#Jasuno
1 messages · Page 1 of 1 (latest)
Hi, that is expected and you can learn more about it here: https://stripe.com/docs/billing/subscriptions/subscription-schedules.
You can get the subscription id by retrieve the schedules, https://stripe.com/docs/api/subscription_schedules/retrieve
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I want this to be updated automatically, is there a webhook to do that, would it be onUpdate?
You can listen to webhooks, https://stripe.com/docs/api/events/types#event_types-customer.subscription.created but I'm not sure what you mean by update automatically.
You can look at the event and if you're storing this data in your database, you'd update it yourself
The thing is that if i listen to the create webhook then it would also trigger when the scheduled subscription get created, I was asking about update, because im guessing that the scheduled subscription gets updated in the future to populate the subscription property