Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

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

Body

application/json
code
string
required
Pattern: ^[a-z][a-z0-9_-]{1,63}$
kind
enum<string>
required
Available options:
trial,
one_time,
recurring,
free,
manual
localizations
object
required
version
object
required
visible
boolean
default:false
sortOrder
integer

Response

Plan created

id
string<uuid>
code
string
kind
string
versionId
string<uuid>
version
integer