#J Sam

1 messages · Page 1 of 1 (latest)

summer orbitBOT
grizzled ice
#

WHen you say "find connected account" do you mean "get the Connect account's Account object via the API"?

bleak cobalt
#

yea

#

I want to find a specific account using the account id

grizzled ice
bleak cobalt
#

So how do I check if an account is active

#

With the API of course

grizzled ice
bleak cobalt
#

$tes = $stripe->accounts->retrieve(
'acc####',
[]
);

#

This is the code I have right now

#

How would I get a specific option from the array?

#

I want to check if this is active or inactive

grizzled ice
#

I'm not sure I understand the question

summer orbitBOT
hexed sedge
#

Hello! I'm taking over and catching up...

#

In your code above $tes would be an array of Account objects. It's a normal PHP array, you can access the contents using any standard PHP array access approaches.

bleak cobalt
#

Ah, okay