Skip to main content
RMZ Software Licensing lets you sell license keys for your software products. Your customers purchase a key from your store, and your software verifies it against the RMZ API on startup or periodically.

How It Works

1

Create a license product

In your store dashboard, create a product with type Software License.
2

Configure lock type and activations

Choose a lock type (none, hwid, or ip), set max activations, and add pricing plans.
3

Customer purchases a key

When a customer completes an order, they receive a license key automatically (e.g. MYAPP-XXXX-XXXX-XXXX-XXXX).
4

Your software calls the verify endpoint

Your application sends a POST request to https://license.rmz.gg/verify with the product ID, license key, and optionally a hardware ID.
5

API responds with license status

The API returns whether the license is valid, along with full details including plan info, expiry, and activation counts.

Quick Start

1. Create a License Product

In your store dashboard, go to Products and create a new product:
SettingDescription
TypeSoftware License
Key prefixA short prefix for your keys (e.g. MYAPP produces MYAPP-XXXX-XXXX-XXXX-XXXX)
Lock typenone (key-only), hwid (hardware ID), or ip (IP address)
Max activationsHow many devices can use one key (0 = unlimited)
PlansDuration-based pricing tiers (monthly, yearly, lifetime, etc.)
E2EEOptionally encrypt all API responses with AES-256-GCM

2. Verify in Your Software

curl -X POST https://license.rmz.gg/verify \
  -H "Content-Type: application/json" \
  -d '{
    "product_id": 123,
    "license_key": "MYAPP-XXXX-XXXX-XXXX-XXXX",
    "hwid": "machine-hardware-id"
  }'

3. Handle the Response

{
  "success": true,
  "data": {
    "status": "active",
    "lock_type": "hwid",
    "product": {
      "id": 123,
      "name": "My Script Pro"
    },
    "plan": {
      "duration": "annually",
      "duration_label": "سنه",
      "start_date": "23-03-2026",
      "end_date": "23-03-2027",
      "is_active": true
    },
    "expires_at": "2027-03-23T12:00:00.000000Z",
    "expires_in_days": 365,
    "activations": {
      "current": 1,
      "max": 3,
      "remaining": 2
    },
    "metadata": null
  }
}

Code Examples

Full working examples are available for every supported language:

Node.js

Built-in fetch, no dependencies

Python

Uses the requests library

PHP

Built-in cURL, no dependencies

Lua / FiveM

FiveM-native HTTP requests
All examples are also available on GitHub: github.com/Rmz-App/rmz-license-examples

Managing Licenses

From your store dashboard under Licenses:
  • View all issued licenses with filters and search
  • Create manual licenses (for testing, gifts, etc.)
  • Revoke, suspend, or reactivate individual licenses
  • Reset device activations
  • View activation history and verification logs
  • Aggregate stats (active, expired, suspended, revoked)

License Lifecycle

EventEffect
Customer purchasesKey auto-generated with the configured prefix
Order completedLicense activated, expiry set from plan duration
Order cancelledAll order licenses revoked
Order refundedAll order licenses revoked
Expiry date passesMarked expired automatically (hourly check)