#nshah97
1 messages · Page 1 of 1 (latest)
Hi 👋 yes, you can use this endpoint to list all Payouts for an account:
https://stripe.com/docs/api/payouts/list
You can use the Stripe-Account header to make that request for your Connected Account, and doing so will cause the API to return a list of Payout objects for the Connected Account:
https://stripe.com/docs/api/connected_accounts
If there are more than 100 Payouts on the account, the most you can retrieve in a single list request, then you will need to also leverage pagination to get all of the results. We have utilities to help make that easier in our SDKs:
https://stripe.com/docs/api/pagination
So if using an sdk (python for example), would it just be a case of providing stripe_account as a kwarg to stripe.Payout.list
Yup
awesome thank you !