#jachensh
1 messages ยท Page 1 of 1 (latest)
๐ hopping in here since pgskc had to head out
hey @lucid tartan apologies for the delay last time i was pulled away to a meeting
Copy pasting your initial question just to make things easier:
Hello! I am just getting started with Stripe and had a question on setting up a specific pricing product. We want to use metered usage on a daily basis i.e. if the user goes over a certain amount per day we charge overages. However, we want the billing cycle to be monthly. Is there a way to set this up in Stripe? I read that for subscriptions, invoices are generated automatically for the billing period, so I assume we set billing period to monthly on the pricing model. However, we want overages charged daily; how would I go about that? Thanks!
One thing to correct on my original question, we don't want to "charge" the user daily. we just want to measure their usage, and track overages on a daily basis, but charge monthly
Gotcha - then I wouldn't suggest setting your billing cycle to daily. I'd have a monthly subscription, you track the overages yourself, and then you create Invoice Items each day there's an overage. At the end of the month those overage invoice items will be automatically pulled into the montly invoice
Ah I see. So manually submit an invoice (with the invoice api?) on days there are overages. Should we still submit usage records on a daily basis as well? I saw that for metered billing: https://stripe.com/docs/api/usage_records
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You only want to charge the overages on a monthly basis right? You wouldn't submit an invoice then, you'd create an Invoice item
got it, so create an invoice item per day that a user inccurs overages
and then for the 2nd part, should we still submit usage records as well?
It depends - do you charge somethign monthly on top of the daily overages?
currently no. just daily overages
Gotcha - technicaly you wouldn't have to report usage records if you're tracking in on your end and creating the overages yourself
got it. So in this case, do we even need a pricing model if we're tracking it all on our end?
(a stripe pricing model with a price id etc)
At a minimum you'd need a $0 metered price so that you have something to create the subscription for
got it. thanks for the help on this @lucid tartan !