201Successful Response
Schema: SuccessEnvelope_PrepareCheckoutResponse_
successbooleanmessagestringcodestringdataPrepareCheckoutResponse
/api/v1/onboarding/prepare-checkoutCollects plan and add-on selections, creates a Stripe Checkout session with a 1-month (30-day) trial. Business is NOT created until /complete is called.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: PrepareCheckoutRequest
account_typestringrequired'self-managed', 'dz-managed', or 'advisory-firm'
business_namestringrequiredmailboxstringrequireddefault_currencystringDefault business currency. Supported out of the box: USD, CAD, AUD, EUR, GBP.
tax_year_end_monthintegerselected_addonsarray · stringOptional list of addon slugs to include on the Stripe Checkout. Capped at 50 entries.
trial_agreedbooleanrequiredUser has agreed to the 1-month (30-day) free trial terms
billing_intervalstringBilling cadence for the subscription. 'year' resolves the discounted annual catalog prices; defaults to 'month'.
One of: month, year
firm_namestringfirm_plan_tierstringGraduated firm plan tier (defaults to firm_starter)
einstringlogo_urlstringaddressstringnum_full_time_accountantsintegernum_part_time_accountantsintegercurrent_toolsarray · stringsuccess_pathstringOptional path-only override (no host) to land on after Stripe Checkout. Defaults to /onboarding/complete.
cancel_pathstringOptional path-only override (no host) for cancelled checkout. Defaults to /welcome.
Schema: SuccessEnvelope_PrepareCheckoutResponse_
successbooleanmessagestringcodestringdataPrepareCheckoutResponseSchema: HTTPValidationError
detailarray · ValidationErrorValidationErrorlocarray · string | integerrequiredmsgstringrequiredtypestringrequiredinputobjectctxobject