#edutomesco
1 messages · Page 1 of 1 (latest)
Hi there, so you want to get notified when the invoice is paid successfully?
You can listen to invoice.paid event then.
I want to know
when the subscription change the cycle
I think the subscription can change the cycle but the invoice could take some time to be paid
in case for example of SEPA payments
so when the metered usage renews, I need to know that in that exact moment
Ok, I think you want to know when the invoice is about to be created? There's a invoice.upcoming event (https://stripe.com/docs/api/events/types#event_types-invoice.upcoming) that you might be interested in.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Exactly when usage prices renew?
No, it happens x number days before the renewal depends on your settings.
??
But the NExtPeriodStart field of a subscription
is the exactly timestamp when the subscription will renew isn't it?
I mean the overage if I have a metered price when it renews the overage
I think you are referring to current_period_end. This timestamp equals to the current_period_start of the upcoming period of the new cycle.
Okey thanks
where I can find this adjustment on dashboard?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
where is the option?
this is for the invoice.upcoming webhook no?
Yes. This is for invoice.upcoming.
Thanks