---
title: "POST /api/public/v1/purchase/closeCheckout"
method: POST
path: "/api/public/v1/purchase/closeCheckout"
---

# POST /api/public/v1/purchase/closeCheckout

`POST /api/public/v1/purchase/closeCheckout`

## Request

- Base URL: `https://app.fortuneos.ai`
- URL: `https://app.fortuneos.ai/api/public/v1/purchase/closeCheckout`
- Auth: none declared

Closes 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 body

- object
  - `intentId` string, uuid, required

## Response `200`

OK

- object
  - `closed` boolean, required

## Changes

- **2026-11-01** `dca8205f465f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/purchase/closeCheckout/post.md)

---

[API](https://skmtc.dev/fortis/apis/fortune-os-api.md) - [All operations](https://skmtc.dev/fortis/apis/fortune-os-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fortis/apis/fortune-os-api/revisions/522f3cea550d?raw)
