POST /api/public/v1/purchase/cancel
Changed onCancels 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 URLhttps://app.fortuneos.ai
- Authnone declared
Request body
object required
intentId, string uuid required
Response
OK
object required
result, 'cancelled' required
checkout, 'none' | 'closed' | 'unconfirmed' required
Changes
- info
endpoint added
- info