#obo_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1252634637134463016
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi there ๐ no, I don't believe so. It looks like you can only list usage record summaries:
https://docs.stripe.com/api/usage_records/subscription_item_summary_list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@orchid atlas is there anything somebody can look into then
I'm seeing a quantity of 1, but no usage records
I just manually set this through the dashboard, and now it's showing 0, which doesn't make any sense
historically stripe has just taken the highest value and used that (which is what we have it set to)
with your new metered billing features, is it possible something changed?
Billing Meters are different from Usage Records, but I'm not sure how any of that is reflected in the dashboard (our team focuses on working with our APIs and SDKs). Can you share the ID of the Subscription Item?
yes of course: si_PIthkxWHDVI8sN
and yes, sorry I'm just using the dashboard for quick testing
what's strange is that we have no record of any usage records being sent by our systems to stripe for this item. It just seems like it randomly defaulted to 1 a few months ago and has defaulted to that each month since without any usage records being sent
the 0 we put in the dashboard (I tried this twice), seems to have now overridden the value of 1 you're seeing in the background there for the image I provided
if you want an example of one that hasn't been altered, please see here: si_PJEUkwXdsykL7V
that subscription item is in the same state as the si_PIthkxWHDVI8sN item before it. Roughly 2 months ago we had a period where it was set to 1 instead of 0 and has stayed there since
even without future usage for that period being sent to stripe
The Price this is based on uses last_ever for recurring.aggregate_usage, so it's expected that it will continue to use the most recently submitted Usage Record, even if that's from a previous billing period.
https://docs.stripe.com/api/prices/create#create_price-recurring-aggregate_usage
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.