#eduardosasso-account-api

1 messages ยท Page 1 of 1 (latest)

south dock
#

Hello ๐Ÿ‘‹
business_profile is typically associated with a connected account
what type of stripe account do you have?

austere mountain
south dock
austere mountain
#

but I'm looking for business_profile not business_type

south dock
#

ah gotcha apologies
let me double check

austere mountain
south dock
#

can you share the account ID as well as a request ID for the API call?

austere mountain
#

sure sec

fluid lance
austere mountain
#

tks will do

#

I'm just waiting to see if there's an answer for my issue first

#

any luck @south dock ?

leaden kraken
#

Hi eduardo

#

I'm taking over for hanzo

#

Looking into this at the moment

austere mountain
#

๐Ÿ‘

leaden kraken
#

Can you share a request ID for the request where you got an unexpected response back?

#

req_123

#

Will be in that format

#

I see. I was able to find it

austere mountain
#

req_06Kuif7ILQSqra

leaden kraken
#

So the issue is you are making the request to get that account's details from that account. In that situation, we show a limited response of account details. To get the full response of the standard account like the one you linked earlier, you would have to make a request from the platform account (with the platform account's API key) to get the connected account's details

austere mountain
#

I see. So l can't get business_profile of a connected account using my platform api key + the account id is that right?

#

thanks for looking into this @leaden kraken

leaden kraken
#

You can get that business_profile info by using the platform key + the connected account's ID in the request

#

The issue with your previous request was that you were using the connected account's api key in the request

twilit hazel
#

clarification: you are using your own account's API key (the platform) as expected but the account id you give is your own account id, not a connected account

austere mountain
#

I understand, the curl above was using my own but I have this one acct_16YMkSJsg3M9lTql to test

#

the problem I see is that if the connected account is done in test mode the API wont return business_profile among other fields

#

but if I do stripe connect in production mode it works fine

#

I wonder if its a bug in test mode or it was designed that way

twilit hazel
#

yes in Test mode you can not access standard account's details like business_profile and other PII-related fields

austere mountain
#

this should be stated in the docs since I simply copy pasted from there expecting to get the same results I was seeing in the documentation.

#

anyway, that was helpful. thank you!

twilit hazel
#

sure, sorry for the back and forth

austere mountain
#

np