POST /api/public/v1/purchase/closeCheckout
Changed onCloses the hosted Checkout the caller's live purchase is frozen for and releases the freeze, keeping the purchase, its business, confirmations and plan, so it can go on to another business through selectOrganization or createOrganization, which clear the confirmations and need fresh terms and consent before any new Checkout. Answers closed: false when nothing is frozen. Every session the purchase opened is closed first by the rules of purchase.cancel: refused with PRECONDITION_FAILED as checkoutInProgress while an attempt is reserved or unknown, or when another attempt appeared before the freeze was released, checkoutPaymentPending while a paid session is still being settled, checkoutAlreadyPaid once that business's subscription stands, and checkoutCheckFailed when Stripe cannot confirm a session closed, each leaving the purchase frozen; purchaseIntentClosed for a closed purchase and selectionChanged when the freeze moved.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
Response
OK
Changes
- info
endpoint added
- info