#Sharvari96
1 messages ยท Page 1 of 1 (latest)
They can bounce if there is an issue with the bank account: https://stripe.com/docs/api/events/types#event_types-payout.failed
Ok thank you! will listen to that
So I am looking at onboarding express account that was created using an API, and link is given out to fill details
I am not getting any event updates
can that be managed just with refresh url and return url?
Is this a related question? Or a separate one?
hmm.. its related to events that I need to listen to in different flows that I have integrated
in that way related
but the flow I am inquiring about is different
I was expecting atleast - account.updated - events?
You shall be notified when charges_enabled or payouts_enabled are updated: https://stripe.com/docs/api/accounts/object#account_object-charges_enabled
I am enabling that via API -
capabilities={
"transfers": {"requested": True}
},
and I dont think my express account users can do that in the onboarding flow
Ok, let me rephrase so that there is no miscommunication
How would I know that the onboarding was succesful or not? after I have redirected the user to stripe express onboarding link?
Should ask this in a different thread?
No, please continue here.
There's no webhook notification for that. But as soon as the account is ready to accept payments and do payouts, you will be notified. It might not happen immediately after they completed the onboarding.
is there a time gap between onboarding and the account being ready to accept payments?
and what events are those?
I think the account needs to be approved. I am not exactly sure what's the process.
Stripe needs to check the provided information before allowing the account to accept payments.
๐ taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
hmm.. I am a bit confused - in test mode - account gets enabled after following the onboarding link
it doesnt work that way in live mode?
it depends on the testing data you've used
in live mode there will be actual validations which might take some time
ok
got it, what are events to listen to for when the account is ready to accept payments?
you can listen to https://stripe.com/docs/api/events/types#event_types-account.updated
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
and see whether https://stripe.com/docs/api/accounts/object#account_object-charges_enabled and https://stripe.com/docs/api/accounts/object#account_object-payouts_enabled are true
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
anything else I would need to listen to from a express account perspective?
- account.updated - charged_enabled, payouts_enabled.
- payout.failed to listen to issues in payout
I think that should be fine
you can read more about it here https://stripe.com/docs/connect/webhooks
Thanks!
you can close the thread for now. I will get back if I have any more questions.