Developers

API

License API (Lemon Squeezy-compatible)

Same params (form-encoded or JSON) and the same response JSON as Lemon Squeezy's License API. No auth header needed, so it's safe to call from shipped apps.

POST /v1/licenses/activate    license_key, instance_name
POST /v1/licenses/validate    license_key, instance_id (optional)
POST /v1/licenses/deactivate  license_key, instance_id

Seller API

Use Authorization: Bearer rk_….

POST /api/products                {name, activation_limit?, license_length_days?, stripe_price_id?}
GET  /api/products
POST /api/licenses                {product_id, email, name?}
GET  /api/licenses?email=
POST /api/licenses/:id/disable | /enable
PUT  /api/products/:id/files?name=&version=   (raw body = file)
PUT  /api/settings/stripe         {webhook_secret, api_key?}  → webhook URL
POST /api/import/lemonsqueezy     {api_key, dry_run?, copy_files?, store_id?}

Stripe

Point a Stripe webhook at /webhooks/stripe/<seller_id> for checkout.session.completed, checkout.session.async_payment_succeeded, customer.subscription.deleted and charge.refunded. Map products by setting the rindkey_product_id metadata on the Payment Link or Checkout Session, or by setting stripe_price_id on the product (needs a restricted key that can read Checkout Sessions).