#wallave-refund-data
1 messages ยท Page 1 of 1 (latest)
Hi there! You could list them via the API or use the Reporting API. Are you familair with either of those methods?
would you redirect me to the doc or links?
Here is the reporting API: https://stripe.com/docs/reports/api
Or you could just hit the refund API directly: https://stripe.com/docs/api/refunds/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.
And you use pagination with the list endpoint (https://stripe.com/docs/api/pagination/auto)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
also wondering for the event type charge.refunded, in what instance I would get "'succeeded" vs "paid"
as a status
paid isn't a status for a refund
You will only get succeeded
You can see the status enums here: https://stripe.com/docs/api/refunds/object#refund_object-status
for the object charge?
Ah didn't realize you were talking about the charge, but same thing! https://stripe.com/docs/api/charges/object#charge_object-status
yes this is what I got from the doc as well,
but after a month i saw that we are getting status as 'paid'
Do you have an example that shows the status as paid?
i do but how do I share it with you? its my company data
Are you getting this status from a specific request? If you share the request ID (or an object ID) we can look it up on our end, and those IDs are safe to share publicly
charge id: "ch_2KtfxhuhiYvNiaq31L7aoR9P"
Ah, I see the issue - you're on an older API version. For API version 2015-02-18 (https://stripe.com/docs/upgrades#2015-02-18) we replaced the paid status with succeeded. If you were to retrieve the same charge with a newer API version you would get a status of succeeded
๐