Skip to main content
GET
/
v1
/
billing
/
plans
List billing plans
curl --request GET \
  --url https://api.truthlocks.com/v1/billing/plans \
  --header 'X-API-Key: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "name": "<string>",
      "price": 123,
      "currency": "<string>"
    }
  ]
}
GET /v1/billing/plans
Returns all available subscription plans. This is a public endpoint — no authentication is required. Use it to display a pricing page or to let users compare plans before subscribing.

Response

Returns an array of plan objects in order from free to enterprise.
key
string
Plan identifier used in checkout and subscription responses (e.g., plan_developer, plan_starter).
name
string
Human-readable plan name.
description
string
Short description of the plan.
price
integer
Monthly price in USD (whole dollars). 0 for the free tier.
currency
string
Currency code. Always USD for the catalog; regional pricing applies at checkout.
interval
string
Billing interval. Always month.
features
string[]
List of feature descriptions included in this plan.
highlight
boolean
Whether this plan should be visually highlighted as the recommended option.
To check how much a specific usage pattern would cost, use the plan estimator endpoint.

Authorizations

X-API-Key
string
header
required

API key for machine-to-machine authentication

Response

Plans list

items
object[]