#jasperste_api

1 messages ¡ Page 1 of 1 (latest)

zinc groveBOT
#

👋 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/1293600792191701106

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

snow jetty
#

Hello! No, unfortunately there's no Event for that. What's your use case? Maybe I can suggest an alternative.

#

You said you want to show the available balance somewhere... usually you would hit the /v1/balance API to get the balance immediately before displaying it.

inner ore
#

We were hoping we could sync it on update events to our database, to display it directly instead of via a round-trip to Stripe. But if there is no other way this is fine as well

snow jetty
#

There's no Event, so that's not going to be possible without doing something like periodic polling, which is not recommened. You shuold hit the balance API on demand as needed.

inner ore
#

Sounds logical. Thanks for your quick reply.