#sshadmand
1 messages · Page 1 of 1 (latest)
Hi there, I think this is the doc that you are looking for https://stripe.com/docs/products-prices/pricing-models#reporting-usage
reading...
Still think I am missing something
So if I choose Maximum usage value vs. most recent usage value, is that saying it wont sum the charges and instead ONLY charge for the most recent usage value I sent
Meaning if I send 1 unit, 5 units, 20 units, 2 units..... it would only charge 2 units and the end of the month for Most Recent Usage Value During Period?
Seems like that is what it means, but seemed like a strange way to charge. So, thought maybe I didn't get it.
I think the API reference explains better https://stripe.com/docs/api/prices/object#price_object-recurring-aggregate_usage
Yes you are right, if you set it to last_during_period, then it will only record 2 units.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.