This is a small Node script that uses the Stripe API to export your transactions with their country of origin (which isn't possible to do with Stripe's official tools).
All neatly documented on my blog post: https://tahoe.be/post/export-stripe-transactions-with-country
But it short if you want to use it:
- Install Node
- Clone the repo &
cdto it - Create a Stripe restricted API key
- Run this command:
STRIPE_SECRET_KEY=replace_with_your_API_key node export.js