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

# POST /api/public/v1/billing/getPlan

`POST /api/public/v1/billing/getPlan`

## Request

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

The business's own monthly and yearly price, with the plan code and trial length. Deprecated: use 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. Also refused as `intervalNotOffered` when the business's brand and region are not offered both monthly and yearly billing. Refused with FORBIDDEN as `paywallLocked` when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.

## Request body

- object
  - `organizationId` string, required

## Response `200`

OK

- object
  - `planCode` string, required
  - `trialPeriodDays` number, required
  - `prices` object[], required
    - `interval` 'month' | 'year', required
    - `unitAmount` number, required
    - `currency` string, required

## Changes

- **2026-10-24** `08398fc8834c`: 1 breaking, 4 info
  - the response's body type changed from no type to `object` for status `200`
  - removed `subschema #1, subschema #2` from the response body `anyOf` list for the response status `200`
  - added the required property `planCode` to the response with the `200` status
  - added the required property `prices` to the response with the `200` status
  - …1 more

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