#Rayon-connect-onboarding-webhooks
1 messages · Page 1 of 1 (latest)
Hi 👋 it sounds like you're asking about what type of webhook events you want to listen to in order to be notified of changes happening to your Connected Accounts. If so, you'll primarily want to listen to account.updated, but capability.updated and person.updated may also be useful.
Hi, What I want I is the webhook type when seller successfully connect stripe in my platform using onboarding (and redirect back to site) . I am getting account.updated , capability.updated too .
But that is vague
Gotcha, account.updated is what you're looking for then, but keep in mind that type of event is triggered whenever an account is updated, there is no type of event that only triggers when your Connected Account leaves the onboarding experience.
Depending on the countries where the accounts are located, some information may need to go through a verification process and so the Connected Account may not be ready as soon as they leave the onboarding flow.
You'll want to use the account.updated events to keep an eye on the account in general. payouts_enabled and charges_enabled are key fields on the Account object that help indicate what it is allowed to do.
So even after succesfull onboarding , status to be enabled is not instant ?
okay gotcha , after account.updated I need to check for charges)enabled & payouts_enabled , thanks for this
Happy to help! You can also keep an eye on the requirements and future_requirements hashes to look for any additional requirements that need to be completed by the Connected Account. Sometimes the requirements are threshold based, meaning they may become due after a certain amount of volume is processed.
You can use this page to look at the requirements per country/account type, to see what exactly will be required, and when, for your scenarios:
https://stripe.com/docs/connect/required-verification-information
ok thanks