#X7Ryan-sub-tiered
1 messages · Page 1 of 1 (latest)
Hi there, I think your proposed solution is best here but let me think a moment.
To clarify, you want to notify the customer during the cycle if their tier changed? Or when the billing cycle resets?
I think what you want to do here actually is preview the invoice each time based on the new usage amount: https://stripe.com/docs/api/invoices/upcoming
Then you can compare to the previous and easily see if they have bumped to a new tier based on their usage.
I don't know that would work. I mean it depends on how pending invoices work. If it always perpetually has the next invoice as pending and updates it as the quantity is changed then I guess so.
That endpoint allows you to preview what the next invoice would look like given the params you pass into it. Take a look at the description at the top and see if it will work for your use-case