#charlbury
1 messages · Page 1 of 1 (latest)
hi!
How could I use the Stripe API to extract a history of all charges and refunds for each customer
I'd start with https://stripe.com/docs/api/charges/list#list_charges-customer to get all a customer's Charges, and then you can also call https://stripe.com/docs/api/refunds/list#list_refunds-charge for each one to get any refunds that might have been made on each charge.
or as you imply I think, you can use Sigma, which is probably a little easier. To be honest though we don't know a huge amount about this side of Stripe in this channel since we mainly focus on API questions for getting payments to work and not so much reporting/recon