API reference.

Accept payments with the Checkout API, receive event webhooks and verify game licenses.

Base URL https://api.skalp.gg · Use the Node SDK

Authentication

Server-to-server calls use an API key. The two dashboard endpoints of the licensing API take the session token of a signed-in account instead. License verification and heartbeat need neither: the license key itself authenticates them.

API keys

The Checkout API and the order and product endpoints authenticate with an API key. Create one on the API keys page of your dashboard; it is shown once. Send it as X-API-Key: <key> or as Authorization: Bearer <key>.

X-API-Key: sk_live_xxx

// or
Authorization: Bearer sk_live_xxx

Store binding

Every route that reads or changes the data of a store (checkout, subscriptions, orders, products, coupons, customers, feedback, queries, blacklist and whitelist) requires the key to be bound to one store. Binding is set when the key is created and cannot be changed afterwards. A key with no store returns 403 STORE_REQUIRED.

{
  "statusCode": 403,
  "message": "This API key is not bound to a store. Create a new key with a storeId to use the Checkout API.",
  "code": "STORE_REQUIRED"
}

Scopes

Each key carries a list of scopes. A route rejects a key that is missing any scope it requires with 403 Forbidden.

Rate limits

Every catalog, order, coupon, customer, feedback, query, blacklist and whitelist endpoint, and every checkout, subscription or license call that creates or changes something, counts against your key's limit: 100 requests per minute unless the key was created with another limit. Polling a checkout and reading subscriptions are not counted, and POST /v1/licenses/validate is limited per calling IP instead. The window starts with the first counted request and ends 60 seconds later. Counted responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, the unix time in seconds when the window ends. Past the limit every counted call answers 429 until then, without a Retry-After header.

HTTP/1.1 200 OK
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 97
X-RateLimit-Reset: 1790000060
HTTP/1.1 429 Too Many Requests
X-RateLimit-Limit: 100
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 1790000060

{
  "statusCode": 429,
  "message": "Rate limit exceeded"
}

Session token

Moving a license to another IP and reading a license you own are dashboard actions. Call them from a signed-in browser, which sends the session cookie by itself, or send that cookie in the Cookie header.

The verify and heartbeat endpoints do not require authentication. They use the license key itself.

Cookie: __Secure-better-auth.session_token=<session_token>

Checkout API

Create a hosted checkout session for a single product. The buyer pays on a Skalp-hosted page; you poll the session status or subscribe to webhooks to know when it is done.

Create a checkout session

POST /v1/checkout/sessions

Create a hosted checkout session for exactly one product. The response url is a Skalp-hosted pay page: redirect the buyer there or send it to them. Do not build your own payment form against it. When the product is in a sale with a unit limit, the session reserves the sale price for 30 minutes and is paid by card; a buyer who opens the link later keeps that price only while units are left, otherwise the pay page shows the regular price. A product with visibility PRIVATE sells only this way or through a payment link; an ON_HOLD one cannot be sold. When the product has its own terms, the pay page asks the buyer to accept them before paying.

API keys checkout:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/checkout/sessions \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "items": [{ "productId": "prod_xxx", "quantity": 1 }],
    "customerEmail": "[email protected]",
    "metadata": { "orderRef": "ORD-1234" },
    "returnUrl": "https://yourstore.example.com/thank-you"
  }'

Response 201

{
  "id": "order_xxx",
  "url": "https://skalp.gg/pay/order_xxx?token=eyJhbGciOi...",
  "expiresAt": "2026-09-01T12:00:00.000Z",
  "status": "pending"
}

Errors

Session status

GET /v1/checkout/sessions/:id

Poll a session's status. COMPLETED, REFUNDED and DISPUTED all map to completed here: the checkout itself succeeded. A later reversal is reported separately by the order.refunded and order.disputed webhooks, and is visible on the raw status from Get an order.

API keys checkout:read · no rate limit

Path parameters

Request

curl https://api.skalp.gg/v1/checkout/sessions/order_xxx \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "order_xxx",
  "status": "completed",
  "orderNumber": "SK-100234",
  "amount": 24.99,
  "currency": "USD",
  "completedAt": "2026-08-30T10:05:00.000Z",
  "metadata": { "orderRef": "ORD-1234" }
}

Errors

Get an order

GET /v1/orders/:id

The richer, unmapped view of an order: the raw status, net and VAT amounts with the VAT rate in percent, the coupon and discount, the delivery status, and for SERIAL-fulfillment products how many keys were delivered and replaced, and serials, the id, status, delivery time and replacedById of every delivered or replaced key. Key values are never shown; pass the serials ids as serialIds to Replace delivered keys. items has one entry per product with its quantity, its price per unit after every discount and the buyer's answers to its custom fields. quantity is the number of units of productId. granted is true for an order a Skalp admin gave away for free: amount is 0 and paymentProvider is null. replacements lists the key swaps made by Replace delivered keys or a warranty claim, oldest first.

API keys orders:read · rate limit per key

Path parameters

Request

curl https://api.skalp.gg/v1/orders/order_xxx \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "order_xxx",
  "orderNumber": "SK-100234",
  "status": "COMPLETED",
  "amount": 24.99,
  "netAmount": 20.32,
  "vatAmount": 4.67,
  "vatRate": 23,
  "currency": "USD",
  "discountAmount": 0,
  "giftCardAmount": 0,
  "couponCode": null,
  "levelDiscount": null,
  "productId": "prod_xxx",
  "productName": "My Script",
  "productSlug": "my-script",
  "quantity": 1,
  "fulfillmentType": "SERIAL",
  "bundleId": null,
  "buyerEmail": "[email protected]",
  "buyerCountry": "PL",
  "paymentProvider": "CARD",
  "isGift": false,
  "granted": false,
  "deliveryStatus": "DELIVERED",
  "serialsCount": 1,
  "serialsReplaced": 0,
  "serials": [
    {
      "id": "c7d9e1f3-5a2b-4c6d-8e0f-1a3b5c7d9e2f",
      "productId": "prod_xxx",
      "status": "DELIVERED",
      "deliveredAt": "2026-08-30T10:05:00.000Z",
      "replacedById": null
    }
  ],
  "replacements": [],
  "items": [
    {
      "productId": "prod_xxx",
      "name": "My Script",
      "price": 20.32,
      "quantity": 1,
      "customFields": { "server_ip": "51.38.12.4" }
    }
  ],
  "createdAt": "2026-08-30T10:00:00.000Z",
  "updatedAt": "2026-08-30T10:05:00.000Z",
  "completedAt": "2026-08-30T10:05:00.000Z",
  "metadata": { "orderRef": "ORD-1234" },
  "externalRef": null,
  "basketIdent": null
}

Errors

Start a subscription

POST /v1/subscriptions/checkout

Create a hosted subscription checkout for one recurring product. The url is a Skalp-hosted page where the buyer declares a billing country and accepts the digital-content waiver, and the product’s own terms when it has them, before any card form appears. Products are addressable by slug, so your code and ours share a plan name rather than an id you have to store. A PRIVATE product can be sold this way; an ON_HOLD one cannot.

API keys checkout:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/subscriptions/checkout \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "productSlug": "city-monthly",
    "customerEmail": "[email protected]",
    "externalCustomerId": "tenant_abc123",
    "metadata": { "tenantId": "tenant_abc123" }
  }'

Response 201

{
  "id": "b2c0…",
  "url": "https://skalp.gg/subscribe/b2c0…?token=eyJhbGciOi...",
  "expiresAt": "2026-09-07T12:00:00.000Z",
  "status": "pending"
}

Errors

Subscription checkout status

GET /v1/subscriptions/checkout/:id

Poll a subscription checkout. status is pending, completed or expired: a link that was not paid within 24 hours reads expired and can no longer be opened. Once the buyer pays, subscriptionId is filled in and the subscription itself is readable from the endpoints below. Webhooks tell you the same thing without polling.

API keys checkout:read · no rate limit

Path parameters

Request

curl https://api.skalp.gg/v1/subscriptions/checkout/b2c0… \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "b2c0…",
  "status": "completed",
  "subscriptionId": "9f31c2d4-…",
  "externalRef": "tenant_abc123",
  "expiresAt": "2026-09-07T12:00:00.000Z",
  "metadata": { "tenantId": "tenant_abc123" }
}

Errors

List subscriptions

GET /v1/subscriptions

Read entitlements. Filter by externalCustomerId to ask the only question a consumer app actually has: what is this tenant entitled to right now? More than one row can come back: a customer who cancelled and re-subscribed has two, so read the one that is active rather than the newest. Rows come newest first; with updatedSince they come oldest change first, so you can sync by passing the last updatedAt you saw.

API keys subscriptions:read · no rate limit

Query parameters

Request

curl "https://api.skalp.gg/v1/subscriptions?externalCustomerId=tenant_abc123" \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "data": [
    {
      "id": "9f31c2d4-…",
      "status": "ACTIVE",
      "active": true,
      "externalCustomerId": "tenant_abc123",
      "externalRef": "tenant_abc123",
      "productId": "prod_7c2e…",
      "productSlug": "city-monthly",
      "productName": "City plan",
      "billingInterval": "MONTH",
      "amount": 12.00,
      "currency": "EUR",
      "currentPeriodStart": "2026-09-06T10:05:00.000Z",
      "currentPeriodEnd": "2026-10-06T10:05:00.000Z",
      "cancelAtPeriodEnd": false,
      "canceledAt": null,
      "trialEnd": null,
      "graceUntil": null,
      "buyerEmail": "[email protected]",
      "metadata": { "tenantId": "tenant_abc123" },
      "createdAt": "2026-09-06T10:05:00.000Z",
      "updatedAt": "2026-09-06T10:05:00.000Z"
    }
  ],
  "total": 1,
  "limit": 50,
  "offset": 0
}

Errors

Get a subscription

GET /v1/subscriptions/:id

One entitlement by id, scoped to your store. active is true for ACTIVE, TRIALING and PAST_DUE before graceUntil, and metadata is exactly the map you sent on checkout.

API keys subscriptions:read · no rate limit

Path parameters

Request

curl https://api.skalp.gg/v1/subscriptions/9f31c2d4-… \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "9f31c2d4-…",
  "status": "ACTIVE",
  "active": true,
  "externalCustomerId": "tenant_abc123",
  "externalRef": "tenant_abc123",
  "productId": "prod_7c2e…",
  "productSlug": "city-monthly",
  "productName": "City plan",
  "billingInterval": "MONTH",
  "amount": 12.00,
  "currency": "EUR",
  "currentPeriodStart": "2026-09-06T10:05:00.000Z",
  "currentPeriodEnd": "2026-10-06T10:05:00.000Z",
  "cancelAtPeriodEnd": false,
  "canceledAt": null,
  "trialEnd": null,
  "graceUntil": null,
  "buyerEmail": "[email protected]",
  "metadata": { "tenantId": "tenant_abc123" },
  "createdAt": "2026-09-06T10:05:00.000Z",
  "updatedAt": "2026-09-06T10:05:00.000Z"
}

Errors

List subscription invoices

GET /v1/subscriptions/:id/invoices

The 24 most recent invoices of a subscription, newest first. hostedUrl opens the invoice page and pdfUrl downloads it, so you can link receipts from your own account screen. lines says what each invoice bills for: the plan for a renewal, or a usage charge. A line that came from POST /v1/subscriptions/:id/usage-charges carries usageChargeId, the id that call returned, so you can match invoices to your own charges. An invoice can be open (unpaid) as well as paid.

API keys subscriptions:read · no rate limit

Path parameters

Request

curl https://api.skalp.gg/v1/subscriptions/9f31c2d4-…/invoices \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "data": [
    {
      "id": "5d2e9b14…",
      "number": "8F3A2C1D-0002",
      "issuedAt": "2026-10-06T10:05:00.000Z",
      "dueAt": null,
      "total": 12.00,
      "currency": "EUR",
      "status": "paid",
      "hostedUrl": "https://api.skalp.gg/invoices/subscription/…/pdf?token=…",
      "pdfUrl": "https://api.skalp.gg/invoices/subscription/…/pdf?token=…",
      "lines": [
        {
          "description": "1 × City plan (at €12.00 / month)",
          "amount": 12.00,
          "currency": "EUR",
          "periodStart": "2026-10-06T10:05:00.000Z",
          "periodEnd": "2026-11-06T10:05:00.000Z"
        }
      ]
    },
    {
      "id": "8a41c7f0…",
      "number": "8F3A2C1D-0003",
      "issuedAt": "2026-10-02T04:00:00.000Z",
      "dueAt": null,
      "total": 12.34,
      "currency": "EUR",
      "status": "open",
      "hostedUrl": "https://…",
      "pdfUrl": "https://…",
      "lines": [
        {
          "description": "Traffic over your plan, September 2026",
          "amount": 12.34,
          "currency": "EUR",
          "periodStart": "2026-09-01T00:00:00.000Z",
          "periodEnd": "2026-10-01T00:00:00.000Z",
          "usageChargeId": "0b1c7e3a-…"
        }
      ]
    }
  ]
}

Errors

Change the plan

POST /v1/subscriptions/:id/plan

Move a subscription to another recurring product of your store, addressed by id or slug. Skalp swaps the price on the same subscription, so the buyer keeps one subscription and one card, and prorates the difference onto their next invoice. The licence follows the plan: it is repointed at the new product, revoked when the new plan needs none and issued when it needs one and the buyer had none. subscription.updated fires with the new productId. Asking for the plan the subscription is already on returns it unchanged and fires nothing. The response is the same subscription object the other endpoints return.

API keys subscriptions:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/subscriptions/9f31c2d4-…/plan \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "productSlug": "city-yearly" }'

Response 201

{
  "id": "9f31c2d4-…",
  "status": "ACTIVE",
  "active": true,
  "externalCustomerId": "tenant_abc123",
  "externalRef": "tenant_abc123",
  "productId": "prod_1d8a…",
  "productSlug": "city-yearly",
  "productName": "City plan, yearly",
  "billingInterval": "YEAR",
  "amount": 120.00,
  "currency": "EUR",
  "currentPeriodStart": "2026-09-06T10:05:00.000Z",
  "currentPeriodEnd": "2027-09-06T10:05:00.000Z",
  "cancelAtPeriodEnd": false,
  "canceledAt": null,
  "trialEnd": null,
  "graceUntil": null,
  "buyerEmail": "[email protected]",
  "metadata": { "tenantId": "tenant_abc123" },
  "createdAt": "2026-09-06T10:05:00.000Z",
  "updatedAt": "2026-10-02T09:12:00.000Z"
}

Errors

Change the externalCustomerId

PATCH /v1/subscriptions/:id

Move a subscription to another externalRef, or clear it with null. This is for a buyer who paid before you knew who they were, such as a guest you later tie to an account. Skalp changes the ref on the subscription, its checkout and any unpaid prepaid renewal, so later webhooks and list calls carry the new one. subscription.updated fires with the new externalRef. Sending the ref it already has returns the subscription unchanged and fires nothing. The response is the same subscription object the other endpoints return.

API keys subscriptions:write · rate limit per key

Body parameters

Request

curl -X PATCH https://api.skalp.gg/v1/subscriptions/9f31c2d4-… \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "externalCustomerId": "tenant_abc123" }'

Response 200

