#jyee
1 messages · Page 1 of 1 (latest)
You can use Account Retrieval API to retrieve account information: https://stripe.com/docs/api/accounts/retrieve
for example, if i had the account.id from an account.updated event, can i use that id to hit an endpoint to get the verification status?
Above Account Retrieval API should work
what on the account object is going to give me the verification status?
the "verified", "unverified" value
Do you mean you want to check whether the account is ready to process payment?
no, we are using StripeConnect to verify KYC informatin
so i'm listening to account.updated events, but on account, there doesn't seem to be a field that flags if the account is verified (like it is on the Person object)
Do i need to infer based on an empty requirements.currently_due and requirements_eventually_due being empty?
to clarify, we need to know if an account is ready to use a charge card product
The steps will be:
- Check
charges_enabledto check whether the account is ready to perform live charges: https://stripe.com/docs/api/accounts/object#account_object-charges_enabled - Check
payouts_enabledto check whether the account is ready to accept payout: https://stripe.com/docs/api/accounts/object#account_object-payouts_enabled - If
requirements.currently_duefield is not empty, you should bring customer back online to complete the payment. Only whenrequirements.currently_dueis completed, thencharges_enabledandpayout_enabledwill become true - If ``requirements.requirements_eventually_due
field is not empty, bringing customer back online as soon as possible will preventcharges_enabledandpayout_enabled` to become false
You shouldn't need to check the verification status field specifically. requirements, charges_enabled and payouts_enabled field should be sufficient to determine whether a connected account is ready to perform charges and payout
👍