#zonos-transfer-payout
1 messages · Page 1 of 1 (latest)
Hello @old trench! That's not really how things work
A Payout is a group of transactions bundled into one Payout.
You can use the https://stripe.com/docs/api/balance_transactions/list and pass payout: 'po_123' to see all the transactions in that specific Payout
https://stripe.com/docs/expand/use-cases#charges-in-payout covers some of it
I guess I should explain what I am trying to do.
I have missed some webhooks for some transfers that were on a payout. I would like to know what objects are related (transfers, transferReversals, etc), and call Stripe to get data on these objects. Since this particular payout is on the connect account, the transfers from our platform account show up as a "py_". So I am trying to find the associated Transfer that created the "py_".
From my experience the transfer from the platform, results in a "py_" on the connect side of that transfer.
It looks like that second link you gave me has information on this. I will see if I can work that out from there first. Thanks
okay so to go from the py_123 on the connected account to the tr_123 on the platform you use source_transfer https://stripe.com/docs/api/charges/object#charge_object-source_transfer
@old trench did that answer the question?
Since I am using the "separate transfers and charges api", my charges are on the platform account. I do not have direct access to the charge from the Connect account's payouts from what I can tell.
You're misunderstanding it all :p
the py_123 on the connected account is a Charge object. It's the result of the Transfer tr_123 from the platform
so you can look at the py_123 and its origin by using https://stripe.com/docs/api/charges/retrieve for example and looking at the source_transfer property
Okay. That makes sense. I'll give that a try
let me know if that doesn't work