{
  "id": "9f31c2d4-…",
  "status": "ACTIVE",
  "active": true,
  "externalCustomerId": "tenant_abc123",
  "externalRef": "tenant_abc123",
  "productId": "prod_7c2e…",
  "productSlug": "city-monthly",
  "productName": "City plan",
  "billingInterval": "MONTH",
  "amount": 12.00,
  "currency": "EUR",
  "currentPeriodStart": "2026-09-06T10:05:00.000Z",
  "currentPeriodEnd": "2026-10-06T10:05:00.000Z",
  "cancelAtPeriodEnd": false,
  "canceledAt": null,
  "trialEnd": null,
  "graceUntil": null,
  "buyerEmail": "[email protected]",
  "metadata": { "tenantId": "tenant_abc123" },
  "createdAt": "2026-09-06T10:05:00.000Z",
  "updatedAt": "2026-09-06T10:20:00.000Z"
}

Errors

Charge for usage

POST /v1/subscriptions/:id/usage-charges

Bill a subscriber in arrears for something their plan did not include, such as traffic over the included amount. One call creates exactly one invoice for that amount and charges it to the card already on the subscription. If the card is declined or needs authentication the invoice stays open and hostedUrl is where the customer can pay it. Send the amount the same way as the plan price: before VAT if the subscription started while the store added VAT on top, with VAT included if it started while the store's prices included VAT. A subscription that has ended can still be charged for 45 days, because a customer who left still owes their last month. Whatever happens to the invoice, the subscription itself is untouched: a failed usage invoice never fires subscription.past_due, and a paid one is not a renewal. If the buyer subscribed in a different currency than your store's, the invoice is issued in theirs, converted at the ratio between the two prices of the plan they are on, and amount and currency in the response are what was actually invoiced. The call is idempotent on idempotencyKey, which you choose and which is unique per store. Repeat it with the same body and you get the same charge back with 200 and nothing is billed twice; send a different body under the same key and you get 409. After any timeout or 5xx, retry with the same key until you get an answer. status is paid (collected), open (invoiced, the card did not go through: send the customer to hostedUrl) or pending (the charge is still processing; repeat the call with the same key, invoiceId and hostedUrl can still be null). 201 means the charge was new, 200 that it already existed.

API keys subscriptions:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/subscriptions/9f31c2d4-…/usage-charges \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 12.34,
    "currency": "EUR",
    "description": "Traffic over your plan, September 2026",
    "idempotencyKey": "fivedock-overage:tenant_abc123:2026-09",
    "periodStart": "2026-09-01T00:00:00Z",
    "periodEnd": "2026-10-01T00:00:00Z"
  }'

Response 201

{
  "id": "0b1c7e3a-…",
  "invoiceId": "8a41c7f0…",
  "hostedUrl": "https://api.skalp.gg/invoices/subscription/…/pdf?token=…",
  "amount": 12.34,
  "currency": "EUR",
  "status": "paid"
}

Errors

Cancel a subscription

DELETE /v1/subscriptions/:id

Stop billing at the end of the period the customer has already paid for. They keep access until currentPeriodEnd, cancelAtPeriodEnd becomes true immediately, and subscription.updated fires now while subscription.canceled fires when the period actually ends. Calling it again on a subscription that is already set to cancel returns it unchanged and fires nothing. There is no immediate cut-off here on purpose: that is a refund conversation, not an API call.

API keys subscriptions:write · rate limit per key

Path parameters

Request

curl -X DELETE https://api.skalp.gg/v1/subscriptions/9f31c2d4-… \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "9f31c2d4-…",
  "status": "ACTIVE",
  "active": true,
  "externalCustomerId": "tenant_abc123",
  "externalRef": "tenant_abc123",
  "productId": "prod_7c2e…",
  "productSlug": "city-monthly",
  "productName": "City plan",
  "billingInterval": "MONTH",
  "amount": 12.00,
  "currency": "EUR",
  "currentPeriodStart": "2026-09-06T10:05:00.000Z",
  "currentPeriodEnd": "2026-10-06T10:05:00.000Z",
  "cancelAtPeriodEnd": true,
  "canceledAt": null,
  "trialEnd": null,
  "graceUntil": null,
  "buyerEmail": "[email protected]",
  "metadata": { "tenantId": "tenant_abc123" },
  "createdAt": "2026-09-06T10:05:00.000Z",
  "updatedAt": "2026-09-06T10:05:00.000Z"
}

Errors

Catalog API

Manage the products of the store your key is bound to: create drafts, edit them, submit them for review, keep key pools stocked, and sort products into store categories and groups. Reading needs products:read and every change needs products:write, which does not include reading. Every route here needs a key bound to a store and counts against its rate limit.

Products

List products

GET /v1/products

Every product of the key's store as a full product object, newest first. Without status only ACTIVE products come back; pass one status to read another state, or all for every product including drafts and archived ones. Results come in pages of 50 unless you send limit (up to 100); use offset to page through a big catalog. The X-Total-Count response header carries the total number of matching products. stock is the number of available keys for SERIAL products and null for the other fulfillment types. sale is the running sale or null: price is what checkout charges during it, and remaining is how many units are left at that price (null when the sale has no limit). This replaced the shorter list the endpoint used to return: id, name, slug, price, currency, fulfillmentType, productType, billingInterval, trialPeriodDays and stock are all still there. When pricesIncludeVat is true, price already includes VAT and every buyer pays exactly that. When it is false, a buyer who owes VAT pays it on top.

API keys products:read · rate limit per key

Query parameters

Request

curl "https://api.skalp.gg/v1/products?status=ACTIVE&limit=50&offset=0" \
  -H "X-API-Key: sk_live_xxx"

Response 200

HTTP/1.1 200 OK
X-Total-Count: 1

[
  {
    "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "storeId": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b",
    "name": "Aurora Pro key",
    "slug": "aurora-pro-key",
    "description": "One license key for Aurora Pro, delivered right after payment.",
    "shortDescription": "Instant delivery after payment",
    "price": 19.5,
    "comparePrice": null,
    "currency": "EUR",
    "pricesIncludeVat": false,
    "prices": [
      {
        "currency": "PLN",
        "price": 79
      }
    ],
    "status": "ACTIVE",
    "rejectionReason": null,
    "productType": "ONE_TIME",
    "billingInterval": null,
    "trialPeriodDays": 0,
    "trialPrice": null,
    "fulfillmentType": "SERIAL",
    "game": null,
    "category": "Software",
    "categoryId": null,
    "storeCategoryId": "b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b",
    "tags": [
      "license",
      "desktop"
    ],
    "images": [
      "https://cdn.example.com/aurora/cover.png"
    ],
    "videoUrl": null,
    "licenseDeviceLimit": 1,
    "licenseDurationDays": null,
    "dynamicUrl": null,
    "deliveryType": null,
    "deliveryPayload": null,
    "revokePayload": null,
    "coinConfig": null,
    "pendingChanges": null,
    "pendingChangesRejection": null,
    "visibility": "PUBLIC",
    "sortPriority": 0,
    "deliveryNote": "Activate the key in Aurora under Settings, License.",
    "termsOfService": null,
    "warrantyDays": 30,
    "warrantyText": "A new key if yours stops activating.",
    "blockVpn": false,
    "maxRiskScore": null,
    "customFields": [
      {
        "key": "server_ip",
        "label": "Your server IP",
        "type": "text",
        "required": true,
        "placeholder": "51.38.12.4",
        "options": []
      }
    ],
    "minQuantity": 1,
    "maxQuantity": 25,
    "minLevel": null,
    "minLevelUntil": null,
    "earlyAccessHours": null,
    "volumeDiscounts": [
      {
        "quantity": 5,
        "percent": 10
      },
      {
        "quantity": 10,
        "percent": 15
      }
    ],
    "upsells": [
      {
        "productId": "8c41e0d2-3b7a-4f19-a6d5-0e9b2c7f4a18",
        "discountPercent": 20
      }
    ],
    "stock": 118,
    "sale": {
      "title": "Launch week",
      "discountPercent": 20,
      "price": 15.6,
      "endsAt": "2026-10-14T22:00:00.000Z",
      "quantity": 50,
      "remaining": 12
    },
    "salesCount": 37,
    "rating": 4.8,
    "reviewCount": 12,
    "url": "https://skalp.gg/marketplace/8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "createdAt": "2026-09-30T10:00:00.000Z",
    "updatedAt": "2026-10-02T09:12:00.000Z"
  }
]

Errors

Create a product

POST /v1/products

Create a product in the key's store. It starts as a DRAFT and buyers cannot see it until it is submitted and approved. Only name and price are required. Without a slug one is made from the name, and when the store already uses the slug, yours or the generated one, -2, -3 and so on is appended. fulfillmentType defaults to SERVICE, or GAME in a server store. Send submit: true to submit it for review in the same call; when that check fails you get its 400 and the draft is still created. The store must be live and, unless it is a test store, have a business address. Fires product.created.

API keys products:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/products \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Aurora Pro key",
    "price": 19.5,
    "fulfillmentType": "SERIAL",
    "category": "Software",
    "description": "One license key for Aurora Pro, delivered right after payment.",
    "shortDescription": "Instant delivery after payment",
    "storeCategoryId": "b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b",
    "tags": ["license", "desktop"]
  }'

Response 201

{
  "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "storeId": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b",
  "name": "Aurora Pro key",
  "slug": "aurora-pro-key",
  "description": "One license key for Aurora Pro, delivered right after payment.",
  "shortDescription": "Instant delivery after payment",
  "price": 19.5,
  "comparePrice": null,
  "currency": "EUR",
  "pricesIncludeVat": false,
  "prices": [
    {
      "currency": "PLN",
      "price": 79
    }
  ],
  "status": "DRAFT",
  "rejectionReason": null,
  "productType": "ONE_TIME",
  "billingInterval": null,
  "trialPeriodDays": 0,
  "trialPrice": null,
  "fulfillmentType": "SERIAL",
  "game": null,
  "category": "Software",
  "categoryId": null,
  "storeCategoryId": "b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b",
  "tags": [
    "license",
    "desktop"
  ],
  "images": [],
  "videoUrl": null,
  "licenseDeviceLimit": 1,
  "licenseDurationDays": null,
  "dynamicUrl": null,
  "deliveryType": null,
  "deliveryPayload": null,
  "revokePayload": null,
  "coinConfig": null,
  "pendingChanges": null,
  "pendingChangesRejection": null,
  "visibility": "PUBLIC",
  "sortPriority": 0,
  "deliveryNote": "Activate the key in Aurora under Settings, License.",
  "termsOfService": null,
  "warrantyDays": 30,
  "warrantyText": "A new key if yours stops activating.",
  "blockVpn": false,
  "maxRiskScore": null,
  "customFields": [
    {
      "key": "server_ip",
      "label": "Your server IP",
      "type": "text",
      "required": true,
      "placeholder": "51.38.12.4",
      "options": []
    }
  ],
  "minQuantity": 1,
  "maxQuantity": 25,
  "minLevel": null,
  "minLevelUntil": null,
  "earlyAccessHours": null,
  "volumeDiscounts": [
    {
      "quantity": 5,
      "percent": 10
    },
    {
      "quantity": 10,
      "percent": 15
    }
  ],
  "upsells": [
    {
      "productId": "8c41e0d2-3b7a-4f19-a6d5-0e9b2c7f4a18",
      "discountPercent": 20
    }
  ],
  "stock": 0,
  "sale": {
    "title": "Launch week",
    "discountPercent": 20,
    "price": 15.6,
    "endsAt": "2026-10-14T22:00:00.000Z",
    "quantity": 50,
    "remaining": 12
  },
  "salesCount": 0,
  "rating": null,
  "reviewCount": 0,
  "url": "https://skalp.gg/marketplace/8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "createdAt": "2026-09-30T10:00:00.000Z",
  "updatedAt": "2026-09-30T10:00:00.000Z"
}

Errors

Get a product

GET /v1/products/:id

One product of the key's store in any status, by id or by slug. rejectionReason says why Skalp's review rejected it.

API keys products:read · rate limit per key

Path parameters

Request

curl https://api.skalp.gg/v1/products/aurora-pro-key \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "storeId": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b",
  "name": "Aurora Pro key",
  "slug": "aurora-pro-key",
  "description": "One license key for Aurora Pro, delivered right after payment.",
  "shortDescription": "Instant delivery after payment",
  "price": 19.5,
  "comparePrice": null,
  "currency": "EUR",
  "pricesIncludeVat": false,
  "prices": [
    {
      "currency": "PLN",
      "price": 79
    }
  ],
  "status": "ACTIVE",
  "rejectionReason": null,
  "productType": "ONE_TIME",
  "billingInterval": null,
  "trialPeriodDays": 0,
  "trialPrice": null,
  "fulfillmentType": "SERIAL",
  "game": null,
  "category": "Software",
  "categoryId": null,
  "storeCategoryId": "b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b",
  "tags": [
    "license",
    "desktop"
  ],
  "images": [
    "https://cdn.example.com/aurora/cover.png"
  ],
  "videoUrl": null,
  "licenseDeviceLimit": 1,
  "licenseDurationDays": null,
  "dynamicUrl": null,
  "deliveryType": null,
  "deliveryPayload": null,
  "revokePayload": null,
  "coinConfig": null,
  "pendingChanges": null,
  "pendingChangesRejection": null,
  "visibility": "PUBLIC",
  "sortPriority": 0,
  "deliveryNote": "Activate the key in Aurora under Settings, License.",
  "termsOfService": null,
  "warrantyDays": 30,
  "warrantyText": "A new key if yours stops activating.",
  "blockVpn": false,
  "maxRiskScore": null,
  "customFields": [
    {
      "key": "server_ip",
      "label": "Your server IP",
      "type": "text",
      "required": true,
      "placeholder": "51.38.12.4",
      "options": []
    }
  ],
  "minQuantity": 1,
  "maxQuantity": 25,
  "minLevel": null,
  "minLevelUntil": null,
  "earlyAccessHours": null,
  "volumeDiscounts": [
    {
      "quantity": 5,
      "percent": 10
    },
    {
      "quantity": 10,
      "percent": 15
    }
  ],
  "upsells": [
    {
      "productId": "8c41e0d2-3b7a-4f19-a6d5-0e9b2c7f4a18",
      "discountPercent": 20
    }
  ],
  "stock": 118,
  "sale": {
    "title": "Launch week",
    "discountPercent": 20,
    "price": 15.6,
    "endsAt": "2026-10-14T22:00:00.000Z",
    "quantity": 50,
    "remaining": 12
  },
  "salesCount": 37,
  "rating": 4.8,
  "reviewCount": 12,
  "url": "https://skalp.gg/marketplace/8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "createdAt": "2026-09-30T10:00:00.000Z",
  "updatedAt": "2026-10-02T09:12:00.000Z"
}

Errors

Update a product

PATCH /v1/products/:id

Change the fields you send and keep the rest. status accepts only DRAFT and ARCHIVED: publishing goes through Submit for review, and Skalp's review sets ACTIVE or REJECTED. DRAFT is allowed from ACTIVE, REJECTED and ARCHIVED and takes a live product off sale until you submit it again; ARCHIVED is allowed from every status except PROCESSING. productType cannot be changed. Send null for comparePrice, storeCategoryId, dynamicUrl, licenseDurationDays, deliveryNote, termsOfService, warrantyDays, warrantyText or maxRiskScore to clear it; an empty string clears the text fields too. On a product that has passed review, changes to name, shortDescription, description, images, videoUrl, features, requirements, customFields, deliveryNote, termsOfService, warrantyText, deliveryType, deliveryPayload and revokePayload wait for Skalp's review: buyers keep seeing the live values, and the response carries them in pendingChanges ({ submittedAt, changes }) until they are approved. A rejection empties pendingChanges and sets pendingChangesRejection to the reason. Every other field changes at once. Fires product.updated.

