#tatva-connect
1 messages · Page 1 of 1 (latest)
@vague quest you can call all the same APIs as on your own account, on behalf of the connected account. https://stripe.com/docs/connect/authentication
so for example getting their payouts is just https://stripe.com/docs/api/payouts/list as usual, with the Stripe-Account option.
It will not return customer payouts
I need perticular customer account payouts
what is a "customer payout"?
yup it's actually returns the main accounts payout.
const payouts = await stripe.payouts.list('acct_1InIFV2EOgt0TzLI', { limit: 3, })
Error i got
that is not what I shared with you though
so I don't know why you're running that code..
const payouts = await stripe.payouts.list({
limit: 3,
}, {stripeAccount:"acct_xxx"})
is how you'd do this.
Works perfectly thanks 🙂