#romanten-usagerecords
1 messages · Page 1 of 1 (latest)
Why does Stripe return the same UsageRecord id for two different but almost simultaneous requests?
Can you share the request ID (req_xxx)? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Sorry, i need some time for it.
https://dashboard.stripe.com/logs/req_YPijs0geeeKDlR - one request, and second - https://dashboard.stripe.com/logs/req_itjH6xQGGzg6J2 - timestamp is the same, but quantity and Idempotency are different
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
As a result, the quantity from a single request is not included in the total quantity to the customer
That's because the timestamps are the same When there is more than one usage record with the same timestamp, Stripe adds the quantity values together
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But i dont see this in usage records list - here is only 120 amount, but not exists 74 from second request
or, stop
Its all right
So you've sent two requests with the same timestamp, one with quantity 46 and the other 74, so total 120.
In first request was 46 amount and in second - 74 (74+46=120)
Yes, thanks so match!
No problem!