#devendra-accounts
1 messages · Page 1 of 1 (latest)
Please see my previous message. What type of Stripe account are you referring to?
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
Meaning how do you find the id of a connected account? You can list connected accounts via https://stripe.com/docs/api/accounts/list and then for the one you want, use its id.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I used and getting a response but I cant the result not find it.
Sorry, I don't understand what you mean by result not find it. What are you seeing and what is missing?
I mean that i dont get like this "acct_1032D82eZvKYlo2C"
I'm sharing with you what i getting response
this
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?
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?
Yes.
Those are two separate things. Which one are you saying "yes" to?
That's not a thing. You can't look up your own account detalis via the API. You'd use the Dashboard.
No way to achive this
Not with the API, no.
What are you looking to accomplish that you need to look up your own account details via the API
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
You'd want to use the Dashboard to find those details. You can't do it via the API.
we don't have it.
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.
Give me exmpale
Example of what?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.