#tomhamiltonstubber-connect

1 messages · Page 1 of 1 (latest)

prisma briar
#

Hello! Starting up a new thread for you

barren turtle
#

👋

#

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

prisma briar
#

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

barren turtle
#

Oh very good

#

I haven't seen this

#

Is this expand functionality available in other places? It's that page

#

That's really useful thanks