#manuel_docs
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/1446533844172804276
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- manuel_api, 1 day ago, 35 messages
- manuel_api, 2 days ago, 28 messages
- manuel_subscription-pending-updates-delete, 3 days ago, 44 messages
As far as i know, there is no additional cost for that beyond the subscription fees, but support can give you a firm answer on that if you need it
Another question is whether “Meters” can be configured for daily charges. I see that the documentation says that they work with “Price,” but I'm not quite sure how these meter uses can be charged. Can you guide me?
Yes, you could configure a daily recurring price if you wanted to invoice and collect payment for usage every day
It's the same as this guide, but when you create the Price, you'd use recurring[interval]=day instead of month
https://docs.stripe.com/billing/subscriptions/usage-based/implementation-guide?dashboard-or-api=api#create-pricing-model
Ok great, thanks!
and one more question: do these “Meters” expire? For example, if a customer buys 10 tokens, do these tokens expire for him?
Not in any sense controlled by stripe. You just report usage to use and we generate the invoices according to the pricing and cadence you specify
What happens with the actual underlying resources/provisioning is an implementation detail for your systems to handle
you could, for example, have a policy that purchased token credits expire after some number of days if not consumed, but stripe wouldnt know anything about that piece
Oh okay that's great... Thank you very much, I think that's all. If I have another question, I'll ask you for help again. Thank you!!
Actually, I have another question: i see that it is possible to set a price with a “day” interval so that the invoice is generated directly at the time of payment and charged immediately. Is that correct?
Can you clarify your question? I partly want to say thats how automatic invoices & payments work already by default, but I worry there is some nuance i'm missing
With a daily price, the subscription would "renew" every day at the same time and invoice for the metered usage you reported, plus any flat fees etc. That would get charged after a 1hr draft window (which you can optionally accelerate by calling the invoice pay api directly).
Okay, so based on what you're saying, for example, if someone buys a daily recurring token, then Stripe would charge the customer every day? And there's no way to prevent that from happening? For example, I want on my project that the customers can buy 10 tokens and that's it, keep them there forever until they decide to use them. Is that possible?
👋 Hi, Synthrider has to head out, i'll be taking over the channel/thread for next 90 minutes.
To clarify, a daily recurring metered price would aggregate usage every day and invoice them for that usage.
Could you give me an example? 😅
So the meter tracks meter_events. Then at the end of the price interval it aggregates the total usage from meter events and bills the user for that usage.
It sounds like you want to offer tokens up front. https://docs.stripe.com/billing/subscriptions/usage-based/billing-credits/implementation-guide
Yes, what I want is to offer tokens to my customers without recurrence, and for them to be able to use them whenever they want without expiration.
I think credit grants are what you want to look into then.