#tomhamiltonstubber-connect
1 messages · Page 1 of 1 (latest)
👋
I'm trying to get a list of all Transfers on a Payout
And it looks like the only way to do that is to get all BalanceTransactions for that Payout, then use the source field on it, which gives me an ID starting py_ and then match it to the transfer, which has a destination_payment
That's one way to do it, but have you taken a look at what we have documented here (https://stripe.com/docs/expand/use-cases#charges-in-payout) ? If you expend data.source.source_transfer.source_transaction when you retrieve all the balance transactions you should be able to see the original transfer without needing to match it yourself