#nick_api

1 messages ยท Page 1 of 1 (latest)

brisk gazelleBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1397299272206258260

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

plucky knot
#

Hello
It's possible that there are details that are still being verified.

The best way to check if the Connected Account has been verified and is active, is to look at charges_enabled and payouts_enabled fields on the Account object.

clever mountain
#

ok thanks

#

so regardless of individual or company, just reference those fields?

plucky knot
#

Yup

clever mountain
#

ok yeah it looks like on the client side we are doing some weird logic to dive into the persrons object, which may be the source of confusion

#

do you have access to connect accounts to confirm that the account is indeed verified?

plucky knot
clever mountain
#

ok cool

#

thank you!

#

let all_persons_verified = _.every(persons, (p) => { return p.verification && p.verification.status == 'verified'; });

#

we are doing some stuff like this to check for verification status

plucky knot
#

Gotcha. Yeah that's not the best way as Person verification !== Account being verified

clever mountain
#

thanks!

#

one last question, what does persons verification infer then?

plucky knot
#

That's more related to Identity verification.

#

(also, don't take my word for it as my team on discord won't know a lot about account verification things -- Support team would be the experts in this)

clever mountain
#

ok thanks

#

could it be true that ID verification has failed but payouts are still enabled?

brisk gazelleBOT
plucky knot
#

Not sure, something support team can help answer with 100% certainty ๐Ÿ™‚

clever mountain
#

I confirmed the account has ID verification passed, but the accounts API is still responding with pending

#

so maybe another reason to not rely on this info

#

is there another API we could call to get up to date verification info rather than accounts?

#

looks like we are using accounts.retrieve

sonic mauve
#

Hi, taking over as my teammate needs to step away. Let me catch up.

clever mountain
#

thanks

#

the tldr is we are using the persons object from the accounts API to determine if a company's account is verified and has payouts enabled

#

it shows verified in the dashboard but the API is returning pending

sonic mauve
clever mountain
#

ok but can you confirm charges_enabled and payouts_enabled being true, implies that verification has passed?

sonic mauve
#

Yes, that is my understanding

#

However, I'm unsure if there is a grace period for certain requirements so you'd want to check in with our support team