Create a plan
Use this endpoint to create a subscription plan in the Bango Platform.
Authorizations
Base64 encoding of username:password as supplied by Bango Support
Headers
An arbitrary, optional, globally unique identifier for the request. If present, this ID is used for idempotency.
Body
Data for initializing a plan. If the productName already exists in the Bango Platform, the plan will be added within the existing productName. Else a new productName will be created for this plan and future plans. planPhases will be added using the sequenceId specified. For more information see the PlanPhases schema.
The unique identifier for the product or service the user is subscribing to. The product catalog defines these identifiers. The first character of the planName can't be a number.
"bango-music"
The unique identifier for the plan detailing the prices and offer periods associated with the subscription. Bango use NCName type which means that the planName cannot contain several symbol characters like :, @, $, %, &, /, +, ,, ;, whitespace characters or different parenthesis.
"bango-music-3-months-free"
Response
Plan created successfully
A subscription plan record in the Bango Platform
Always 'OK'
OK "Success"
The unique identifier generated by Bango for a plan. This is a globally unique, opaque string
"123e4567-e89b-12d3-a456-426614174000"
The unique identifier for the product or service the user is subscribing to. The product catalog defines these identifiers. The first character of the planName can't be a number.
"bango-music"
The unique identifier for the plan detailing the prices and offer periods associated with the subscription. Bango use NCName type which means that the planName cannot contain several symbol characters like :, @, $, %, &, /, +, ,, ;, whitespace characters or different parenthesis.
"bango-music-3-months-free"

