#Santa Klauz-halt-express-onboarding
1 messages · Page 1 of 1 (latest)
I mean added as a payout destination, not a payment source btw
Hey. There's no way to control the hosted onboarding process like that out of the box. Instead you'd need to integrate this yourself, likely listening for the account.external_account_created event on the platform: https://stripe.com/docs/api/events/types#event_types-account.external_account.created
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Awesome, thanks
@celest oak just to confirm - am I supposed to receive this event at the end of the hosted onboarding process?
Hmm, I believe it should fire as soon as the external account details are added
Indeed it does, so that raises another issue: I can't reject the connect account at that point because it is not fully onboarded
That account has already been rejected.
Yes my recommendation would be to have some kind of callback on your return_url that will reject the account based on any external account data