API keys products:write · rate limit per key

Body parameters

Request

curl -X PATCH https://api.skalp.gg/v1/products/aurora-pro-key \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "price": 24, "comparePrice": 29 }'

Response 200

{
  "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "storeId": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b",
  "name": "Aurora Pro key",
  "slug": "aurora-pro-key",
  "description": "One license key for Aurora Pro, delivered right after payment.",
  "shortDescription": "Instant delivery after payment",
  "price": 24,
  "comparePrice": 29,
  "currency": "EUR",
  "pricesIncludeVat": false,
  "prices": [
    {
      "currency": "PLN",
      "price": 79
    }
  ],
  "status": "ACTIVE",
  "rejectionReason": null,
  "productType": "ONE_TIME",
  "billingInterval": null,
  "trialPeriodDays": 0,
  "trialPrice": null,
  "fulfillmentType": "SERIAL",
  "game": null,
  "category": "Software",
  "categoryId": null,
  "storeCategoryId": "b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b",
  "tags": [
    "license",
    "desktop"
  ],
  "images": [
    "https://cdn.example.com/aurora/cover.png"
  ],
  "videoUrl": null,
  "licenseDeviceLimit": 1,
  "licenseDurationDays": null,
  "dynamicUrl": null,
  "deliveryType": null,
  "deliveryPayload": null,
  "revokePayload": null,
  "coinConfig": null,
  "pendingChanges": null,
  "pendingChangesRejection": null,
  "visibility": "PUBLIC",
  "sortPriority": 0,
  "deliveryNote": "Activate the key in Aurora under Settings, License.",
  "termsOfService": null,
  "warrantyDays": 30,
  "warrantyText": "A new key if yours stops activating.",
  "blockVpn": false,
  "maxRiskScore": null,
  "customFields": [
    {
      "key": "server_ip",
      "label": "Your server IP",
      "type": "text",
      "required": true,
      "placeholder": "51.38.12.4",
      "options": []
    }
  ],
  "minQuantity": 1,
  "maxQuantity": 25,
  "minLevel": null,
  "minLevelUntil": null,
  "earlyAccessHours": null,
  "volumeDiscounts": [
    {
      "quantity": 5,
      "percent": 10
    },
    {
      "quantity": 10,
      "percent": 15
    }
  ],
  "upsells": [
    {
      "productId": "8c41e0d2-3b7a-4f19-a6d5-0e9b2c7f4a18",
      "discountPercent": 20
    }
  ],
  "stock": 118,
  "sale": {
    "title": "Launch week",
    "discountPercent": 20,
    "price": 15.6,
    "endsAt": "2026-10-14T22:00:00.000Z",
    "quantity": 50,
    "remaining": 12
  },
  "salesCount": 37,
  "rating": 4.8,
  "reviewCount": 12,
  "url": "https://skalp.gg/marketplace/8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "createdAt": "2026-09-30T10:00:00.000Z",
  "updatedAt": "2026-10-03T08:40:00.000Z"
}

Errors

Archive a product

DELETE /v1/products/:id

Take a product off sale by setting it to ARCHIVED, from any status. Nothing is deleted: orders, keys and licenses stay and the product is still readable here. Game licenses of an archived product fail /licenses/verify with PRODUCT_INACTIVE. To sell it again, set status DRAFT with Update a product and submit it. Returns the archived product and fires product.updated.

API keys products:write · rate limit per key

Path parameters

Request

curl -X DELETE https://api.skalp.gg/v1/products/aurora-pro-key \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "storeId": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b",
  "name": "Aurora Pro key",
  "slug": "aurora-pro-key",
  "description": "One license key for Aurora Pro, delivered right after payment.",
  "shortDescription": "Instant delivery after payment",
  "price": 19.5,
  "comparePrice": null,
  "currency": "EUR",
  "pricesIncludeVat": false,
  "prices": [
    {
      "currency": "PLN",
      "price": 79
    }
  ],
  "status": "ARCHIVED",
  "rejectionReason": null,
  "productType": "ONE_TIME",
  "billingInterval": null,
  "trialPeriodDays": 0,
  "trialPrice": null,
  "fulfillmentType": "SERIAL",
  "game": null,
  "category": "Software",
  "categoryId": null,
  "storeCategoryId": "b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b",
  "tags": [
    "license",
    "desktop"
  ],
  "images": [
    "https://cdn.example.com/aurora/cover.png"
  ],
  "videoUrl": null,
  "licenseDeviceLimit": 1,
  "licenseDurationDays": null,
  "dynamicUrl": null,
  "deliveryType": null,
  "deliveryPayload": null,
  "revokePayload": null,
  "coinConfig": null,
  "pendingChanges": null,
  "pendingChangesRejection": null,
  "visibility": "PUBLIC",
  "sortPriority": 0,
  "deliveryNote": "Activate the key in Aurora under Settings, License.",
  "termsOfService": null,
  "warrantyDays": 30,
  "warrantyText": "A new key if yours stops activating.",
  "blockVpn": false,
  "maxRiskScore": null,
  "customFields": [
    {
      "key": "server_ip",
      "label": "Your server IP",
      "type": "text",
      "required": true,
      "placeholder": "51.38.12.4",
      "options": []
    }
  ],
  "minQuantity": 1,
  "maxQuantity": 25,
  "minLevel": null,
  "minLevelUntil": null,
  "earlyAccessHours": null,
  "volumeDiscounts": [
    {
      "quantity": 5,
      "percent": 10
    },
    {
      "quantity": 10,
      "percent": 15
    }
  ],
  "upsells": [
    {
      "productId": "8c41e0d2-3b7a-4f19-a6d5-0e9b2c7f4a18",
      "discountPercent": 20
    }
  ],
  "stock": 118,
  "sale": {
    "title": "Launch week",
    "discountPercent": 20,
    "price": 15.6,
    "endsAt": "2026-10-14T22:00:00.000Z",
    "quantity": 50,
    "remaining": 12
  },
  "salesCount": 37,
  "rating": 4.8,
  "reviewCount": 12,
  "url": "https://skalp.gg/marketplace/8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "createdAt": "2026-09-30T10:00:00.000Z",
  "updatedAt": "2026-10-05T16:00:00.000Z"
}

Errors

Submit for review

POST /v1/products/:id/submit

Send a DRAFT or REJECTED product to Skalp's review. status becomes PENDING_REVIEW, or PROCESSING in a test store. What must be in place depends on fulfillmentType: SERIAL needs at least one available key, DYNAMIC a dynamicUrl, GAME a delivery command and FILE an uploaded file, which you add in the dashboard; SERVICE and LICENSE need nothing more. A recurring product needs billingInterval. Fires product.updated, and again at each step of the review: PROCESSING once approved, then ACTIVE or PROCESSING_FAILED, or REJECTED.

API keys products:write · rate limit per key

Path parameters

Request

curl -X POST https://api.skalp.gg/v1/products/aurora-pro-key/submit \
  -H "X-API-Key: sk_live_xxx"

Response 201

{
  "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "storeId": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b",
  "name": "Aurora Pro key",
  "slug": "aurora-pro-key",
  "description": "One license key for Aurora Pro, delivered right after payment.",
  "shortDescription": "Instant delivery after payment",
  "price": 19.5,
  "comparePrice": null,
  "currency": "EUR",
  "pricesIncludeVat": false,
  "prices": [
    {
      "currency": "PLN",
      "price": 79
    }
  ],
  "status": "PENDING_REVIEW",
  "rejectionReason": null,
  "productType": "ONE_TIME",
  "billingInterval": null,
  "trialPeriodDays": 0,
  "trialPrice": null,
  "fulfillmentType": "SERIAL",
  "game": null,
  "category": "Software",
  "categoryId": null,
  "storeCategoryId": "b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b",
  "tags": [
    "license",
    "desktop"
  ],
  "images": [],
  "videoUrl": null,
  "licenseDeviceLimit": 1,
  "licenseDurationDays": null,
  "dynamicUrl": null,
  "deliveryType": null,
  "deliveryPayload": null,
  "revokePayload": null,
  "coinConfig": null,
  "pendingChanges": null,
  "pendingChangesRejection": null,
  "visibility": "PUBLIC",
  "sortPriority": 0,
  "deliveryNote": "Activate the key in Aurora under Settings, License.",
  "termsOfService": null,
  "warrantyDays": 30,
  "warrantyText": "A new key if yours stops activating.",
  "blockVpn": false,
  "maxRiskScore": null,
  "customFields": [
    {
      "key": "server_ip",
      "label": "Your server IP",
      "type": "text",
      "required": true,
      "placeholder": "51.38.12.4",
      "options": []
    }
  ],
  "minQuantity": 1,
  "maxQuantity": 25,
  "minLevel": null,
  "minLevelUntil": null,
  "earlyAccessHours": null,
  "volumeDiscounts": [
    {
      "quantity": 5,
      "percent": 10
    },
    {
      "quantity": 10,
      "percent": 15
    }
  ],
  "upsells": [
    {
      "productId": "8c41e0d2-3b7a-4f19-a6d5-0e9b2c7f4a18",
      "discountPercent": 20
    }
  ],
  "stock": 120,
  "sale": {
    "title": "Launch week",
    "discountPercent": 20,
    "price": 15.6,
    "endsAt": "2026-10-14T22:00:00.000Z",
    "quantity": 50,
    "remaining": 12
  },
  "salesCount": 0,
  "rating": null,
  "reviewCount": 0,
  "url": "https://skalp.gg/marketplace/8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "createdAt": "2026-09-30T10:00:00.000Z",
  "updatedAt": "2026-09-30T10:20:00.000Z"
}

Errors

Get the game catalog

GET /v1/game-catalog

What your store's connected servers of one game reported: items, vehicles, accounts and groups, merged into one list. servers on each entry names the servers that have it. Use the names as rewards in deliveryPayload. A server sends its list when it links and again when the list changes, and catalogAt is null until the first upload. A list the game does not have comes back empty.

API keys products:read · rate limit per key

Query parameters

Request

curl "https://api.skalp.gg/v1/game-catalog?game=fivem" \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "servers": [
    {
      "id": "6f8a0c2e-4b1d-4e3f-a5c7-9d1b3f5a7c0e",
      "name": "Main city",
      "framework": "qbox",
      "catalogAt": "2026-11-28T18:20:00.000Z"
    }
  ],
  "items": [
    {
      "name": "lockpick",
      "label": "Lockpick",
      "servers": [
        "6f8a0c2e-4b1d-4e3f-a5c7-9d1b3f5a7c0e"
      ]
    },
    {
      "name": "phone",
      "label": "Phone",
      "servers": [
        "6f8a0c2e-4b1d-4e3f-a5c7-9d1b3f5a7c0e"
      ]
    }
  ],
  "vehicles": [
    {
      "model": "sultan",
      "label": "Sultan",
      "category": "sports",
      "servers": [
        "6f8a0c2e-4b1d-4e3f-a5c7-9d1b3f5a7c0e"
      ]
    }
  ],
  "accounts": [
    {
      "name": "bank",
      "servers": [
        "6f8a0c2e-4b1d-4e3f-a5c7-9d1b3f5a7c0e"
      ]
    },
    {
      "name": "cash",
      "servers": [
        "6f8a0c2e-4b1d-4e3f-a5c7-9d1b3f5a7c0e"
      ]
    }
  ],
  "groups": []
}

Errors

Keys and stock

Key counts

GET /v1/products/:id/stock

How many keys a product's pool holds, by status: available can still be sold, delivered went to buyers and revoked were taken back after a refund or a lost dispute. A read-only key can call it; it never shows key values. waiting counts the buyers who asked to be told when the product is back in stock.

API keys products:read · rate limit per key

Path parameters

Request

curl https://api.skalp.gg/v1/products/aurora-pro-key/stock \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "available": 118,
  "delivered": 37,
  "revoked": 2,
  "total": 157,
  "waiting": 4
}

Errors

List keys

GET /v1/products/:id/serials

The keys of a product with their plain values, oldest first, which is also the order they are sold in. It needs products:write, not products:read, because it shows the values. source is POOL for keys you uploaded, DYNAMIC for keys your key server returned and MANUAL for keys entered by hand on an order. orderId and deliveredAt are set once a key is sold. Page until offset reaches total.

API keys products:write · rate limit per key

Query parameters

Request

curl "https://api.skalp.gg/v1/products/aurora-pro-key/serials?limit=2" \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "data": [
    {
      "id": "a3c5e7f9-1b2d-4f6a-8c0e-3d5f7a9c1e4b",
      "value": "AURORA-7QF2-M9KD-X4TR",
      "status": "DELIVERED",
      "source": "POOL",
      "orderId": "5b0e7c1a-3f7d-4e8b-9a0c-2d41f6b8e913",
      "createdAt": "2026-09-30T10:05:00.000Z",
      "deliveredAt": "2026-10-01T18:22:41.000Z"
    },
    {
      "id": "c7d9e1f3-5a2b-4c6d-8e0f-1a3b5c7d9e2f",
      "value": "AURORA-2F9K-77QD-X1PL",
      "status": "AVAILABLE",
      "source": "POOL",
      "orderId": null,
      "createdAt": "2026-09-30T10:05:00.000Z",
      "deliveredAt": null
    }
  ],
  "total": 157,
  "limit": 2,
  "offset": 0
}

Errors

Add keys

POST /v1/products/:id/serials

Add keys to a product's pool, as a serials array, as one block of text, or both. text is split on new lines unless you pass delimiter. Values are trimmed and empty pieces of text are dropped. A value the product already has, in any status, is skipped and counted in skipped; a value repeated inside one request is added once. stock is the available count afterwards. Keys are sold only while fulfillmentType is SERIAL. Fires product.stock when anything was added.

API keys products:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/products/aurora-pro-key/serials \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "serials": ["AURORA-2F9K-77QD-X1PL", "AURORA-8HLM-3QZC-R5TW"],
    "text": "AURORA-4NBX-91KD-Q7EZ;AURORA-2F9K-77QD-X1PL",
    "delimiter": "semicolon"
  }'

Response 201

{
  "added": 2,
  "skipped": 1,
  "stock": 120
}

// AURORA-2F9K-77QD-X1PL was sent twice and counts once.
// AURORA-8HLM-3QZC-R5TW was already in the pool, so it is skipped.

Errors

Delete a key

DELETE /v1/products/:id/serials/:serialId

Remove one key that has not been sold. Delivered and revoked keys stay, because a buyer received them. Fires product.stock.

API keys products:write · rate limit per key

Path parameters

Request

curl -X DELETE https://api.skalp.gg/v1/products/aurora-pro-key/serials/c7d9e1f3-5a2b-4c6d-8e0f-1a3b5c7d9e2f \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "c7d9e1f3-5a2b-4c6d-8e0f-1a3b5c7d9e2f",
  "deleted": true
}

Errors

Store categories

List store categories

GET /v1/categories

