POST
/
plans

Authorizations

Authorization
string
header
required

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

Body

application/json
billingData
object
required

The billing data of the plan. The billing data contains the billing interval, the plan duration the payment terms and auto renewal, and the billing method.

name
string
required

The name of the plan

Minimum length: 1
products
object[]
required

The products of the plan

status
enum<string>
required

The status of the plan. plan statuses are active, inactive

Available options:
Active,
Inactive,
Error
basedFromPlanId
string
description
string
Minimum length: 1
purchaseOrder
string

The purchase order number

Maximum length: 20
trial
object

Response

200 - application/json
plan
object
required