v1

latestOpenAPI 3.1.02026-07-17291060.8 KB
purchase

Create purchase code

post/purchase

Request body

planinteger required

Plans

The plan determines the type of subscription a user purchases. This affects permissions and billing for example. Valid plans are:

  • 1 Friends & Family
  • 2 Basic
  • 3 Developer - equals admin permissions

0 means the user doesn't have an active subscription anymore.

stockinteger required

How many subscriptions may be purchased using this link

instance_limitinteger required

Response

Purchase link created successfully

linkstring uri required