#TheBoredVet-payout

1 messages ยท Page 1 of 1 (latest)

agile shoal
#

Hi there ๐Ÿ‘‹ if you're using automatic payouts then you can list the Balance Transactions that are in a specific payout by using its ID as a filter when making the request:
https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-payout

You can then work from the Balance Transactions to find their related objects.

vital ocean
#

Thank you. Is there any way to list all payouts and then the payments within them without having to first get the payouts and then loop through calling this with each ID?

agile shoal
#

No, there is not a way to combine those requests. You will need to first list your Payouts, and then list the Balance Transactions that they contain.

vital ocean
#

Thanks - as per the main channel, is it possible to get this data for connected accounts?

#

ugh opened this too early. had my header wrong

#

Sorry, I've got it using the Stripe-Account header