Plans
Get plan
Retrieve the details of an existing plan.
GET
/
v1
/
plans
/
{id}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
id
string
requiredResponse
200 - application/json
id
string
requiredPlan ID.
name
string
requiredPlan name.
description
string | null
requiredPlan description.
commitment_interval
object | null
requiredInterval used to represent the commitment period of the plan.
contract_duration
object | null
requiredDuration of the initial contract for the created subscription.
renew_automatically
boolean
requiredIndicates if the subscription to the plan should automatically renew.
renew_for
object | null
requiredInterval to renew thr subscription for if renew_automatically
is enabled.
trial_interval
object | null
requiredInterval used to represent the trial period of the plan.
products
object[]
requiredcustom_properties
object | null
requiredA list of key value with the ID or the name of the custom property as the key and the custom property value as value.
Was this page helpful?