Your store's own categories, which buyers filter your store page by, lowest sortOrder first and then oldest first. activeProducts counts ACTIVE products only. Put a product in one with storeCategoryId.

API keys products:read · rate limit per key

Request

curl https://api.skalp.gg/v1/categories \
  -H "X-API-Key: sk_live_xxx"

Response 200

[
  {
    "id": "b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b",
    "name": "Licenses",
    "sortOrder": 0,
    "activeProducts": 4,
    "createdAt": "2026-09-28T09:00:00.000Z"
  },
  {
    "id": "f0b2d4e6-8a1c-4e3f-9b5d-7c9e1a3b5d7f",
    "name": "Add-ons",
    "sortOrder": 1,
    "activeProducts": 2,
    "createdAt": "2026-09-28T09:01:00.000Z"
  }
]

Errors

Create a store category

POST /v1/categories

Add a category at the end of the list. A store has at most 20.

API keys products:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/categories \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Bundles" }'

Response 201

{
  "id": "1d3f5a7c-9e2b-4d6f-8a0c-4e6a8c0e2b4d",
  "name": "Bundles",
  "sortOrder": 2,
  "createdAt": "2026-10-03T12:00:00.000Z"
}

Errors

Update a store category

PATCH /v1/categories/:id

Rename a category or move it. sortOrder is a plain number, lowest first. Other categories are not renumbered, so two can share a value; the older one then comes first.

API keys products:write · rate limit per key

Body parameters

Request

curl -X PATCH https://api.skalp.gg/v1/categories/b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "name": "License keys", "sortOrder": 5 }'

Response 200

{
  "id": "b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b",
  "name": "License keys",
  "sortOrder": 5,
  "createdAt": "2026-09-28T09:00:00.000Z"
}

Errors

Delete a store category

DELETE /v1/categories/:id

Delete a category. Its products are kept, with storeCategoryId set to null, and no product.updated is sent for them.

API keys products:write · rate limit per key

Path parameters

Request

curl -X DELETE https://api.skalp.gg/v1/categories/b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "b41e6c2a-7d9f-4a3b-8e5c-1f0a2d4c6e8b",
  "deleted": true
}

Errors

Product groups

List product groups

GET /v1/groups

Every product group of the store, highest sortPriority first. A group shows several products together on your storefront, such as the editions of one app, in the order of productIds. The storefront skips unlisted groups and groups with no ACTIVE product; this list includes them. products repeats the name, slug, status and price of each.

API keys products:read · rate limit per key

Request

curl https://api.skalp.gg/v1/groups \
  -H "X-API-Key: sk_live_xxx"

Response 200

[
  {
    "id": "e9a1c3e5-7b2d-4f6a-8c0e-2b4d6f8a1c3e",
    "storeId": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b",
    "title": "Aurora editions",
    "description": "Pick the edition that fits your team.",
    "image": "https://cdn.example.com/aurora/editions.png",
    "sortPriority": 3,
    "unlisted": false,
    "productIds": [
      "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "5d8e1f3a-9c2b-4e7d-b6a0-8f1c3e5d7a92"
    ],
    "products": [
      {
        "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
        "name": "Aurora Pro key",
        "slug": "aurora-pro-key",
        "status": "ACTIVE",
        "price": 19.5
      },
      {
        "id": "5d8e1f3a-9c2b-4e7d-b6a0-8f1c3e5d7a92",
        "name": "Aurora Team key",
        "slug": "aurora-team-key",
        "status": "ACTIVE",
        "price": 49
      }
    ],
    "createdAt": "2026-09-30T11:00:00.000Z",
    "updatedAt": "2026-09-30T11:00:00.000Z"
  }
]

Errors

Get a product group

GET /v1/groups/:id

One group of the key’s store, with its products in display order.

API keys products:read · rate limit per key

Path parameters

Request

curl https://api.skalp.gg/v1/groups/e9a1c3e5-7b2d-4f6a-8c0e-2b4d6f8a1c3e \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "e9a1c3e5-7b2d-4f6a-8c0e-2b4d6f8a1c3e",
  "storeId": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b",
  "title": "Aurora editions",
  "description": "Pick the edition that fits your team.",
  "image": "https://cdn.example.com/aurora/editions.png",
  "sortPriority": 3,
  "unlisted": false,
  "productIds": [
    "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "5d8e1f3a-9c2b-4e7d-b6a0-8f1c3e5d7a92"
  ],
  "products": [
    {
      "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "name": "Aurora Pro key",
      "slug": "aurora-pro-key",
      "status": "ACTIVE",
      "price": 19.5
    },
    {
      "id": "5d8e1f3a-9c2b-4e7d-b6a0-8f1c3e5d7a92",
      "name": "Aurora Team key",
      "slug": "aurora-team-key",
      "status": "ACTIVE",
      "price": 49
    }
  ],
  "createdAt": "2026-09-30T11:00:00.000Z",
  "updatedAt": "2026-09-30T11:00:00.000Z"
}

Errors

Create a product group

POST /v1/groups

Group products of the key's store. A store has at most 50 groups and a group at most 50 products.

API keys products:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/groups \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "Aurora editions",
    "description": "Pick the edition that fits your team.",
    "image": "https://cdn.example.com/aurora/editions.png",
    "sortPriority": 3,
    "productIds": ["8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e", "5d8e1f3a-9c2b-4e7d-b6a0-8f1c3e5d7a92"]
  }'

Response 201

{
  "id": "e9a1c3e5-7b2d-4f6a-8c0e-2b4d6f8a1c3e",
  "storeId": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b",
  "title": "Aurora editions",
  "description": "Pick the edition that fits your team.",
  "image": "https://cdn.example.com/aurora/editions.png",
  "sortPriority": 3,
  "unlisted": false,
  "productIds": [
    "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "5d8e1f3a-9c2b-4e7d-b6a0-8f1c3e5d7a92"
  ],
  "products": [
    {
      "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "name": "Aurora Pro key",
      "slug": "aurora-pro-key",
      "status": "ACTIVE",
      "price": 19.5
    },
    {
      "id": "5d8e1f3a-9c2b-4e7d-b6a0-8f1c3e5d7a92",
      "name": "Aurora Team key",
      "slug": "aurora-team-key",
      "status": "ACTIVE",
      "price": 49
    }
  ],
  "createdAt": "2026-09-30T11:00:00.000Z",
  "updatedAt": "2026-09-30T11:00:00.000Z"
}

Errors

Update a product group

PATCH /v1/groups/:id

Change the fields you send. productIds replaces the whole list and its order. Send null for description or image to clear it.

API keys products:write · rate limit per key

Body parameters

Request

curl -X PATCH https://api.skalp.gg/v1/groups/e9a1c3e5-7b2d-4f6a-8c0e-2b4d6f8a1c3e \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "productIds": ["5d8e1f3a-9c2b-4e7d-b6a0-8f1c3e5d7a92", "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e"],
    "unlisted": true
  }'

Response 200

{
  "id": "e9a1c3e5-7b2d-4f6a-8c0e-2b4d6f8a1c3e",
  "storeId": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b",
  "title": "Aurora editions",
  "description": "Pick the edition that fits your team.",
  "image": "https://cdn.example.com/aurora/editions.png",
  "sortPriority": 3,
  "unlisted": true,
  "productIds": [
    "5d8e1f3a-9c2b-4e7d-b6a0-8f1c3e5d7a92",
    "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e"
  ],
  "products": [
    {
      "id": "5d8e1f3a-9c2b-4e7d-b6a0-8f1c3e5d7a92",
      "name": "Aurora Team key",
      "slug": "aurora-team-key",
      "status": "ACTIVE",
      "price": 49
    },
    {
      "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "name": "Aurora Pro key",
      "slug": "aurora-pro-key",
      "status": "ACTIVE",
      "price": 19.5
    }
  ],
  "createdAt": "2026-09-30T11:00:00.000Z",
  "updatedAt": "2026-10-03T12:30:00.000Z"
}

Errors

Delete a product group

DELETE /v1/groups/:id

Delete a group. Its products are not changed.

API keys products:write · rate limit per key

Path parameters

Request

curl -X DELETE https://api.skalp.gg/v1/groups/e9a1c3e5-7b2d-4f6a-8c0e-2b4d6f8a1c3e \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "e9a1c3e5-7b2d-4f6a-8c0e-2b4d6f8a1c3e",
  "deleted": true
}

Errors

Store management API

Run the day-to-day of the store your key is bound to: read and cancel orders and replace delivered keys, manage coupons and customers, answer reviews and customer queries, and keep a blacklist and a whitelist of buyers. Reading and changing are separate scopes, so a key that creates coupons also needs coupons:read to list them. Every route here needs a key bound to a store and counts against its rate limit.

Orders

List orders

GET /v1/orders

Every order of the key’s store, newest first, in the same shape as Get an order without the delivery counts. Filters combine. productId also finds orders where the product is one line of a bundle or a cart. With updatedSince the rows come oldest change first, so you can sync by passing the last updatedAt you saw.

API keys orders:read · rate limit per key

Query parameters

Request

curl "https://api.skalp.gg/v1/orders?status=COMPLETED&createdAfter=2026-10-01T00:00:00.000Z&limit=25" \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "data": [
    {
      "id": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
      "orderNumber": "SK-100234",
      "status": "COMPLETED",
      "amount": 19.5,
      "netAmount": 15.85,
      "vatAmount": 3.65,
      "vatRate": 23,
      "currency": "EUR",
      "discountAmount": 0,
      "giftCardAmount": 0,
      "couponCode": null,
      "levelDiscount": null,
      "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "productName": "Aurora Pro key",
      "productSlug": "aurora-pro-key",
      "quantity": 1,
      "fulfillmentType": "SERIAL",
      "bundleId": null,
      "items": [
        {
          "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
          "name": "Aurora Pro key",
          "price": 15.85,
          "quantity": 1,
          "customFields": {
            "server_ip": "51.38.12.4"
          }
        }
      ],
      "buyerEmail": "[email protected]",
      "buyerCountry": "PL",
      "paymentProvider": "CARD",
      "isGift": false,
      "granted": false,
      "deliveryStatus": "DELIVERED",
      "metadata": {
        "orderRef": "ORD-1234"
      },
      "createdAt": "2026-10-08T10:00:00.000Z",
      "updatedAt": "2026-10-08T10:05:00.000Z",
      "completedAt": "2026-10-08T10:05:00.000Z"
    }
  ],
  "total": 1,
  "limit": 25,
  "offset": 0
}

Errors

Cancel an order

POST /v1/orders/:id/cancel

Cancel an order that is still PENDING, so a buyer who never paid cannot pay it later. An open payment is voided first. An order in any other status is refused: refund a paid one from the dashboard. Answers with the order as Get an order shows it, now CANCELED. Fires order.updated and order.canceled.

API keys orders:write · rate limit per key

Path parameters

Request

curl -X POST https://api.skalp.gg/v1/orders/4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f/cancel \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
  "orderNumber": "SK-100234",
  "status": "CANCELED",
  "amount": 19.5,
  "netAmount": 15.85,
  "vatAmount": 3.65,
  "vatRate": 23,
  "currency": "EUR",
  "discountAmount": 0,
  "giftCardAmount": 0,
  "couponCode": null,
  "levelDiscount": null,
  "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "productName": "Aurora Pro key",
  "productSlug": "aurora-pro-key",
  "quantity": 1,
  "fulfillmentType": "SERIAL",
  "bundleId": null,
  "items": [
    {
      "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "name": "Aurora Pro key",
      "price": 15.85,
      "quantity": 1,
      "customFields": {
        "server_ip": "51.38.12.4"
      }
    }
  ],
  "buyerEmail": "[email protected]",
  "buyerCountry": "PL",
  "paymentProvider": "CARD",
  "isGift": false,
  "granted": false,
  "deliveryStatus": "PENDING",
  "metadata": {
    "orderRef": "ORD-1234"
  },
  "createdAt": "2026-10-08T10:00:00.000Z",
  "updatedAt": "2026-10-09T09:00:00.000Z",
  "completedAt": null,
  "serialsCount": 0,
  "serialsReplaced": 0,
  "serials": [],
  "replacements": []
}

Errors

Redeliver an order

POST /v1/orders/:id/redeliver

Send a purchase again that never reached the player. For a COMPLETED order that is not DELIVERED yet, a FAILED delivery goes back to PENDING and the order.paid and purchase.completed webhooks are sent again to the store’s game server, which delivers it as a normal purchase. Answers with the order as Get an order shows it.

API keys orders:write · rate limit per key

Path parameters

Request

curl -X POST https://api.skalp.gg/v1/orders/4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f/redeliver \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
  "orderNumber": "SK-100234",
  "status": "COMPLETED",
  "amount": 19.5,
  "netAmount": 15.85,
  "vatAmount": 3.65,
  "vatRate": 23,
  "currency": "EUR",
  "discountAmount": 0,
  "giftCardAmount": 0,
  "couponCode": null,
  "levelDiscount": null,
  "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "productName": "Aurora Pro key",
  "productSlug": "aurora-pro-key",
  "quantity": 1,
  "fulfillmentType": "SERIAL",
  "bundleId": null,
  "items": [
    {
      "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "name": "Aurora Pro key",
      "price": 15.85,
      "quantity": 1,
      "customFields": {
        "server_ip": "51.38.12.4"
      }
    }
  ],
  "buyerEmail": "[email protected]",
  "buyerCountry": "PL",
  "paymentProvider": "CARD",
  "isGift": false,
  "granted": false,
  "deliveryStatus": "PENDING",
  "metadata": {
    "orderRef": "ORD-1234"
  },
  "createdAt": "2026-10-08T10:00:00.000Z",
  "updatedAt": "2026-10-09T09:00:00.000Z",
  "completedAt": "2026-10-08T10:05:00.000Z",
  "serialsCount": 0,
  "serialsReplaced": 0,
  "serials": [],
  "replacements": []
}

Errors

Replace delivered keys

POST /v1/orders/:id/replacement

Swap keys that were already delivered, for example when one does not activate. Each old key is retired and the buyer gets the new one by email. Without values the new keys come from the product’s key pool; keys from your server have no pool, so send values for those. Works on a COMPLETED order only. Fires order.replaced, and product.stock when keys came from the pool.

API keys orders:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/orders/4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f/replacement \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "reason": "Key rejected by the activation server" }'

Response 200

{
  "orderId": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
  "replacements": [
    {
      "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "productName": "Aurora Pro key",
      "oldSerialId": "c7d9e1f3-5a2b-4c6d-8e0f-1a3b5c7d9e2f",
      "newSerialId": "d2f4a6c8-0e1b-4d3f-9a5c-7e9b1d3f5a7c",
      "value": "AURORA-7QF2-M9KD-X4TR"
    }
  ]
}

Errors

Coupons

List coupons

GET /v1/coupons

Every coupon of the store, newest first, as a plain array. Personal coupons that Skalp creates for one buyer, such as loyalty rewards, are not listed. usedCount is how many orders used the coupon so far.

API keys coupons:read · rate limit per key

Request

curl https://api.skalp.gg/v1/coupons \
  -H "X-API-Key: sk_live_xxx"

Response 200

