POST /api/public/v1/billing/resumeSubscription
Changed onAsks Stripe to resume the business's paused subscription, invoicing it now against the card on file; replace the card first through openPortal with paymentMethodUpdate. Access returns once Stripe's verified webhook reports the subscription in good standing, never on this answer. Refused with FORBIDDEN for a demo business, and with PRECONDITION_FAILED while Live billing is paused for the business, when it has no paused subscription, as subscriptionExists while another subscription stands beside it, as customerMismatch when the paused subscription is not on the business's own billing account, and as subscriptionUnverified when Stripe no longer reports it paused. For a classified test organization's Stripe Sandbox records: refused with FORBIDDEN as sandboxNotAllowed unless the caller is a verified Fortune OS employee, and with PRECONDITION_FAILED as billingNotConfigured while the Sandbox is not configured; the experiment is not asked.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Changes
- info
endpoint added
- info