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

# POST /api/public/v1/purchase/startCheckout

`POST /api/public/v1/purchase/startCheckout`

## Request

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

Starts the hosted Stripe Checkout of the caller's live purchase and returns its URL, or `confirming` while an earlier payment is being confirmed. The server re-prices the confirmed business's own offer and refuses `offerChanged` unless `quoteId` still signs to it; the browser supplies no price, amount, currency, trial or license count, and the session bills the base licenses the accepted terms name. `choiceRevision` is the purchase revision the terms were accepted at (optional only for a page still running the previous bundle): any other is refused as `selectionChanged` before anything reaches Stripe, and the freeze is written only at that revision, so a change made since (another tab's included, even one that restored the same terms) is reviewed and accepted again. Refused with PRECONDITION_FAILED as `selectionChanged`, `organizationUnconfirmed`, `businessRegionUnconfirmed`, `businessRegionNotSold` (the confirmed country is not one purchases are sold in, even with an offer configured there), `quantityUnsupported` while the purchase holds more than one base license and `pricing-multi-license` is off (nothing is written; the count is chosen again on the review), `organizationNotEligible`, `purchaseIntentClosed`, `offerChanged`, `billingPaused`, `emailUnverified` (the caller's stored address is not verified yet; nothing reaches Stripe, and `sendEmailCode` starts the verification) or any refusal of Billing's own Checkout. Before creating a session it closes the sessions the purchase opened for any other business it named: refused as `checkoutInProgress` while such an attempt is reserved or unknown, `checkoutPaymentPending` or `checkoutAlreadyPaid` while its payment may have landed, and `checkoutCheckFailed` when Stripe cannot confirm one closed.

## Request body

- object
  - `intentId` string, uuid, required
  - `organizationId` string, required
  - `interval` 'month' | 'year', required
  - `quoteId` string, required
  - `choiceRevision` integer

## Response `200`

OK

- union
  - object
    - `outcome` 'url', required
    - `url` string, required
  - object
    - `outcome` 'confirming', required

## Changes

- **2026-11-02** `f242b1400ee0`: 1 info
  - added the new optional request property `choiceRevision`
- **2026-10-27** `f262a1a20099`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/fortis/apis/fortune-os-api/changes/api/public/v1/purchase/startCheckout/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)