[
  {
    "id": "6a8c0e2b-4d6f-4a1c-8e3b-5d7f9a1c3e5b",
    "code": "LAUNCH20",
    "description": "Launch week, 20% off Aurora Pro",
    "discountType": "PERCENT",
    "discountPercent": 20,
    "discountAmount": null,
    "productIds": [
      "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e"
    ],
    "disabledWithVolumeDiscounts": true,
    "subscriptionDuration": "ONCE",
    "subscriptionMonths": null,
    "validFrom": "2026-10-09T09:00:00.000Z",
    "validTo": "2026-10-16T22:00:00.000Z",
    "maxUses": 100,
    "usedCount": 0,
    "minPurchaseAmount": null,
    "maxDiscountAmount": null,
    "excludeSaleItems": false,
    "firstOrderOnly": false,
    "oneTimePerUser": true,
    "isActive": true,
    "createdAt": "2026-10-09T09:00:00.000Z",
    "updatedAt": "2026-10-09T09:00:00.000Z"
  }
]

Errors

Get a coupon

GET /v1/coupons/:id

One coupon of the store, by its id or by its code.

API keys coupons:read · rate limit per key

Path parameters

Request

curl https://api.skalp.gg/v1/coupons/LAUNCH20 \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "6a8c0e2b-4d6f-4a1c-8e3b-5d7f9a1c3e5b",
  "code": "LAUNCH20",
  "description": "Launch week, 20% off Aurora Pro",
  "discountType": "PERCENT",
  "discountPercent": 20,
  "discountAmount": null,
  "productIds": [
    "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e"
  ],
  "disabledWithVolumeDiscounts": true,
  "subscriptionDuration": "ONCE",
  "subscriptionMonths": null,
  "validFrom": "2026-10-09T09:00:00.000Z",
  "validTo": "2026-10-16T22:00:00.000Z",
  "maxUses": 100,
  "usedCount": 0,
  "minPurchaseAmount": null,
  "maxDiscountAmount": null,
  "excludeSaleItems": false,
  "firstOrderOnly": false,
  "oneTimePerUser": true,
  "isActive": true,
  "createdAt": "2026-10-09T09:00:00.000Z",
  "updatedAt": "2026-10-09T09:00:00.000Z"
}

Errors

Create a coupon

POST /v1/coupons

Create a coupon buyers enter at checkout. Codes are saved in uppercase and are unique in the store. It starts active. With neither discountType nor discountPercent the coupon is a percentage coupon and needs discountPercent.

API keys coupons:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/coupons \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "code": "LAUNCH20",
    "description": "Launch week, 20% off Aurora Pro",
    "discountPercent": 20,
    "productIds": ["8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e"],
    "disabledWithVolumeDiscounts": true,
    "validTo": "2026-10-16T22:00:00.000Z",
    "maxUses": 100,
    "oneTimePerUser": true
  }'

Response 201

{
  "id": "6a8c0e2b-4d6f-4a1c-8e3b-5d7f9a1c3e5b",
  "code": "LAUNCH20",
  "description": "Launch week, 20% off Aurora Pro",
  "discountType": "PERCENT",
  "discountPercent": 20,
  "discountAmount": null,
  "productIds": [
    "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e"
  ],
  "disabledWithVolumeDiscounts": true,
  "subscriptionDuration": "ONCE",
  "subscriptionMonths": null,
  "validFrom": "2026-10-09T09:00:00.000Z",
  "validTo": "2026-10-16T22:00:00.000Z",
  "maxUses": 100,
  "usedCount": 0,
  "minPurchaseAmount": null,
  "maxDiscountAmount": null,
  "excludeSaleItems": false,
  "firstOrderOnly": false,
  "oneTimePerUser": true,
  "isActive": true,
  "createdAt": "2026-10-09T09:00:00.000Z",
  "updatedAt": "2026-10-09T09:00:00.000Z"
}

Errors

Update a coupon

PATCH /v1/coupons/:id

Change the fields you send. The code cannot change. Send null for validTo, maxUses, minPurchaseAmount, maxDiscountAmount or description to clear it. isActive false switches the coupon off without deleting it, and its usedCount stays.

API keys coupons:write · rate limit per key

Body parameters

Request

curl -X PATCH https://api.skalp.gg/v1/coupons/6a8c0e2b-4d6f-4a1c-8e3b-5d7f9a1c3e5b \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "maxUses": 250, "isActive": false }'

Response 200

{
  "id": "6a8c0e2b-4d6f-4a1c-8e3b-5d7f9a1c3e5b",
  "code": "LAUNCH20",
  "description": "Launch week, 20% off Aurora Pro",
  "discountType": "PERCENT",
  "discountPercent": 20,
  "discountAmount": null,
  "productIds": [
    "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e"
  ],
  "disabledWithVolumeDiscounts": true,
  "subscriptionDuration": "ONCE",
  "subscriptionMonths": null,
  "validFrom": "2026-10-09T09:00:00.000Z",
  "validTo": "2026-10-16T22:00:00.000Z",
  "maxUses": 250,
  "usedCount": 0,
  "minPurchaseAmount": null,
  "maxDiscountAmount": null,
  "excludeSaleItems": false,
  "firstOrderOnly": false,
  "oneTimePerUser": true,
  "isActive": false,
  "createdAt": "2026-10-09T09:00:00.000Z",
  "updatedAt": "2026-10-10T12:00:00.000Z"
}

Errors

Delete a coupon

DELETE /v1/coupons/:id

Delete a coupon. Orders that already used it keep their discount.

API keys coupons:write · rate limit per key

Path parameters

Request

curl -X DELETE https://api.skalp.gg/v1/coupons/6a8c0e2b-4d6f-4a1c-8e3b-5d7f9a1c3e5b \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "6a8c0e2b-4d6f-4a1c-8e3b-5d7f9a1c3e5b",
  "deleted": true
}

Errors

Customers

List customers

GET /v1/customers

The buyers of your store, the most recent buyer first. A customer record is created by the first completed order or subscription payment of that email, or by you. ordersCount counts completed orders and subscription payments and drops back when one is refunded or lost in a dispute. spent lists what the buyer paid in each currency; totalSpent and currency repeat the amount in your store currency, or in the one currency they paid in.

API keys customers:read · rate limit per key

Query parameters

Request

curl "https://api.skalp.gg/v1/customers?search=nowak" \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "data": [
    {
      "id": "9e1b3d5f-7a9c-4e2b-8d4f-6a8c0e2b4d6f",
      "email": "[email protected]",
      "name": "Alex Nowak",
      "note": "Runs two servers, asks for invoices.",
      "country": "PL",
      "ordersCount": 3,
      "totalSpent": 58.5,
      "currency": "EUR",
      "spent": [
        {
          "currency": "EUR",
          "amount": 58.5
        }
      ],
      "firstOrderAt": "2026-08-30T10:05:00.000Z",
      "lastOrderAt": "2026-10-08T10:05:00.000Z",
      "createdAt": "2026-08-30T10:05:00.000Z",
      "updatedAt": "2026-10-08T10:05:00.000Z"
    }
  ],
  "total": 1,
  "limit": 50,
  "offset": 0
}

Errors

Get a customer

GET /v1/customers/:id

One customer with recentOrders, their 20 newest orders in the shape of Get an order.

API keys customers:read · rate limit per key

Path parameters

Request

curl https://api.skalp.gg/v1/customers/9e1b3d5f-7a9c-4e2b-8d4f-6a8c0e2b4d6f \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "9e1b3d5f-7a9c-4e2b-8d4f-6a8c0e2b4d6f",
  "email": "[email protected]",
  "name": "Alex Nowak",
  "note": "Runs two servers, asks for invoices.",
  "country": "PL",
  "ordersCount": 3,
  "totalSpent": 58.5,
  "currency": "EUR",
  "spent": [
    {
      "currency": "EUR",
      "amount": 58.5
    }
  ],
  "firstOrderAt": "2026-08-30T10:05:00.000Z",
  "lastOrderAt": "2026-10-08T10:05:00.000Z",
  "createdAt": "2026-08-30T10:05:00.000Z",
  "updatedAt": "2026-10-08T10:05:00.000Z",
  "recentOrders": [
    {
      "id": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
      "orderNumber": "SK-100234",
      "status": "COMPLETED",
      "amount": 19.5,
      "netAmount": 15.85,
      "vatAmount": 3.65,
      "vatRate": 23,
      "currency": "EUR",
      "discountAmount": 0,
      "giftCardAmount": 0,
      "couponCode": null,
      "levelDiscount": null,
      "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "productName": "Aurora Pro key",
      "productSlug": "aurora-pro-key",
      "quantity": 1,
      "fulfillmentType": "SERIAL",
      "bundleId": null,
      "items": [
        {
          "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
          "name": "Aurora Pro key",
          "price": 15.85,
          "quantity": 1,
          "customFields": {
            "server_ip": "51.38.12.4"
          }
        }
      ],
      "buyerEmail": "[email protected]",
      "buyerCountry": "PL",
      "paymentProvider": "CARD",
      "isGift": false,
      "granted": false,
      "deliveryStatus": "DELIVERED",
      "metadata": {
        "orderRef": "ORD-1234"
      },
      "createdAt": "2026-10-08T10:00:00.000Z",
      "updatedAt": "2026-10-08T10:05:00.000Z",
      "completedAt": "2026-10-08T10:05:00.000Z"
    }
  ]
}

Errors

Create a customer

POST /v1/customers

Add a customer before they buy, for example to keep a note for a buyer you know. The email is saved in lowercase. A later order from that email joins the record.

API keys customers:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/customers \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "name": "Alex Nowak",
    "note": "Runs two servers, asks for invoices."
  }'

Response 201

{
  "id": "9e1b3d5f-7a9c-4e2b-8d4f-6a8c0e2b4d6f",
  "email": "[email protected]",
  "name": "Alex Nowak",
  "note": "Runs two servers, asks for invoices.",
  "country": null,
  "ordersCount": 0,
  "totalSpent": 0,
  "currency": "EUR",
  "spent": [],
  "firstOrderAt": null,
  "lastOrderAt": null,
  "createdAt": "2026-10-09T09:00:00.000Z",
  "updatedAt": "2026-10-09T09:00:00.000Z"
}

Errors

Update a customer

PATCH /v1/customers/:id

Change the name or the note. The email cannot be changed here. Send null, or an empty string, to clear a field.

API keys customers:write · rate limit per key

Body parameters

Request

curl -X PATCH https://api.skalp.gg/v1/customers/9e1b3d5f-7a9c-4e2b-8d4f-6a8c0e2b4d6f \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "note": "Prefers invoices in English." }'

Response 200

{
  "id": "9e1b3d5f-7a9c-4e2b-8d4f-6a8c0e2b4d6f",
  "email": "[email protected]",
  "name": "Alex Nowak",
  "note": "Prefers invoices in English.",
  "country": "PL",
  "ordersCount": 3,
  "totalSpent": 58.5,
  "currency": "EUR",
  "spent": [
    {
      "currency": "EUR",
      "amount": 58.5
    }
  ],
  "firstOrderAt": "2026-08-30T10:05:00.000Z",
  "lastOrderAt": "2026-10-08T10:05:00.000Z",
  "createdAt": "2026-08-30T10:05:00.000Z",
  "updatedAt": "2026-10-09T09:30:00.000Z"
}

Errors

Delete a customer

DELETE /v1/customers/:id

Delete the customer record with its notes. Their orders are not touched, and a later order from the same email creates the record again.

API keys customers:write · rate limit per key

Path parameters

Request

curl -X DELETE https://api.skalp.gg/v1/customers/9e1b3d5f-7a9c-4e2b-8d4f-6a8c0e2b4d6f \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "9e1b3d5f-7a9c-4e2b-8d4f-6a8c0e2b4d6f",
  "deleted": true
}

Errors

Feedback

List feedback

GET /v1/feedback

The reviews buyers left on your products, newest first. Only buyers can review, so verified is true for every review today. appeal is the latest appeal you filed against the review, or null. A new review also fires the feedback.received webhook.

API keys feedback:read · rate limit per key

Query parameters

Request

curl "https://api.skalp.gg/v1/feedback?productId=8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e&rating=5" \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "data": [
    {
      "id": "2c4e6a8b-0d1f-4b3d-9f5a-7c9e1b3d5f7a",
      "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "productName": "Aurora Pro key",
      "rating": 5,
      "title": "Worked on the first try",
      "content": "The key arrived within seconds and activated without any fuss.",
      "customerName": "Alex N.",
      "verified": true,
      "helpfulCount": 2,
      "replies": [
        {
          "id": "b3d5f7a9-1c2e-4f4b-8d6a-0c2e4a6b8d1f",
          "content": "Thank you, enjoy Aurora!",
          "createdAt": "2026-10-09T09:15:00.000Z"
        }
      ],
      "appeal": null,
      "createdAt": "2026-10-08T18:20:00.000Z",
      "updatedAt": "2026-10-09T09:15:00.000Z"
    }
  ],
  "total": 1,
  "limit": 50,
  "offset": 0
}

Errors

Get feedback

GET /v1/feedback/:id

One review of your store with its replies, oldest first.

API keys feedback:read · rate limit per key

Path parameters

Request

curl https://api.skalp.gg/v1/feedback/2c4e6a8b-0d1f-4b3d-9f5a-7c9e1b3d5f7a \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "2c4e6a8b-0d1f-4b3d-9f5a-7c9e1b3d5f7a",
  "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "productName": "Aurora Pro key",
  "rating": 5,
  "title": "Worked on the first try",
  "content": "The key arrived within seconds and activated without any fuss.",
  "customerName": "Alex N.",
  "verified": true,
  "helpfulCount": 2,
  "replies": [
    {
      "id": "b3d5f7a9-1c2e-4f4b-8d6a-0c2e4a6b8d1f",
      "content": "Thank you, enjoy Aurora!",
      "createdAt": "2026-10-09T09:15:00.000Z"
    }
  ],
  "appeal": null,
  "createdAt": "2026-10-08T18:20:00.000Z",
  "updatedAt": "2026-10-09T09:15:00.000Z"
}

Errors

Reply to feedback

POST /v1/feedback/:id/reply

Add a public reply under a review, written as your store. A review can have several replies. Answers with the review.

API keys feedback:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/feedback/2c4e6a8b-0d1f-4b3d-9f5a-7c9e1b3d5f7a/reply \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "message": "Thank you, enjoy Aurora!" }'

Response 201

{
  "id": "2c4e6a8b-0d1f-4b3d-9f5a-7c9e1b3d5f7a",
  "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "productName": "Aurora Pro key",
  "rating": 5,
  "title": "Worked on the first try",
  "content": "The key arrived within seconds and activated without any fuss.",
  "customerName": "Alex N.",
  "verified": true,
  "helpfulCount": 2,
  "replies": [
    {
      "id": "b3d5f7a9-1c2e-4f4b-8d6a-0c2e4a6b8d1f",
      "content": "Thank you, enjoy Aurora!",
      "createdAt": "2026-10-09T09:15:00.000Z"
    }
  ],
  "appeal": null,
  "createdAt": "2026-10-08T18:20:00.000Z",
  "updatedAt": "2026-10-09T09:15:00.000Z"
}

Errors

Appeal feedback

POST /v1/feedback/:id/appeal

Ask the Skalp team to remove a review that breaks the rules, such as abuse or a review of a different product. Skalp decides: status is PENDING, then ACCEPTED, which deletes the review, or REJECTED with an adminNote. One appeal can be open at a time, and a review that was rejected twice stays up. Answers with the review, appeal included.

