User profile should have a flag in account to connect with Stripe
A user that’s redirected to your return_url might not have completed the onboarding process. Use the /v1/accounts endpoint to retrieve the user’s account and check for charges_enabled. If the account isn’t fully onboarded, provide UI prompts to allow the user to continue onboarding later. The user can complete their account activation through a new account link (generated by your integration). You can check the state of the details_submitted parameter on their account to see if they’ve completed the onboarding process.
Is your feature request related to a problem? Please describe.
Integrate connection through stripe using OAUTH2
Describe the solution you'd like
Additional context
return_url
might not have completed the onboarding process. Use the/v1/accounts
endpoint to retrieve the user’s account and check forcharges_enabled
. If the account isn’t fully onboarded, provide UI prompts to allow the user to continue onboarding later. The user can complete their account activation through a new account link (generated by your integration). You can check the state of thedetails_submitted
parameter on their account to see if they’ve completed the onboarding process.