Given a Stripe Payout (po_1BRxlK...
), how can I determine which charges are contained in this payout? Right now the balance transactions in the API seems like a complete mess.
I've tried searching for all charges between two payouts, but due to the holding period of charges, there might be a shift of a few dates. How would you recommend to match payouts with charges?
I can see that within the Stripe Dashboard, you can see all transactions in a payout, so I assume it's possible to get the same data somehow via the API.
Thanks in advance.