#bensears-charge-payout
1 messages · Page 1 of 1 (latest)
We don't directly show this in the API no. The way to do it is to reverse the approach and start with the Payout itself
You can use the List BalanceTransactions API https://stripe.com/docs/api/balance_transactions/list and pass payout: 'po_123' to find all the BalanceTransactions associated with that Payout. This represents all the charges, refunds, disputes, etc. all bundled into one Payout and each BalanceTransaction object has a source property that maps to a given object like the ch_123 or re_123 (which you can https://stripe.com/docs/expand)
So for each Payout you list what's in it and keep track of it so that you can know which Payout contains which Charge (and refund and dispute, etc.)
i see, i didn't see the payout field in sigma, is this only accessible via API?
i'm trying to build a report in sigma with all the charges, and have a column for the payout id
but it looks like theres no way to get the payout?
I believe you can find this info in the balance_transactions table, where the payout ID is found under automatic_transfer_id
@opal whale does that answer your question?
i don't think that's the case, from what i've seen that field is only filled out on payout type txns
Are you using automatic payouts or manual ones?