#mossoc_connect-webooks
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1407038960869441628
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi ๐
The account.application.authorized event occurs on the Connected Account when a Client Application (Platform) has been authorized to connect with it.
How are you onboarding Connected Accounts?
Hi, thanks for your reply!
With Express mode
Are you creating the Connected Accounts yourself?
The account.application.authorized when a stand-alone Stripe account connects to your platform
Yes, in test mode
it does not fire when you create the accounts yourself
Since you create the accounts using your Platform, they are already connected to you.
I created myself but as a real test account, through this type of link https://connect.stripe.com/app/express#xxx/overview
Let's take a step back
What are you trying to understand here?
Express Accounts created by your platform are connected to your Platform from the start. But they are not ready to accept payments right away. Are you trying to understand when they have completed their onboarding and are ready to accept payments?
Yes I would like to listen for an event that is triggered when the Connected Account status changes from restrictedto enabled
There is no event for that. Also that status does not exist on the Account object itself. It's a dashboard only feature
What you can do is listen for the account.updated event and check the requirements property
When the requirements property doesn't have anything listed in the currently_due array, then your accounts can start making charges.
Ok good to know thank you
Regarding account.updated, is it triggered after each Connected Account update?
What I find weird is that there is not a single event triggered after I updated my info as a Connected Account
Can you share that Account ID?
Sure : acct_1RxTtnQge6rIYc5A
Thanks, taking a look
Okay there have been multiple account.updated events occurring on this account
Do you have a webhook configured to listen for events on Connected Accounts?
Here is a good example of what I'm talking about with the Account's requirements property: https://dashboard.stripe.com/test/events/evt_1RxVAhQge6rIYc5AWFG12sPI
Here is what i see
You can't see that event on your platform account
IT only exists on the Connected Account
Ok I see, as the platform account, can I create a webhook that listens to account.updated of Connected Accounts?
Yes!
We have a doc specifically about how to set up webooks for Connect integrations here: https://docs.stripe.com/connect/webhooks
It also mentions different event types you might want to listen for and when they occur
Happy to help ๐
It's why we're here
Oh!
Be sure you select the Accounts V1 tab in that doc
You aren't creating V2 Accounts so, if you don't select the right tab, you will see events that don't apply to you