Skip to main content
GET
Fetch plan version

Authorizations

X-API-KEY
string
header
required

API Key Authentication.

Path Parameters

id
string<uuid>
required

The unique identifier of the plan version.

Response

A plan version: one saved state of the plan charges of a plan.

id
string<uuid>
required

The unique identifier of the plan version in our system.

versionNumber
number
required

The number of the plan version in its plan, from 1, one more for each new plan version.

Required range: x >= 1
isActive
boolean
required

Whether the plan version is the active plan version of its plan, whose plan charges a new plan instance of the plan bills. A plan has one active plan version.

planCharges
object[]
required

The plan charges of the plan version.

A fixed charge: the same amount in every charge period, billed on the invoice that its billing timing names.