#Xythantiops
1 messages · Page 1 of 1 (latest)
It is created when the Invoice is created for the Subscription. Usually that will be at current_period_end, which would usually be an hour before the Customer is charged.
Thank you, that is exactly what I needed to know
So if I want to know when the next time a subscription is billed, then I would be better off using the GET /v1/subscriptions/:id endpoint? So that way I would know when the next billing cycle is well in advanced of when the customer will be billed?
Either that, or you could set up a webhook endpoint to listen for invoice.upcoming and choose when your Stripe account fires that event here: https://dashboard.stripe.com/settings/billing/automatic
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
More info on that here: https://stripe.com/docs/billing/subscriptions/webhooks