Skip to main content
POST
Create License Key

Yetkilendirmeler

Authorization
string
header
gerekli

Standard HTTP Bearer token authentication header (e.g. Authorization: Bearer pk_live_...).

Gövde

application/json
product_id
integer
gerekli

Unique numeric database ID of the target product.

Örnek:

101

days
integer
gerekli

Validity duration in days (or hours if key_type is hour_limited).

Örnek:

30

key_type
enum<string>
varsayılan:time_limited

Licensing behavior model.

Mevcut seçenekler:
time_limited,
single_use,
multi_use,
time_restricted,
hour_limited
Örnek:

"time_limited"

note
string

Internal reference notes or customer identifier.

Örnek:

"Order"

max_uses
integer
varsayılan:1

Maximum activations allowed before key locks out.

Örnek:

1

bind_hwid
boolean
varsayılan:true

Enforce hardware ID locking on first machine activation.

Örnek:

true

auto_start
boolean
varsayılan:false

If true, expiry countdown begins upon generation rather than on first client use.

Örnek:

false

amount
integer
varsayılan:1

Quantity of keys to generate in bulk (max 100).

Örnek:

1

Yanıt

License key created successfully.

success
boolean
Örnek:

true

message
string
Örnek:

"Key created successfully"

key
string
Örnek:

"ABCD-EFGH-IJKL-USER"

id
integer
Örnek:

542

type
string
Örnek:

"time_limited"

product
string
Örnek:

"cs2_cheat"