Onboarding

Deep-merge one authenticated setup task slice

Changed on

The server is the sole setup-state authority. Completing Business Basics updates company identity and the primary legal entity in the same database transaction as this setup-state write.

patch/onboarding/v3/setup-state

Request

  • Base URL
    https://api.medianfi.com/api/v1
  • Auth
    HTTP bearer

Headers

X-Median-App-Surface, 'qa'

Bundle marker selecting the temporary /qa onboarding surface. Optional on this promoted deployment (ONBOARDING_V3_QA_ONLY=false): unmarked requests are served, and a qa value is accepted and ignored. Still required on any deployment running ONBOARDING_V3_QA_ONLY=true, where an unmarked request receives the hidden-resource 404. On neither setting is it a tenant authorization credential.

Request body

union required
OnboardingV3AuthoritySetupPatch required
OR
OnboardingV3BusinessBasicsSetupPatch required
OR
union required
OR
union required
OR
union required
OR
union required
OR
unknown required

Response

Authoritative state after the task-scoped merge

OnboardingV3SetupStateApiResponse required
success, true required
data, OnboardingV3SetupState required

Changes

    • info

      added request discriminator mapping keys to the oneOf[#/components/schemas/OnboardingV3HistorySetupPatch]/oneOf[#/components/schemas/OnboardingV3HistoryCompletionPatch]/data/byInstitution/additionalProperties request property

    • info

      added to the oneOf[#/components/schemas/OnboardingV3HistorySetupPatch]/oneOf[#/components/schemas/OnboardingV3HistoryCompletionPatch]/data/byInstitution/additionalProperties request property oneOf list