Handle onboarding

After you complete an account connection you should use the Account API to check the verification status of the account.

curl https://api.yorlet.com/v1/account \
-H "Authorization: Bearer {{API_KEY}}" \
-H "Yorlet-Account: {{ACCOUNT_ID}}" \

You can check the state of the details_submitted parameter on their account to see if they’ve completed the onboarding process. If the account is not fully onboarded you can redirect them to https://dashboard.yorlet.com to complete the verification process.