#dexter_best-practices
1 messages · Page 1 of 1 (latest)
👋 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/1457764341322616874
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hello, I don't think we have anything that can help you see when a user has hit a monthly usage limit on your side. Like our usage based billing supports a fixed fee and overage model where you charge a standard amount for up to X usage and then charge a special rate for usage over that, but I don't think we have any events that we trigger once your user hits a certain limit every month.
I am double checking that now, but I do think you will have to add that to your schema to track on your side.
Yeah unfortunately not seeing anything on our side that would help enforce these limits. We do have a usage-based alert that you can set up but it only triggers once per customer and it can't cut off reporting usage at a point.
So it’s basically up to me and how I’d like to implement it. From your side, do you have any recommendations and/or best practices or maybe how it’s usually done ? A relation like “user_usage” which would track usage ?
If your model is "user pays a flat fee and gets X queries a month from it" it will likely be easiest to just use our flat rate model. If you do want to do things like that fixed fee and overage model, that first doc I linked to will be helpful here, but that flow is decently more complex, so it would only be worth it to use if you are charging different amounts based on usage.
No it’s a flat rate with max usage, no extra billing