#Nick-usage-records
1 messages · Page 1 of 1 (latest)
I'm trying to validate at the end of the month that there has been a usage record reported for each day. I only see an endpoint to list summaries: https://stripe.com/docs/api/usage_records/subscription_item_summary_list?lang=cli but I'd like to loop through each individual usage record that was reported
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yeah unfortunately I am not finding a way to do that. Why are you trying to look through them individually? Trying to think if there is another way to achieve that
We report usage records daily, at the end of the month before I finalize the invoice I want to re-do the daily reporting calculation on my side, and then step through what was reported on the Stripe side to validate that each day did indeed have a usage record reported
I think I can just make it work by checking the summary quantity (or invoice quantity) against my expected quantity and update accordingly