#unknowncat

1 messages · Page 1 of 1 (latest)

proven plankBOT
fallow dawn
#

Hello

#

Are you a Connect platform?

#

Or just a direct account?

last stirrup
#

hi bismark

#

connect platform

fallow dawn
#

Got it, and you want the bank account where the payouts on your Connected Accounts have gone to, correct?

last stirrup
#

correct

fallow dawn
#

Got it. Then you want to list payouts on your Connected Accounts using https://stripe.com/docs/api/payouts/list and passing the Stripe Account header (https://stripe.com/docs/connect/authentication) and look at the destination property as you noted: https://stripe.com/docs/api/payouts/object#payout_object-destination

Learn how to add the right information to your API calls so you can make calls for your connected accounts.

last stirrup
#

yes, and how to I turn the detination id into something the accountant can read on a report? like bank name etc?

#

i checked docs for bank account endpoint but it requires customer id input

fallow dawn
last stirrup
#

huh, how to get account id though? I''m not seeing it on the payouts response

fallow dawn
#

Can you give me an example payout that you are looking at?

last stirrup
#

sure 1 sec

#

po_1MMlFTBPFXLFBDkwVjWRTIgH

#

even on docs tho it's not showing acct_ in payouts response

fallow dawn
#

Not sure I understand. You already know the Account ID because you listed payouts for that Account

last stirrup
#

just listing all payouts actually

#

for the platform

#

let me step back a bit,

#

goal is to make a report of payouts to the connected accounts

fallow dawn
#

Okay pause

last stirrup
#

sure

fallow dawn
#

When you say "payouts to the Connected Accounts" do you mean transfers from your Platform to your Connected Accounts? Or do you mean payouts from the Connected Account to their external bank account?

last stirrup
#

the later

fallow dawn
#

Okay

#

Go on

last stirrup
#

that's the gist, so trying to hit payouts endpoint, loop all results, and get bank account name and amount for each payout to connected accounts

fallow dawn
#

What type of Connected Accounts here?

last stirrup
#

sorry not sure

fallow dawn
#

I had assumed you were working with Express/Custom accounts

last stirrup
#

freelance gig, just popped in to make their reports generator

fallow dawn
#

But I don't think you can get info like bank name from Standard Accounts if I remember correctly.

last stirrup
#

it does show in the dashboard

#

they have two connected accounts, one is - acct_1KQcXhPgtQIugWA8

#

if you want to check

fallow dawn
#

Yep okay that is an Express Account

last stirrup
#

thanks!

fallow dawn
#

So the issue is you are currently listing payouts on your platform

#

Not the Connected Account

last stirrup
#

gotcha!

fallow dawn
#

So you basically loop through listing payouts on each Connected Account

last stirrup
#

perfect

#

thank you so much bismark, you're fantastical

fallow dawn
#

Happy to help!

#

Give the above a try and let me know if you still run into issues