API keys feedback:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/feedback/2c4e6a8b-0d1f-4b3d-9f5a-7c9e1b3d5f7a/appeal \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "reason": "The reviewer describes a product we do not sell." }'

Response 201

{
  "id": "2c4e6a8b-0d1f-4b3d-9f5a-7c9e1b3d5f7a",
  "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "productName": "Aurora Pro key",
  "rating": 5,
  "title": "Worked on the first try",
  "content": "The key arrived within seconds and activated without any fuss.",
  "customerName": "Alex N.",
  "verified": true,
  "helpfulCount": 2,
  "replies": [
    {
      "id": "b3d5f7a9-1c2e-4f4b-8d6a-0c2e4a6b8d1f",
      "content": "Thank you, enjoy Aurora!",
      "createdAt": "2026-10-09T09:15:00.000Z"
    }
  ],
  "appeal": {
    "id": "f5a7c9e1-3b4d-4a6f-8c0e-2b4d6f8a0c1e",
    "status": "PENDING",
    "reason": "The reviewer describes a product we do not sell.",
    "adminNote": null,
    "createdAt": "2026-10-09T11:00:00.000Z",
    "resolvedAt": null
  },
  "createdAt": "2026-10-08T18:20:00.000Z",
  "updatedAt": "2026-10-09T09:15:00.000Z"
}

Errors

Customer queries

List queries

GET /v1/queries

The conversations buyers opened with your store, the most recently active first. status tells whose turn it is: PENDING when the customer wrote and you have not answered, SHOP_REPLY after your answer, CUSTOMER_REPLY when they wrote back after it, CLOSED once resolved. lastMessage is the newest message. A new query fires query.created, and a customer’s follow-up fires query.replied.

API keys queries:read · rate limit per key

Query parameters

Request

curl "https://api.skalp.gg/v1/queries?status=PENDING" \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "data": [
    {
      "id": "7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d",
      "title": "Aurora Pro key",
      "status": "PENDING",
      "customerEmail": "[email protected]",
      "customerName": "Alex Nowak",
      "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "productName": "Aurora Pro key",
      "orderId": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
      "orderNumber": "SK-100234",
      "messageCount": 1,
      "lastMessage": {
        "id": "0b2d4f6a-8c1e-4a3b-9d5f-7a9c1e3b5d7f",
        "content": "My key says it is already in use. Can you check it?",
        "from": "customer",
        "createdAt": "2026-10-09T08:10:00.000Z"
      },
      "closedAt": null,
      "createdAt": "2026-10-09T08:10:00.000Z",
      "updatedAt": "2026-10-09T08:10:00.000Z"
    }
  ],
  "total": 1,
  "limit": 50,
  "offset": 0
}

Errors

Get a query

GET /v1/queries/:id

One query with its messages, oldest first, up to 500. from says who wrote each one: customer or shop.

API keys queries:read · rate limit per key

Path parameters

Request

curl https://api.skalp.gg/v1/queries/7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d",
  "title": "Aurora Pro key",
  "status": "PENDING",
  "customerEmail": "[email protected]",
  "customerName": "Alex Nowak",
  "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "productName": "Aurora Pro key",
  "orderId": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
  "orderNumber": "SK-100234",
  "messageCount": 1,
  "lastMessage": {
    "id": "0b2d4f6a-8c1e-4a3b-9d5f-7a9c1e3b5d7f",
    "content": "My key says it is already in use. Can you check it?",
    "from": "customer",
    "createdAt": "2026-10-09T08:10:00.000Z"
  },
  "closedAt": null,
  "createdAt": "2026-10-09T08:10:00.000Z",
  "updatedAt": "2026-10-09T08:10:00.000Z",
  "messages": [
    {
      "id": "0b2d4f6a-8c1e-4a3b-9d5f-7a9c1e3b5d7f",
      "content": "My key says it is already in use. Can you check it?",
      "from": "customer",
      "createdAt": "2026-10-09T08:10:00.000Z"
    }
  ]
}

Errors

Reply to a query

POST /v1/queries/:id/reply

Answer the customer as your store. They are notified and the query moves to SHOP_REPLY. Replying to a CLOSED query opens it again. Answers with the query and its messages.

API keys queries:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/queries/7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d/reply \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "message": "Sorry about that, I have sent you a new key." }'

Response 201

{
  "id": "7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d",
  "title": "Aurora Pro key",
  "status": "SHOP_REPLY",
  "customerEmail": "[email protected]",
  "customerName": "Alex Nowak",
  "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "productName": "Aurora Pro key",
  "orderId": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
  "orderNumber": "SK-100234",
  "messageCount": 2,
  "lastMessage": {
    "id": "1c3e5a7b-9d2f-4b4c-8e6a-0f2b4d6a8c1e",
    "content": "Sorry about that, I have sent you a new key.",
    "from": "shop",
    "createdAt": "2026-10-09T08:40:00.000Z"
  },
  "closedAt": null,
  "createdAt": "2026-10-09T08:10:00.000Z",
  "updatedAt": "2026-10-09T08:40:00.000Z",
  "messages": [
    {
      "id": "0b2d4f6a-8c1e-4a3b-9d5f-7a9c1e3b5d7f",
      "content": "My key says it is already in use. Can you check it?",
      "from": "customer",
      "createdAt": "2026-10-09T08:10:00.000Z"
    },
    {
      "id": "1c3e5a7b-9d2f-4b4c-8e6a-0f2b4d6a8c1e",
      "content": "Sorry about that, I have sent you a new key.",
      "from": "shop",
      "createdAt": "2026-10-09T08:40:00.000Z"
    }
  ]
}

Errors

Close a query

POST /v1/queries/:id/close

Mark a query as resolved. The customer can still write in it, which opens it again. Answers with the query and its messages.

API keys queries:write · rate limit per key

Path parameters

Request

curl -X POST https://api.skalp.gg/v1/queries/7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d/close \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d",
  "title": "Aurora Pro key",
  "status": "CLOSED",
  "customerEmail": "[email protected]",
  "customerName": "Alex Nowak",
  "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "productName": "Aurora Pro key",
  "orderId": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
  "orderNumber": "SK-100234",
  "messageCount": 2,
  "lastMessage": {
    "id": "1c3e5a7b-9d2f-4b4c-8e6a-0f2b4d6a8c1e",
    "content": "Sorry about that, I have sent you a new key.",
    "from": "shop",
    "createdAt": "2026-10-09T08:40:00.000Z"
  },
  "closedAt": "2026-10-09T09:00:00.000Z",
  "createdAt": "2026-10-09T08:10:00.000Z",
  "updatedAt": "2026-10-09T09:00:00.000Z",
  "messages": [
    {
      "id": "0b2d4f6a-8c1e-4a3b-9d5f-7a9c1e3b5d7f",
      "content": "My key says it is already in use. Can you check it?",
      "from": "customer",
      "createdAt": "2026-10-09T08:10:00.000Z"
    },
    {
      "id": "1c3e5a7b-9d2f-4b4c-8e6a-0f2b4d6a8c1e",
      "content": "Sorry about that, I have sent you a new key.",
      "from": "shop",
      "createdAt": "2026-10-09T08:40:00.000Z"
    }
  ]
}

Errors

Reopen a query

POST /v1/queries/:id/reopen

Open a closed query again. Its status goes back to what the conversation says: PENDING when the customer has not been answered, SHOP_REPLY when your message is the last one, CUSTOMER_REPLY when they answered you. Answers with the query and its messages.

API keys queries:write · rate limit per key

Path parameters

Request

curl -X POST https://api.skalp.gg/v1/queries/7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d/reopen \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d",
  "title": "Aurora Pro key",
  "status": "SHOP_REPLY",
  "customerEmail": "[email protected]",
  "customerName": "Alex Nowak",
  "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
  "productName": "Aurora Pro key",
  "orderId": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
  "orderNumber": "SK-100234",
  "messageCount": 2,
  "lastMessage": {
    "id": "1c3e5a7b-9d2f-4b4c-8e6a-0f2b4d6a8c1e",
    "content": "Sorry about that, I have sent you a new key.",
    "from": "shop",
    "createdAt": "2026-10-09T08:40:00.000Z"
  },
  "closedAt": null,
  "createdAt": "2026-10-09T08:10:00.000Z",
  "updatedAt": "2026-10-09T08:40:00.000Z",
  "messages": [
    {
      "id": "0b2d4f6a-8c1e-4a3b-9d5f-7a9c1e3b5d7f",
      "content": "My key says it is already in use. Can you check it?",
      "from": "customer",
      "createdAt": "2026-10-09T08:10:00.000Z"
    },
    {
      "id": "1c3e5a7b-9d2f-4b4c-8e6a-0f2b4d6a8c1e",
      "content": "Sorry about that, I have sent you a new key.",
      "from": "shop",
      "createdAt": "2026-10-09T08:40:00.000Z"
    }
  ]
}

Errors

Blacklist

List the blacklist

GET /v1/blacklist

The rules that stop a buyer from checking out in your store, newest first, as a plain array. A store holds at most 5000 rules across the blacklist and the whitelist. A buyer who matches a rule is told the store cannot accept the purchase (BUYER_BLOCKED).

API keys blacklist:read · rate limit per key

Query parameters

Request

curl "https://api.skalp.gg/v1/blacklist?type=EMAIL" \
  -H "X-API-Key: sk_live_xxx"

Response 200

[
  {
    "id": "a1c3e5f7-9b2d-4d4f-8a6c-0e2b4d6f8a1c",
    "list": "BLACKLIST",
    "type": "EMAIL",
    "value": "@tempmail.example",
    "note": "Chargeback ring",
    "createdAt": "2026-10-09T09:00:00.000Z"
  }
]

Errors

Add to the blacklist

POST /v1/blacklist

Add one rule. value is checked and normalised for its type: EMAIL is an address or a whole domain written @example.com, IP an address or a CIDR range, COUNTRY a two-letter code, ASN a number with or without AS, ISP a name that the buyer’s provider contains, and HOST a domain that the buyer’s reverse DNS name ends with. Adding a rule that already exists returns the existing one.

API keys blacklist:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/blacklist \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "EMAIL",
    "value": "@tempmail.example",
    "note": "Chargeback ring"
  }'

Response 201

{
  "id": "a1c3e5f7-9b2d-4d4f-8a6c-0e2b4d6f8a1c",
  "list": "BLACKLIST",
  "type": "EMAIL",
  "value": "@tempmail.example",
  "note": "Chargeback ring",
  "createdAt": "2026-10-09T09:00:00.000Z"
}

Errors

Remove from the blacklist

DELETE /v1/blacklist/:id

Delete a rule. It stops applying at the next checkout. A rule from the whitelist is not found here.

API keys blacklist:write · rate limit per key

Path parameters

Request

curl -X DELETE https://api.skalp.gg/v1/blacklist/a1c3e5f7-9b2d-4d4f-8a6c-0e2b4d6f8a1c \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "a1c3e5f7-9b2d-4d4f-8a6c-0e2b4d6f8a1c",
  "deleted": true
}

Errors

Whitelist

List the whitelist

GET /v1/whitelist

The rules that exempt a buyer from your store’s purchase checks, newest first, as a plain array. A buyer who matches one skips the blacklist, the shared blacklist and the VPN and risk checks of your products. A store holds at most 5000 rules across the blacklist and the whitelist.

API keys whitelist:read · rate limit per key

Query parameters

Request

curl "https://api.skalp.gg/v1/whitelist?type=EMAIL" \
  -H "X-API-Key: sk_live_xxx"

Response 200

[
  {
    "id": "a1c3e5f7-9b2d-4d4f-8a6c-0e2b4d6f8a1c",
    "list": "WHITELIST",
    "type": "EMAIL",
    "value": "[email protected]",
    "note": "Reseller partner",
    "createdAt": "2026-10-09T09:00:00.000Z"
  }
]

Errors

Add to the whitelist

POST /v1/whitelist

Add one rule. value is checked and normalised for its type: EMAIL is an address or a whole domain written @example.com, IP an address or a CIDR range, COUNTRY a two-letter code, ASN a number with or without AS, ISP a name that the buyer’s provider contains, and HOST a domain that the buyer’s reverse DNS name ends with. Adding a rule that already exists returns the existing one.

API keys whitelist:write · rate limit per key

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/whitelist \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "EMAIL",
    "value": "[email protected]",
    "note": "Reseller partner"
  }'

Response 201

{
  "id": "a1c3e5f7-9b2d-4d4f-8a6c-0e2b4d6f8a1c",
  "list": "WHITELIST",
  "type": "EMAIL",
  "value": "[email protected]",
  "note": "Reseller partner",
  "createdAt": "2026-10-09T09:00:00.000Z"
}

Errors

Remove from the whitelist

DELETE /v1/whitelist/:id

Delete a rule. It stops applying at the next checkout. A rule from the blacklist is not found here.

API keys whitelist:write · rate limit per key

Path parameters

Request

curl -X DELETE https://api.skalp.gg/v1/whitelist/a1c3e5f7-9b2d-4d4f-8a6c-0e2b4d6f8a1c \
  -H "X-API-Key: sk_live_xxx"

Response 200

{
  "id": "a1c3e5f7-9b2d-4d4f-8a6c-0e2b4d6f8a1c",
  "deleted": true
}

Errors

Webhooks

Subscribe a public HTTPS URL to order events from the Webhooks page in your dashboard. Every delivery, including retries and the manual test button, is signed at the moment it is sent. A new webhook starts with order.paid, purchase.completed, order.refunded, order.disputed, account.suspend, account.restore, webhook.test and the subscription events created, renewed, past_due, canceled, refunded and disputed. Every other event is opt-in: subscribe to it by name, or to everything with *.

Events

Payloads

subscription.created

{
  "type": "subscription.created",
  "timestamp": "2026-09-06T10:05:00.000Z",
  "data": {
    "subscriptionId": "b2c0…",
    "externalRef": "tenant_abc123",
    "status": "ACTIVE",
    "active": true,
    "storeId": "9f31…",
    "productId": "6f02…",
    "productSlug": "city-monthly",
    "productName": "FiveDock City Monthly",
    "buyerId": "1a44…",
    "billingInterval": "MONTH",
    "amount": 12.00,
    "currency": "EUR",
    "currentPeriodStart": "2026-09-06T10:05:00.000Z",
    "currentPeriodEnd": "2026-10-06T10:05:00.000Z",
    "cancelAtPeriodEnd": false,
    "canceledAt": null,
    "trialEnd": null,
    "graceUntil": null,
    "metadata": { "tenantId": "tenant_abc123" },
    "idempotencyKey": "evt_1AbC…",
    "licenseId": "lic_xxx",
    "licenseKey": "SKALP-7QF2-M9KD-X4TR-B8NC",
    "licenseStatus": "ACTIVE",
    "licenseExpiresAt": "2026-10-06T10:05:00.000Z"
  }
}

// licenseKey is the key the buyer sees in their dashboard. Store it with the
// subscription to accept it in your own licensing system; it stays the same for
// the life of the subscription and licenseExpiresAt follows currentPeriodEnd.
// All four license fields are null when the product issues no license.
// amount is in MAJOR units (12.00 = twelve euros).
// metadata is exactly the map you sent on POST /v1/subscriptions/checkout, nothing of ours.
// idempotencyKey is unique PER DELIVERY, not per subscription: a subscription emits an event
// every billing period for its whole life, so deduplicating on subscriptionId would reject
// every renewal after the first.

