#dario-payouts-dashboard
1 messages · Page 1 of 1 (latest)
hello
What you need is https://stripe.com/docs/api/balance_transactions/list and pass payout: 'po_123' and you get all the transactions in it
Hi, thanks for the fast response. What if we don't have payout ID to begin with? We'd like to export all balance transactions via the API, so we call the balance_transactions.list endpoint first. How to drill down afterwards to obtain payout IDs?
hmmm I wouldn't do that
What I'd do is list all my Payouts first via https://stripe.com/docs/api/payouts/list and for each one list its content
Ah, I see. So, the other way around. We first get a list of payouts, then get their balance transactions. After that, we fetch all balance transactions to get those without payouts. Is my understanding correct?
Ok, I'll try the suggested approach. Thanks again!