Onboarding
Create or reconcile the flow-bound Stripe test subscription
Changed onRequest body is empty; all economics and provider IDs come from durable server state.
post/onboarding/v3/subscribe
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP 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
Onboarding V3 Empty Body required
Response
Completed flow or a minimal invoice action secret
Onboarding V3 Subscribe Api Response required
success, true required
data, union required
Changes
- info
added the optional property
data/oneOf[subschema #1]/flow/billingSourceto the response with the status
- info
- info
added the optional property
data/oneOf[subschema #1]/flow/taxReturnAddonCentsto the response with the status
- info