POST /api/public/v1/purchase/cancel

Changed on

Cancels the caller's live purchase after expiring the Checkout sessions it opened. Answers checkout: closed, none (nothing was open) or unconfirmed (Stripe could not be asked; a payment that lands later still completes the purchase). Refused as checkoutAlreadyPaid or checkoutPaymentPending when a session was paid, leaving the purchase as it was.

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
intentId, string uuid required

Response

OK

object required
result, 'cancelled' required
checkout, 'none' | 'closed' | 'unconfirmed' required

Changes