Re-read the flow's pending first payment from Stripe
Changed on#4279. Re-reads the flow's recorded subscription under the billing lease and never creates a Checkout session. A subscription that is now active or trialing completes the flow through the same steps as webhook reconciliation and returns the flow; a paid flow returns the flow unchanged. Otherwise returns the payment state, with the Stripe-hosted invoice page (payByCardUrl, only when the founder can pay there) and the micro-deposit verification page and arrival date when Stripe gives them. A flow with no recorded subscription answers 422 ONBOARDING_NO_PENDING_PAYMENT.
Request
- Base URLhttps://api.medianfi.com/api/v1
- AuthHTTP bearer
Headers
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
Response
Completed flow, or the pending payment state
Changes
- info
added the optional property
data/oneOf[subschema #1]/flow/billingSourceto the response with the status
- info
- info
endpoint added
- info