#devendra-accounts

1 messages · Page 1 of 1 (latest)

ripe lantern
#

Can you elaborate? Are you using Connect and if so, what type of accounts?

jaunty egret
#

I want to know owner name of stripe account

#

I have public and secret key.

ripe lantern
#

Please see my previous message. What type of Stripe account are you referring to?

jaunty egret
#

I dont know sir.

#

$stripe = new \Stripe\StripeClient(
'sk_test_51HP4Z4LxFlqFiR545113VrlIxUif7FiriRbCA5ERLsqPHSWglwre4gHV6no1sknE8Q9dnhl5h4SMeYgV0wMK8vLq00uI2MwmSZ'
);
$stripe->accounts->allPersons(
'acct_1032D82eZvKYlo2C',
['limit' => 3]
);

#

how to get this "acct_1032D82eZvKYlo2C"

#

I mean that what is first parameter of allpersons() method

ripe lantern
jaunty egret
#

I used and getting a response but I cant the result not find it.

ripe lantern
#

Sorry, I don't understand what you mean by result not find it. What are you seeing and what is missing?

jaunty egret
#

I mean that i dont get like this "acct_1032D82eZvKYlo2C"

#

I'm sharing with you what i getting response

ripe lantern
#

That call returned an empty list. Are you in live/test mode and mean to use the keys for the other mode? Have you also created one or more connected account on your platform first?

jaunty egret
#

I'm using live key.

#

I dont know about it.

ripe lantern
#

OK so let's make sure I understand. Are you trying to look up the persons on your own account, or on a connected account that belongs to someone else and has been connected to your Connect platform?

jaunty egret
#

Yes.

ripe lantern
#

Those are two separate things. Which one are you saying "yes" to?

jaunty egret
#

trying to look up the persons on your own account

#

I just want to know owner name

ripe lantern
#

That's not a thing. You can't look up your own account detalis via the API. You'd use the Dashboard.

jaunty egret
#

No way to achive this

ripe lantern
#

Not with the API, no.

jaunty egret
#

any other option

#

without dashboard

#

I have secret key and public key.

ripe lantern
#

What are you looking to accomplish that you need to look up your own account details via the API

jaunty egret
#

I have multiple stripe account on the portal and multiple franchise but some change the public and secret key so I want to know of owner detials

ripe lantern
#

You'd want to use the Dashboard to find those details. You can't do it via the API.

jaunty egret
#

we don't have it.

dull talon
#

As turbotime said you can't get any of those personal details, but you can make a request to https://api.stripe.com/v1/account to find the account id of your own account with the secret key, since you mentioned earlier you wanted to get that.

jaunty egret
#

Give me exmpale

dull talon
#

Example of what?

jaunty egret
#

docs ?

dull talon