#jchannon

1 messages · Page 1 of 1 (latest)

fluid ironBOT
weak comet
#

Hi there!

#

You want to find a connected account using its metadata?

normal mica
#

yes

weak comet
#

Unfortunately that's not possible for the account objects. So you would need to list all connected account with https://stripe.com/docs/api/accounts/list and then filter them on your end based on the metadata property

#

Note that it's possible to search for metadata with the Search API, but it's not available on the connected account object https://stripe.com/docs/search

normal mica
#

well to explain further, I am wanting to send money from our main account to our client's Stripe Connect accounts. Their stripe connect accounts will have a metadata value in it which is our internal id of them

weak comet
#

Got it. Then I would recommend to store in your database the relationship between your internal ID and the Stripe account ID. This way you can easily find the correct Stripe account ID and use it to directly create the transfer.