Order Information
User History
Prices
Coupons
Products
Pay Links
Transactions
Plans
Subscription Users
Modifiers
Payments
One-off Charges
Webhooks
post

/2.0/product/generate_license

Generate a Paddle-framework license.

Request Body

Form data (application/x-www-form-urlencoded)
vendor_id
integer

The vendor ID identifies your seller account. This can be found in Developer Tools > Authentication.

required
pattern: \d+
minimum: 1
vendor_auth_code
string

The vendor auth code is a private API key for authenticating API requests. This key should never be used in client side code or shared publicly. This can be found in Developer Tools > Authentication.

required
pattern: [0-9a-f]+
product_id
number
required
allowed_uses
integer

Number of activations allowed for the license.

required
expires_at
string

Specifies which date (in format YYYY-MM-DD) the license should expire on. Leave empty for license to never expire.

format: date
pattern: \d{4}-\d{2}-\d{2}

Responses

1 Example
Schema
object
or
object

An unsuccessful call to the Dashboard API will return a 200 response containing a field success set to false and an error object.

Send a Test Request

Send requests directly from the browser (CORS must be enabled)
$$.env
No $$.env variables are being used in this request.