#squirez
1 messages · Page 1 of 1 (latest)
What's the Q?
hello
The question is
once a get the capability object
the status value
can have 4 different state
active , inactive,pending or unrequested
what does pending mean exactly?
hopefully that makes sense
im using this command in the Stripe CLI
stripe capabilities retrieve 'account' card payment
It's likely that there's information/requirements missing on the related account for the capability to be enabled. Do you have a specific example you can share? What is it you're trying to do?
sure
actually no i dont
lol
i dont have a connected account that in a state of pending
What exactly are you trying to do then?
im creating a ridesharing app
and when people sign up to use my app
they need to create a connected account in order to receive payment
Sure, all sounds pretty standard so far
depending on the state of the connected account
i know i need to slight different URL's to help with the onbording process
or
making a amendment to there connect account
so
i understand what to do if a account is in a active state
and in a inactive state
im not sure what to do if a account in is a pending state
You'd check the charges_enabled, payouts_enabled and requirements hash on the Account object to get an idea whether the account is onboarded, or whether there is outstanding info: https://stripe.com/docs/connect/identity-verification-api#determining-if-identity-or-business-verification-is-needed
Best way is via account.updated events
ok let me have a read of this right now
Thank you