Onboarding

Create or reconcile the flow-bound Stripe test subscription

Changed on

Request body is empty; all economics and provider IDs come from durable server state.

post/onboarding/v3/subscribe

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

Completed flow or a minimal invoice action secret

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