POST /api/public/v1/paywall/startPurchase
Changed onSaves the plan and period a Paywall card names on the caller's live purchase for the business and selects it, answering the choiceRevision the purchase review continues from at /auth/purchase. A purchase frozen for an unpaid Checkout has its sessions closed in Stripe first, and is refused checkoutCheckFailed when Stripe cannot confirm one closed, checkoutAlreadyPaid for one the business's standing subscription paid, leaving the Checkout as it was. Refused with FORBIDDEN as paywallClosed unless the merchant Paywall shows in the business and the caller may buy for it, or the business is suspended after its subscription ended (billing.getStanding recovery purchase) and the caller may manage its billing, and otherwise as purchase.startFromPricing refuses: organizationNotEligible, subscriptionExists, previousPaymentPending, offerChanged, checkoutInProgress, checkoutPaymentPending and selectionChanged.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
endpoint added
- info