POST /api/public/v1/billing/getBaseLicensing

Changed on

The business's base-plan licenses: state (noSubscription, eligible, unverified, pastDue, legacyUnrestricted or unavailable), whether a location may be given one now (canAssign), the mirrored and verified quantities, the assigned location ids and the free count. Never calls Stripe. For a classified test organization's Stripe Sandbox records: refused with FORBIDDEN as sandboxNotAllowed unless the caller is a verified Fortune OS employee, and with PRECONDITION_FAILED as billingNotConfigured while the Sandbox is not configured; the experiment is not asked.

Request

  • Base URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
organizationId, string required

Response

OK

object required
state, 'noSubscription' | 'eligible' | 'unverified' | 'pastDue' | 'legacyUnrestricted' | 'unavailable' required
canAssign, boolean required
providerQuantity, number required
verifiedCapacity, number required
unverifiedQuantity, number required
assignedLocationIds, string[] required
assignedCount, number required
freeCount, number required

Changes