Search code examples
stripe-paymentsstripe.net

Listing Stripe refunds between dates


Using the Stripe API, I'm struggling to work out how to list refunds between two dates.

I can list charges between two dates, but as the refund can come at a date significantly after the charge date, it is not good.

Thanks for anyone who can point me in the right direction!


Solution

  • I would use the List All Balance History API and pass type: "refund" to only list the refunds and also pass the created hash based on the dates I want to limit my search to and you should get all the balance transactions associated with a refund created between those two dates.