GET
/
v1
/
billing-plans
/
{id}
curl --request GET \
  --url https://api.hyperline.co/v1/billing-plans/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "billing_scenario_id": "<string>",
  "available_intervals": [
    "weekly"
  ],
  "billing_items": [
    {
      "id": "<string>",
      "name": "<string>",
      "type": "flat_fee",
      "prices": [
        {
          "id": "<string>",
          "from": 123,
          "to": 123,
          "amount": 123,
          "unit_count": 123,
          "billing_item_id": "<string>",
          "currency": "EUR"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200 - application/json
id
string
required
name
string
required
description
string | null
required
billing_scenario_id
string
required
available_intervals
enum<string>[]
required
Available options:
weekly,
monthly,
quarterly,
yearly
billing_items
object[]
required