Create a plan
Creates a new subscription plan with one or more price options. Customers subscribe to individual options within a plan.
Headers
string The Bearer token for authentication.
string The user agent of the request. Must contain at least two identifiers separated by a space.
string The content type of the request.
Request Body
application/jsonstring Short description about the plan
string A detailed summary explaining what the plan is about.
string Currency code in ISO 4217 format.
SRDUSDEURarray List of plan line options.
string Short description about the option.
float Price per unit.
number The number of days for each billing interval. (e.g. 30 for monthly or 365 for yearly)
object Custom key-value pairs that can be used for option specific features.
Response Body
application/jsonboolean Indicates that the request was successful.
object The data of the newly created resource.
string The ID of the newly created resource.