#saintnz_webhooks

1 messages ยท Page 1 of 1 (latest)

flint heathBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1434838618551222316

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

open pond
#

hi there ๐Ÿ‘‹ taking a look into your question now

dusty tide
#

Sounds like you are saying the only way to detect the credit being fully used up is to retrieve the credit balance summary after every meter event...?

open pond
#

just taking a moment to confirm if that's correct

#

thanks for your patience, just running a quick test

dusty tide
#

The upcoming invoice appears to show the credit grant burning down but I am not sure if it is actually burnt down until an invoice is finalized with that burndown...

open pond
#

can you share the ID of the credit grant?

dusty tide
open pond
dusty tide
#

Are you sure about this? When I view the same credit grant referenced in the screenshot above via the dashboard, it shows that it has not yet been applied at all.

#

I'm going to reinvoice the subscription to see if that changes the state...

#

It did:

open pond
#

yes exactly, the grant hasn't actually been used until it's applied to an invoice

dusty tide
#

Cool. So in my scenario I don't have a simple way to detect when to charge the customer for another credit grant when the old ones runs out because the previous grant wil not run out until it is invoiced.

open pond
dusty tide
#

Ok thanks for your help. I have a much clearer picture now ๐Ÿ™

open pond
#

you're welcome ๐Ÿ™Œ