Onboarding

Finish an internal test account's subscribe step on a non-Stripe comped plan

Changed on

Only for an internal test account (a Median address, or an address holding a super-admin billing test pass); any other account answers 422 ONBOARDING_NOT_BILLING_TEST_ACCOUNT. Creates no Stripe customer, subscription or invoice: the company is provisioned with client_status test and an active comped billing plan, and the flow moves to setup. Idempotent once activated. For such an account the Stripe paths (setup-intent, subscribe, checkout-session) answer 409 ONBOARDING_BILLING_TEST_ACCOUNT. Request body is empty.

post/onboarding/v3/test-account-activation

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

OnboardingV3EmptyBody required

Response

The activated flow

OnboardingV3SubscribeApiResponse required
success, true required
data, union required

Changes

    • info

      added the optional property data/oneOf[subschema #1]/flow/billingSource to the response with the status

    • info

      added the optional property data/oneOf[subschema #1]/flow/taxReturnAddonCents to the response with the status