---
title: "POST /api/public/v1/billing/getQuote"
method: POST
path: "/api/public/v1/billing/getQuote"
---

# POST /api/public/v1/billing/getQuote

`POST /api/public/v1/billing/getQuote`

## Request

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

Prices a selection of the business's own plan, period and add-ons and returns the total, its lines and a `quoteId` that confirms exactly that. No Stripe Price id is returned. Refused as `planNotOffered`, `intervalNotOffered`, `addonNotOffered`, `addonIncompatible`, `addonRedundant`, `addonDuplicate` or `quantityUnsupported` when the selection is not sold, and as `quantityUnsupported` when `baseQuantity` is above one while the `pricing-multi-license` flag is off, with FORBIDDEN as `demoOrganization` for a demo business, and as for billing.getOffer: Refused with PRECONDITION_FAILED as `organizationBrandUnknown` or `organizationRegionUnknown` when the business has no recognized brand or region, as `priceUnusable` when a configured Stripe price cannot back a subscription or the offer's prices name different products or currencies and no period remains usable, as `catalogTermsConflict` when the deployed catalog redefines a published plan or add-on version, as `pilotCouponUnavailable` when a staff discount or one of the business's discount grants applies to a selection and its Stripe coupon is missing, spent or no longer matches the terms it was accepted on, and as `billingNotConfigured` when the offer names prices but billing is not configured. For a classified test organization, billed in the Stripe Sandbox: refused with FORBIDDEN as `sandboxNotAllowed` unless the caller is a verified Fortune OS employee holding the `billing-sandbox` experiment, and with PRECONDITION_FAILED as `billingNotConfigured` while the Sandbox is not configured.

## Request body

- object
  - `organizationId` string, required
  - `planCode` string
  - `interval` 'month' | 'year', required
  - `intervalCount` integer
  - `addons` object[]
    - `code` string, required
    - `quantity` integer
  - `baseQuantity` integer

## Response `200`

OK

- object
  - `planCode` string, required
  - `interval` 'month' | 'year', required
  - `intervalCount` number, required
  - `currency` string, required
  - `trialPeriodDays` number, required
  - `totalAmount` number, required
  - `amountDueToday` number, required
  - `discountPercentOff` number, nullable, required
  - `discountAmountOff` number, nullable, required
  - `items` object[], required
    - `kind` 'base' | 'addon', required
    - `code` string, required
    - `interval` 'month' | 'year', required
    - `intervalCount` number, required
    - `quantity` number, required
    - `unitAmount` number, required
  - `quoteId` string, required

## Changes

- **2026-12-03** `1a534deccf06`: 1 info
  - added the required property `discountAmountOff` to the response with the `200` status
- **2026-11-06** `2adde96c0a21`: 2 info
  - added the required property `amountDueToday` to the response with the `200` status
  - added the required property `discountPercentOff` to the response with the `200` status
- **2026-10-31** `0c1cbb02661a`: 1 info
  - added the new optional request property `baseQuantity`
- **2026-10-25** `93874fa47711`: 1 info
  - endpoint added

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