Skip to main content
GET
/
plans
/
{id}
Get Plan by ID
curl --request GET \
  --url https://dev-billing-api.spectertech.ai/api/v1/plans/{id}
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "price": 123,
  "currency": "<string>",
  "interval": "<string>",
  "features": [
    {
      "id": "<string>",
      "name": "<string>",
      "description": "<string>"
    }
  ]
}

Path Parameters

id
string
required

Unique plan ID

Response

OK - Successful response

id
string

Unique identifier of the plan

name
string

Name of the plan

description
string

Detailed description of the plan

price
number

Price in the smallest currency unit (e.g., cents)

currency
string

Currency code (e.g., 'usd')

interval
string

Billing interval (e.g., 'month')

features
object[]
I