subscription.renewed

// Same shape as subscription.created, plus:
{
  "invoiceId": "8a41c7f0…",
  "amountPaid": 12.00,
  "periodExtendedTo": "2026-11-06T10:05:00.000Z"
}

subscription.checkout_expired

{
  "checkoutId": "8364cde8-0b7e-4b51-a1a3-5f6d0c9e2a10",
  "externalRef": "org_42",
  "status": "EXPIRED",
  "active": false,
  "reason": "payment_not_completed",
  "storeId": "b7f1…",
  "productId": "9a2c…",
  "productSlug": "city-monthly",
  "productName": "City",
  "buyerId": "c1d4…",
  "buyerEmail": "[email protected]",
  "amount": 12.00,
  "currency": "EUR",
  "metadata": {},
  "idempotencyKey": "checkout_expired:8364cde8-0b7e-4b51-a1a3-5f6d0c9e2a10"
}

subscription.past_due

// Same shape as subscription.created. What differs:
{
  "status": "PAST_DUE",
  "graceUntil": "2026-10-15T10:05:00.000Z",
  "invoiceId": "8a41c7f0…",
  "attemptCount": 1,
  "nextPaymentAttempt": "2026-10-09T10:05:00.000Z"
}

// graceUntil set: a renewal went unpaid and the store gives time to pay. Keep access until then.
// graceUntil null: another charge failed, for example a plan change. Keep access until it is paid
// or subscription.canceled arrives.

subscription.trial_started

// Same shape as subscription.created. What differs:
{
  "status": "TRIALING",
  "active": true,
  "trialEnd": "2026-09-13T10:05:00.000Z",
  "idempotencyKey": "evt_1AbC…:trial_started"
}

// subscription.trial_ended has the same shape, with idempotencyKey "evt_1XyZ…:trial_ended"
// and the status the subscription moved to. Each name has its own key, so a trial
// start and the subscription.created before it never collide.

subscription.upcoming

// Same shape as subscription.created, plus:
{
  "amountDue": 12.00,
  "nextPaymentAttempt": "2026-10-06T10:05:00.000Z"
}

// Sent ahead of a renewal, once the customer has been emailed a reminder.

subscription.canceled

// Same shape as subscription.created, plus:
{
  "endedAt": "2026-10-06T10:05:00.000Z",
  "cancelReason": "requested", // or "payment_failure" | "dispute" | "payment_provider" | "expired"
  "deliveryType": "COMMAND", // only with a revoke command
  "revokeCommand": "remove_principal identifier.steam:110000112345678 group.vip"
}

subscription.refunded

// Same shape as subscription.created, plus:
{
  "invoiceId": "8a41c7f0…",
  "amountRefunded": 6.00,
  "fullyRefunded": false
}

subscription.disputed

// Same shape as subscription.created, plus:
{
  "invoiceId": "8a41c7f0…",
  "disputeId": "c7e2a915…",
  "disputeStatus": "open", // then "won" | "lost"
  "disputeReason": "fraudulent"
}

order.paid

{
  "type": "order.paid",
  "timestamp": "2026-08-30T10:05:00.000Z",
  "data": {
    "orderId": "order_xxx",
    "orderNumber": "SK-100234",
    "productId": "prod_xxx",
    "productName": "My Script",
    "productSlug": "my-script",
    "buyerId": "user_xxx",
    "buyerEmail": "[email protected]",
    "licenseId": "lic_xxx",
    "licenseKey": "XXXXX-XXXXX-XXXXX-XXXXX",
    "amount": 24.99,
    "currency": "USD",
    "quantity": 1,
    "granted": false,
    "idempotencyKey": "order_xxx",
    "steamhex": "110000112345678",
    "identifier": "110000112345678",
    "metadata": { "orderRef": "ORD-1234" },
    "externalRef": null,
    "basketIdent": null,
    "customFields": { "server_ip": "51.38.12.4" },
    "licenses": [
      {
        "licenseId": "lic_xxx",
        "licenseKey": "XXXXX-XXXXX-XXXXX-XXXXX",
        "productId": "prod_xxx",
        "productSlug": "my-script",
        "productName": "My Script"
      }
    ],
    "serials": ["ABCD-1234-EFGH-5678"]
  }
}

// License key products: licenseKey is the key the buyer got. Save it in your
// own licensing system, or check it later with POST /v1/licenses/validate.
// Key pool and dynamic products: the buyer got the seller's key, which is in
// serials. licenseKey is then an internal Skalp id the buyer never sees.
// serials is missing when a dynamic key was still on its way.
// Headless API baskets: when the basket was checked out with externalRef,
// metadata or returnUrl and the buyer paid for exactly its products,
// basketIdent is the basket ident, externalRef is yours and metadata is the
// basket's metadata. Otherwise both are null.

order.refunded

{
  "type": "order.refunded",
  "timestamp": "2026-08-30T11:00:00.000Z",
  "data": {
    "orderId": "order_xxx",
    "orderNumber": "SK-100234",
    "refundId": "refund_xxx",
    "amount": 24.99,
    "reason": "requested_by_customer",
    "identifier": null,
    "steamHex": null,
    "giftRecipient": false,
    "granted": false,
    "fullRefund": true,
    "licenses": [
      {
        "licenseId": "lic_xxx",
        "licenseKey": "SKALP-7QF2-M9KD-X4TR-B8NC",
        "productId": "prod_xxx",
        "productSlug": "my-script",
        "productName": "My Script"
      }
    ],
    "revocations": [
      {
        "productId": "prod_vip",
        "productSlug": "vip-bronze",
        "productName": "VIP Bronze",
        "deliveryKey": "order_xxx",
        "delivered": true,
        "deliveryType": "COMMAND",
        "revokeCommand": "remove_principal identifier.steam:110000112345678 group.vip"
      }
    ]
  }
}

// A full refund revokes every key of the order on Skalp's side: deactivate the
// keys in licenses in your own system too. A partial refund revokes nothing
// and carries no revocations. deliveryKey matches idempotencyKey of the
// purchase.completed that delivered the product; delivered is true once your
// server confirmed that delivery.
// Key pool and dynamic products: find the keys you delivered by orderId; they
// came in serials of order.paid.

order.expired

{
  "type": "order.expired",
  "timestamp": "2026-12-01T00:05:00.000Z",
  "data": {
    "orderId": "order_xxx",
    "orderNumber": "SK-100234",
    "productId": "prod_xxx",
    "productName": "Season Pass",
    "idempotencyKey": "order_xxx:prod_xxx:expired",
    "identifier": "069a79f4-44e9-4726-a5be-fca90e38aaf5",
    "player": {
      "name": "Steve",
      "ids": { "mc_uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5", "mc_name": "Steve" }
    },
    "gamePlayers": {
      "minecraft": {
        "name": "Steve",
        "ids": { "mc_name": "Steve", "mc_uuid": "069a79f4-44e9-4726-a5be-fca90e38aaf5" }
      }
    },
    "paidAt": "2026-09-14T18:20:00.000Z",
    "accessEndsAt": "2026-12-01T00:00:00.000Z",
    "expiredAt": "2026-12-01T00:05:00.000Z",
    "revocations": [
      {
        "productId": "prod_xxx",
        "productSlug": "season-pass",
        "productName": "Season Pass",
        "deliveryKey": "order_xxx",
        "delivered": true,
        "deliveryType": "COMMAND",
        "revokeCommand": "lp user Steve parent remove season"
      }
    ]
  }
}

// player is there when the checkout named a player. gamePlayers holds the game
// accounts saved on the Skalp account of the buyer, or of the gift recipient.
// test is true for a test store only. revocations is empty when the product
// has no revoke command: then remove the access yourself.

order.disputed

{
  "type": "order.disputed",
  "timestamp": "2026-08-30T12:00:00.000Z",
  "data": {
    "orderId": "order_xxx",
    "orderNumber": "SK-100234",
    "disputeId": "c7e2a915…",
    "steamHex": null,
    "identifier": null,
    "coins": 0,
    "reason": "chargeback",
    "banned": true,
    "licenses": [
      {
        "licenseId": "lic_xxx",
        "licenseKey": "SKALP-7QF2-M9KD-X4TR-B8NC",
        "productId": "prod_xxx",
        "productSlug": "my-script",
        "productName": "My Script"
      }
    ]
  }
}

// Skalp suspends the keys while the dispute is open and reactivates them if
// you win it. Mirror that in your own licensing system. For key pool and
// dynamic products, find your keys by orderId from order.paid.
// account.suspend carries the same data. steamHex and identifier are null
// when the order has no game account; coins is 0 unless it granted coins.

account.restore

{
  "type": "account.restore",
  "timestamp": "2026-09-12T08:30:00.000Z",
  "data": {
    "identifier": "steam:110000112345678",
    "steamHex": "steam:110000112345678",
    "reason": "ban_lifted"
  }
}

order.updated

{
  "type": "order.updated",
  "timestamp": "2026-10-08T10:05:00.000Z",
  "data": {
    "id": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
    "orderNumber": "SK-100234",
    "status": "COMPLETED",
    "previousStatus": "PENDING",
    "idempotencyKey": "order.updated:4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f:1042",
    "amount": 19.5,
    "netAmount": 15.85,
    "vatAmount": 3.65,
    "vatRate": 23,
    "currency": "EUR",
    "discountAmount": 0,
    "giftCardAmount": 0,
    "couponCode": null,
    "levelDiscount": null,
    "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "productName": "Aurora Pro key",
    "productSlug": "aurora-pro-key",
    "quantity": 1,
    "fulfillmentType": "SERIAL",
    "bundleId": null,
    "items": [
      {
        "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
        "name": "Aurora Pro key",
        "price": 15.85,
        "quantity": 1,
        "customFields": {}
      }
    ],
    "buyerEmail": "[email protected]",
    "buyerCountry": "PL",
    "paymentProvider": "CARD",
    "isGift": false,
    "granted": false,
    "deliveryStatus": "PENDING",
    "metadata": { "orderRef": "ORD-1234" },
    "createdAt": "2026-10-08T10:00:00.000Z",
    "updatedAt": "2026-10-08T10:05:00.000Z",
    "completedAt": "2026-10-08T10:05:00.000Z"
  }
}

// order.created and order.canceled carry the same data. idempotencyKey is the same
// on every retry of one event: order.created:<orderId>, order.updated:<orderId>:<change number>
// (one per status change) and order.canceled:<orderId>.

order.replaced

// Same data as order.updated, plus:
{
  "idempotencyKey": "order.replaced:4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f:d2f4a6c8-0e1b-4d3f-9a5c-7e9b1d3f5a7c",
  "reason": "Key rejected by the activation server",
  "replacements": [
    {
      "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
      "productName": "Aurora Pro key",
      "oldSerialId": "c7d9e1f3-5a2b-4c6d-8e0f-1a3b5c7d9e2f",
      "newSerialId": "d2f4a6c8-0e1b-4d3f-9a5c-7e9b1d3f5a7c",
      "value": "AURORA-7QF2-M9KD-X4TR"
    }
  ]
}

// value is the new key the buyer received. reason is null when none was given.
// idempotencyKey ends with the id of the first new key, so two replacements never share one.

product.created

{
  "type": "product.created",
  "timestamp": "2026-09-30T10:00:00.000Z",
  "data": {
    "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "productName": "Aurora Pro key",
    "productSlug": "aurora-pro-key",
    "status": "DRAFT",
    "price": 19.5,
    "fulfillmentType": "SERIAL",
    "productType": "ONE_TIME",
    "game": null
  }
}

product.updated

{
  "type": "product.updated",
  "timestamp": "2026-09-30T10:20:00.000Z",
  "data": {
    "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "productName": "Aurora Pro key",
    "productSlug": "aurora-pro-key",
    "status": "PENDING_REVIEW",
    "price": 19.5,
    "fulfillmentType": "SERIAL",
    "productType": "ONE_TIME",
    "game": null
  }
}

// Same data as product.created, read after the change.

product.stock

{
  "type": "product.stock",
  "timestamp": "2026-10-02T14:11:08.000Z",
  "data": {
    "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "productName": "Aurora Pro key",
    "productSlug": "aurora-pro-key",
    "stock": 117,
    "previousStock": 118,
    "change": -1
  }
}

// A sale took one key. Adding keys gives a positive change.

query.created

{
  "type": "query.created",
  "timestamp": "2026-10-09T08:10:00.000Z",
  "data": {
    "idempotencyKey": "query.created:7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d",
    "queryId": "7f9b1d3e-5a7c-4c9e-8b1d-3f5a7c9e1b3d",
    "title": "Aurora Pro key",
    "status": "PENDING",
    "customerEmail": "[email protected]",
    "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "orderId": "4b6d8f0a-2c3e-4a5b-9d7f-1e3a5c7b9d0f",
    "message": {
      "id": "0b2d4f6a-8c1e-4a3b-9d5f-7a9c1e3b5d7f",
      "content": "My key says it is already in use. Can you check it?",
      "createdAt": "2026-10-09T08:10:00.000Z"
    }
  }
}

// query.replied has the same shape, with the customer's new message and the
// status CUSTOMER_REPLY, or PENDING while you have not answered yet. Its
// idempotencyKey is query.replied:<message id>, one per customer message.

feedback.received

{
  "type": "feedback.received",
  "timestamp": "2026-10-08T18:20:00.000Z",
  "data": {
    "idempotencyKey": "feedback.received:2c4e6a8b-0d1f-4b3d-9f5a-7c9e1b3d5f7a",
    "feedbackId": "2c4e6a8b-0d1f-4b3d-9f5a-7c9e1b3d5f7a",
    "productId": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "productName": "Aurora Pro key",
    "rating": 5,
    "title": "Worked on the first try",
    "content": "The key arrived within seconds and activated without any fuss.",
    "customerName": "Alex N.",
    "createdAt": "2026-10-08T18:20:00.000Z"
  }
}

// idempotencyKey is feedback.received:<feedbackId>.

credits.granted

{
  "type": "credits.granted",
  "timestamp": "2026-11-26T09:14:02.000Z",
  "data": {
    "customerId": "c2b7e0d4-5a1f-4e3b-9c8d-2f6a7b1e0c94",
    "externalCustomerId": "user_42",
    "customerEmail": "[email protected]",
    "meter": "tokens",
    "meterId": "0e6b2f8c-4d1a-4b7e-a3c5-9f2e8d1b6a70",
    "grantId": "a47e9b10-2c3d-4e5f-8a9b-0c1d2e3f4a5b",
    "amount": 50000,
    "source": "subscription",
    "expiresAt": "2026-12-26T09:14:02.000Z",
    "orderId": null,
    "subscriptionId": "9f31c2d4-7e8a-4b6c-a1d3-5f7e9b2c4d6e",
    "balance": 50000,
    "idempotencyKey": "credits.granted:a47e9b10-2c3d-4e5f-8a9b-0c1d2e3f4a5b"
  }
}

credits.depleted

{
  "type": "credits.depleted",
  "timestamp": "2026-11-26T11:02:40.000Z",
  "data": {
    "customerId": "c2b7e0d4-5a1f-4e3b-9c8d-2f6a7b1e0c94",
    "externalCustomerId": "user_42",
    "customerEmail": "[email protected]",
    "meter": "tokens",
    "meterId": "0e6b2f8c-4d1a-4b7e-a3c5-9f2e8d1b6a70",
    "balance": -1250,
    "idempotencyKey": "credits.depleted:7b3e1f9a-6c2d-4a8e-b5f0-1d9c3e7a2b64"
  }
}

