#dan-subscription-metered
1 messages · Page 1 of 1 (latest)
InvoiceItems only work with one-time Prices so yeah that won't work
dan-subscription-metered
I don't really get the example flow/business model you're describing unfortunately
Okay that makes sense, is this type of flow possible with invoicing? We were pointed in this direction from this discord channel. Let me give a better example of what our flow looks like
If a Stripe employee pointed you here they should know they can ask questions internally to help you instead
Invoicing won't really change much overall to this
We charge based on api usage. So for a specific product each day our users get, lets say 10K api calls. If they go above that 10K we charge a small amount for each additional api query. This happens on a daily basis, so if a user does 11K api calls on one day, then 5K on the next day they would only be charged 1K at the end of the month
ah I see so you don't charge daily, you "accumulate" daily overage and charge at the end of the month?
Yes that is right, we originally thought usage reporting would work for this but because we have daily overages that are accumulated then charged at the end of the month this seemed to cause issues. That was when we got pointed towards using invoices
Using Invoices doesn't really make sense to me no
I don't think there's any way to do what you're after unless you basically only track usage after the base
so you don't report 11k on that example, you report 1k
I think we have a work around that would involve usage reporting but I wanted to make sure I was taking the right approach
Yeah that is the work around I had in mind
The only issue with that is we don't have everything defined in stripe itself, we need to keep track of what that overage value is in our application
So I just wanted to make sure I wasn't missing something on the invoicing approach
yeah I can't think a way to do what you want with Subscriptions. And none of this exists at all on Invoicing
And what I mean about keeping everything is stripe is we could define a graduated price like (0 - 10K, free)-(10K, inf, 0.0001 per extra api call) then send all api calls for the day over
Okay that makes sense, thanks so much for confirming on this, really appreciate the help!
yeah that's not possible if you want to "group by day but charge by month" at least
Okay sounds good, thanks again!