#slanfan-connect-payouts

1 messages ยท Page 1 of 1 (latest)

mental siren
#

good question! I think the idea is you'd list pending Payouts(https://stripe.com/docs/api/payouts/list) on the connected account and sum the amounts, there's no direct figure from a single field in the API

safe osprey
#

But I get zero lines with pending payouts when I try

mental siren
safe osprey
#

let me check

#

stripe.payouts.list({ status: 'pending', limit: 20 }, { stripeAccount: req.stripeAccount })

#

seems I'm passing the stripeAccount to get payouts from. But I'm deploying some new code now to make sure this is the case in the backend. Crossing my fingers I will get data now ๐Ÿ˜„

mental siren
#

seems good. If that doesn't work, please post the acct_xxx of the connected account so I can look at it

safe osprey
#

It worked, sorry for the delay. Caught in a call

#

There was a filter in the function that filtered away the incorrect stuff ๐Ÿ˜ฆ

mental siren
#

ah, neat!

safe osprey
#

so basically shit on my end ๐Ÿ˜›