customer.level_up

{
  "type": "customer.level_up",
  "timestamp": "2026-11-10T18:20:00.000Z",
  "data": {
    "storeId": "3e5a7c9e-1b3d-4f5a-8c7e-9b1d3f5a7c9e",
    "email": "[email protected]",
    "userId": "1a44c9e2-7b3d-4f81-9e62-0c5a8d7b3f19",
    "level": 3,
    "previousLevel": 2,
    "xp": 2140,
    "tier": {
      "level": 3,
      "xp": 2000,
      "name": "VIP",
      "discountPercent": 10,
      "gift": null,
      "discordRoleId": "1188204473950511104",
      "discordRoleName": "VIP",
      "gemMultiplier": 2,
      "gameReward": { "label": "$50k in-game cash" },
      "badgeUrl": "https://api.skalp.gg/upload/files/stores/3e5a7c9e-1b3d-4f5a-8c7e-9b1d3f5a7c9e/level-badge/7c506d23-2772-418a-bce4-7dc8fb8fcb4f.webp"
    }
  }
}

Product webhooks

Give a store webhook productIds, up to 50 products of its store, and it hears only about those products: every event of their orders, refunds, disputes, account.suspend, account.restore and redeemed gifts included, the events of their subscriptions, queries and feedback about them, and product.created, product.updated and product.stock. A webhook without productIds receives every event it subscribes to, for every product. Set productIds when you create or edit the webhook; an empty list makes it store-wide again.

Events that belong to no product go only to webhooks without productIds: a query that is not about a product, and the account.restore of a ban you added and lifted by hand.

curl -X POST https://api.skalp.gg/stores/<storeId>/webhooks \
  -H "Cookie: __Secure-better-auth.session_token=<session_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://yourstore.example.com/webhooks/aurora",
    "events": ["order.paid", "product.updated", "product.stock"],
    "productIds": ["8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e"]
  }'

Verify the signature

Read the Skalp-Signature header, t=<unix seconds>,v1=<hex>. Compute an HMAC-SHA256 of the timestamp, a dot and the raw request body with your webhook secret, compare it to v1 in constant time, and reject the request when t is more than 5 minutes from your clock. Because the timestamp is signed, a captured request cannot be replayed later. Older integrations can still read X-Skalp-Signature-256, an HMAC of the body alone. Deduplicate on data.idempotencyKey, since failed deliveries are retried. Every event carries one, and it stays the same on each retry of the same event.

Every delivery also carries X-Webhook-Event, the event name, and X-Skalp-Timestamp, the same unix seconds as t. X-Skalp-Timestamp is not signed on its own, so check the t inside Skalp-Signature. Both HMACs use your webhook secret exactly as the dashboard shows it, as text.

Re-serializing a parsed JSON object can reorder keys and change the digest. Verify the exact bytes you received.

POST https://yourstore.example.com/webhooks/skalp
Content-Type: application/json
X-Webhook-Event: product.stock
X-Skalp-Timestamp: 1790000000
Skalp-Signature: t=1790000000,v1=5f2b…
X-Skalp-Signature-256: sha256=9ac4…

// v1     = hex(HMAC-SHA256(secret, "1790000000" + "." + rawBody))
// sha256 = hex(HMAC-SHA256(secret, rawBody)), the legacy form
// secret is the webhook secret exactly as the dashboard shows it,
// used as text: do not hex-decode it.
const crypto = require('crypto');

function verifySkalpWebhook(rawBody, header, secret) {
  const timestamp = /(?:^|,)t=(\d+)/.exec(header || '')?.[1];
  if (!timestamp || Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false;

  const expected = crypto
    .createHmac('sha256', secret)
    .update(timestamp + '.')
    .update(rawBody)
    .digest('hex');

  return [...(header || '').matchAll(/(?:^|,)v1=([0-9a-f]{64})/g)].some(([, signature]) =>
    crypto.timingSafeEqual(Buffer.from(signature), Buffer.from(expected)),
  );
}

app.post('/webhooks/skalp', express.raw({ type: 'application/json' }), async (req, res) => {
  const ok = verifySkalpWebhook(req.body, req.header('Skalp-Signature'), process.env.SKALP_WEBHOOK_SECRET);
  if (!ok) return res.status(400).send('invalid signature');

  const event = JSON.parse(req.body);
  await handleSkalpEvent(event);
  res.sendStatus(200);
});

Selling keys

A product can hand the buyer a key in three ways. Pick one per product under Fulfillment.

Licensing API

For products with the "License key" delivery. Your software sends the key and a hardware ID; Skalp answers whether the key is valid and binds it to that machine. You need no licensing system of your own.

Create a key with only the licenses:validate scope for your app. It can check keys and nothing else. Keep keys with other scopes on your server.

Validate a license key

POST /v1/licenses/validate

Ask Skalp whether a key sold with the "License key" delivery is valid, and bind it to the machine it runs on. The first hardwareId a key sees takes a seat; the product setting "Devices per key" caps the seats, and a new machine beyond it gets DEVICE_LIMIT_REACHED. An invalid key is still a 200 with valid: false. A key with only this scope can ship inside your app: it cannot read orders or change anything, and its limit counts per calling IP.

API keys licenses:validate · 60 requests per minute per IP

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/licenses/validate \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "key": "SKALP-7QF2-M9KD-X4TR-B8NC",
    "productId": "6f02…",
    "hardwareId": "c1f7e2a0-9d4b-4a8e-b5f3-2c1d9e7a6b40"
  }'

Response 200

{
  "valid": true,
  "code": "VALID",
  "message": "The license is valid",
  "license": {
    "key": "SKALP-7QF2-M9KD-X4TR-B8NC",
    "status": "ACTIVE",
    "productId": "6f02…",
    "productName": "Aurora Pro",
    "orderId": "order_xxx",
    "subscriptionId": null,
    "createdAt": "2026-09-30T10:05:00.000Z",
    "expiresAt": null,
    "devices": { "used": 1, "limit": 1 }
  }
}

// devices.limit is null when the product has no device limit.
// expiresAt follows the paid period for subscriptions and the "Valid for"
// setting for one-time keys; null means lifetime.

Errors

Reset the devices of a key

POST /v1/licenses/devices/reset

Frees every seat of a key, for a buyer who moved to a new machine. Send hardwareId to bind that machine right away. Call it from your server, never from your app. You can also reset devices from the order in your dashboard.

API keys licenses:write · Your API key limit (100 per minute by default)

Body parameters

Request

curl -X POST https://api.skalp.gg/v1/licenses/devices/reset \
  -H "X-API-Key: sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{ "key": "SKALP-7QF2-M9KD-X4TR-B8NC" }'

Response 200

{
  "license": {
    "key": "SKALP-7QF2-M9KD-X4TR-B8NC",
    "status": "ACTIVE",
    "devices": { "used": 0, "limit": 1 }
  }
}

Errors

Dynamic delivery

For products with the "Keys from your server" delivery. On every paid order Skalp sends a POST to your key server URL, signed like a webhook but with the product's own signing secret (product page, Your key server).

Answer with status 200 and the key in the body: plain text, a JSON string or a JSON object with a key field, up to 2000 characters. Any other status, an HTML page or no answer within 5 seconds counts as a failure.

After a failure the buyer is told the key is on its way, and Skalp retries after 1, 5 and 15 minutes, then after 1, 3, 6, 12 and 24 hours. You get a notification on the first failure and when the retries run out; from the order you can retry or deliver the key by hand. The buyer gets an email when the key arrives.

A retry carries the same deliveryId. Return the key you issued for it before instead of a new one, in case your first answer got lost.

POST https://api.example.com/skalp/key
Content-Type: application/json
X-Webhook-Event: delivery.requested
Skalp-Signature: t=1790000000,v1=5f2b…
X-Skalp-Signature-256: sha256=9ac4…

{
  "type": "delivery.requested",
  "timestamp": "2026-09-30T10:05:00.000Z",
  "data": {
    "deliveryId": "0d4e…",
    "orderId": "order_xxx",
    "orderNumber": "SK-100234",
    "productId": "6f02…",
    "productName": "Aurora Key",
    "productSlug": "aurora-key",
    "quantity": 1,
    "buyerId": "user_xxx",
    "buyerEmail": "[email protected]",
    "amount": 24.99,
    "currency": "EUR",
    "metadata": { "orderRef": "ORD-1234" },
    "attempt": 1,
    "test": false
  }
}
HTTP/1.1 200 OK
Content-Type: application/json

{ "key": "AURORA-2F9K-77QD-X1PL" }

// Plain text works too:
// HTTP/1.1 200 OK
// AURORA-2F9K-77QD-X1PL
const express = require('express');
const crypto = require('crypto');

const app = express();
app.use(express.raw({ type: 'application/json' }));

app.post('/skalp/key', async (req, res) => {
  // Same check as for webhooks, with the product's signing secret.
  if (!verifySkalpWebhook(req.body, req.get('Skalp-Signature'), process.env.SKALP_DYNAMIC_SECRET)) {
    return res.status(401).end();
  }
  const { type, data } = JSON.parse(req.body.toString('utf8'));
  if (type === 'delivery.test') return res.json({ key: 'TEST-KEY' });

  // A retry carries the same deliveryId: hand back the key you issued before.
  const key = await issueKeyOnce(data.deliveryId, data.buyerEmail);
  res.json({ key });
});

Game licensing API

License verification for scripts that run on a game server: verify a key when the script starts, re-check it with heartbeats while it runs, and manage which servers a license is active on.

Verify a license

POST /licenses/verify

Check a license key from the server that runs it. A license runs on one public IP, the one the request comes from, and every install on that IP can use it. A call from any other IP fails and shows up on the licenses page of the buyer's dashboard, where one tap moves the license there. No API key: the license key authenticates the call, and an invalid license is still a 200 with valid: false.

License key · 30 requests per minute per IP

Body parameters

Request

curl -X POST https://api.skalp.gg/licenses/verify \
  -H "Content-Type: application/json" \
  -d '{
    "licenseKey": "SKALP-7QF2-M9KD-X4TR-B8NC",
    "serverKey": "eu-main-1",
    "fingerprint": { "hostname": "Northwind RP", "maxClients": 64 }
  }'

Response 200

{
  "valid": true,
  "token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
  "expiresAt": "2026-09-16T09:22:44.000Z",
  "publicKey": "-----BEGIN PUBLIC KEY-----...",
  "license": {
    "key": "SKALP-7QF2-M9KD-X4TR-B8NC",
    "product": "Ticket System",
    "version": "2.4.0",
    "expiresAt": null
  }
}

Errors

Heartbeat

POST /licenses/heartbeat

A lighter re-check for an install that is already running. valid turns false once the license is revoked or expired, or moves to another IP, so stop the software when it does. It also marks the server as recently active.

License key · 120 requests per minute per IP

Body parameters

Request

curl -X POST https://api.skalp.gg/licenses/heartbeat \
  -H "Content-Type: application/json" \
  -d '{
    "licenseKey": "SKALP-7QF2-M9KD-X4TR-B8NC"
  }'

Response 200

{
  "valid": true
}

Errors

Move a license to an IP

POST /licenses/:id/reset-ip

Point a license at another server IP. Setting the first IP is free. After that the owner gets 3 moves a year, 7 days apart, and past that the seller has to approve the move.

Session token · no rate limit

Body parameters

Request

curl -X POST https://api.skalp.gg/licenses/0f6c2b1e-8a4d-4c1f-9e7b-5d3a2c1b0e9f/reset-ip \
  -H "Cookie: __Secure-better-auth.session_token=<session_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "serverIp": "203.0.113.7",
    "serverName": "EU main"
  }'

Response 201

{
  "success": true,
  "message": "Server IP has been reset successfully",
  "nextResetAvailableAt": "2026-09-23T09:12:44.000Z"
}

Errors

Get a license

GET /licenses/:id

A license you own, with its product, its IP and the servers seen on it in the last 30 days.

Session token · no rate limit

Path parameters

Request

curl https://api.skalp.gg/licenses/0f6c2b1e-8a4d-4c1f-9e7b-5d3a2c1b0e9f \
  -H "Cookie: __Secure-better-auth.session_token=<session_token>"

Response 200

{
  "id": "0f6c2b1e-8a4d-4c1f-9e7b-5d3a2c1b0e9f",
  "licenseKey": "SKALP-7QF2-M9KD-X4TR-B8NC",
  "status": "ACTIVE",
  "expiresAt": null,
  "product": {
    "id": "8c2f4a6e-1d3b-4f5a-9e7c-0b2d4f6a8c1e",
    "name": "Ticket System",
    "version": "2.4.0",
    "store": { "id": "3e5a7c9b-2d4f-4a6c-8e0b-1f3d5a7c9e2b", "name": "Northwind Scripts" }
  },
  "ip": "203.0.113.7",
  "instances": [
    {
      "ip": "203.0.113.7",
      "allowed": true,
      "hostname": "Northwind RP | Serious roleplay",
      "projectName": "Northwind RP",
      "maxClients": 64,
      "players": 41,
      "resourceCount": 212,
      "bannerUrl": null,
      "firstSeenAt": "2026-09-02T18:40:11.000Z",
      "lastSeenAt": "2026-09-16T09:12:44.000Z"
    }
  ],
  "order": {
    "id": "5b0e7c1a-3f7d-4e8b-9a0c-2d41f6b8e913",
    "orderNumber": "SK-48213",
    "createdAt": "2026-09-01T14:03:11.000Z"
  }
}

Errors

Examples

Lua resource

A complete server-side resource that verifies its license on start, sends a heartbeat every five minutes and exports IsLicensed for other resources.

local LICENSE_KEY = "SKALP-XXXX-XXXX-XXXX-XXXX"
local API_URL = "https://api.skalp.gg/licenses"

local isLicensed = false

function StartHeartbeat()
    CreateThread(function()
        while isLicensed do
            Wait(300000)
            PerformHttpRequest(API_URL .. "/heartbeat", function(code, data)
                if code == 200 and not json.decode(data).valid then
                    isLicensed = false
                    print("[SKALP] License is no longer valid")
                end
            end, "POST", json.encode({ licenseKey = LICENSE_KEY }), { ["Content-Type"] = "application/json" })
        end
    end)
end

CreateThread(function()
    PerformHttpRequest(API_URL .. "/verify", function(code, data)
        local response = code == 200 and json.decode(data) or nil
        if response and response.valid then
            isLicensed = true
            print("[SKALP] License verified: " .. response.license.product)
            StartHeartbeat()
        elseif response then
            print("[SKALP] " .. response.message)
        else
            print("[SKALP] Failed to verify license")
        end
    end, "POST", json.encode({
        licenseKey = LICENSE_KEY,
        serverKey = GetConvar("sv_projectName", "main"),
        fingerprint = {
            hostname = GetConvar("sv_hostname", ""),
            maxClients = GetConvarInt("sv_maxclients", 32)
        },
        resourceName = GetCurrentResourceName()
    }), { ["Content-Type"] = "application/json" })
end)

exports("IsLicensed", function()
    return isLicensed
end)