Legacy Public Pricing
Read safe project pricing data with a publishable key.
Legacy (v1) API, no v2 equivalent yet. This page describes the Stripe-first legacy API. It is still supported and is not replaced by a v2 route.
GET /api/billstack/teams/{teamId}/projects/{projectId}/tiers/publicAuth
Publishable key:
Authorization: Bearer <publishable-key>or:
?pk=<publishable-key>Response
{
"tiers": [
{
"tierAlias": "pro",
"name": "Pro",
"description": "For growing teams",
"prices": [
{
"interval": "month",
"billingScheme": "standard",
"unitAmount": 499,
"currency": "usd",
"seatsLeft": null,
"soldOut": false,
"availableUntil": null
}
],
"lifetimeCampaign": null
}
]
}Notes
- Returns active prices only.
- Hides provider IDs and internal secret values.
- Includes lifetime availability fields such as
seatsLeft,soldOut, andavailableUntil. - Responses may be cached briefly for public marketing pages.
pricesnever includes a tiered Lifetime Deal (LTD) campaign's per-step prices (billingScheme: "campaign_step") — those are surfaced instead through the per-tierlifetimeCampaignfield,nullwhen the tier has no active campaign. See Lifetime Deal Campaigns for the full shape and semantics.
Errors
| Status | Meaning |
|---|---|
401 | { "error": "Publishable key required" } — the publishable key is missing, malformed, or does not resolve to this team/project |