PENDING
toward ACTIVE. For Stripe Connect, it produces the hosted link the seller uses
to submit their details.
Run the workflow
createOnboardingWorkflow asks the provider to produce onboarding data and
stores it as an Onboarding record on the account.
src/api/custom/onboarding/route.ts
data field for you to return to the seller.
Reaching ACTIVE
Onboarding kicks off the flow, but the account only becomes ACTIVE when the
provider confirms it via webhook. Handle that step in
Process a webhook, and see
Account lifecycle for the full
state model.