Complete onboarding after Stripe Checkout

POST /api/v1/onboarding/complete

Called after the user completes Stripe Checkout. Retrieves the session, creates the business, firm, and HubSpot records.

Operation ID: complete_onboarding_api_v1_onboarding_complete_post · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Request body

stripe_session_id string required

Stripe Checkout session ID

Responses

201 Successful Response

firm_id string required
business_id string required
user_id string required
message string

400 Bad Request - Invalid input

409 Conflict - Resource already exists

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object

429 Too Many Requests - Rate limit exceeded