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.
checkout:read: Poll checkouts: GET /v1/checkout/sessions/:id and GET /v1/subscriptions/checkout/:id.checkout:write: Create hosted checkouts: POST /v1/checkout/sessions and POST /v1/subscriptions/checkout.orders:read: Read orders: GET /v1/orders and GET /v1/orders/:id.orders:write: Cancel a pending order with POST /v1/orders/:id/cancel, replace delivered keys with POST /v1/orders/:id/replacement and send an undelivered purchase again with POST /v1/orders/:id/redeliver.products:read: Read the catalog: products, key counts, store categories and product groups. Never shows key values.products:write: Create, edit, submit and archive products, list, add and delete keys, and manage store categories and product groups. It does not include products:read, so give a key both to read and write.coupons:read: Read coupons: GET /v1/coupons and GET /v1/coupons/:id.coupons:write: Create, change and delete coupons: POST /v1/coupons, PATCH /v1/coupons/:id and DELETE /v1/coupons/:id.customers:read: Read customers, their recent orders and their levels: GET /v1/customers, GET /v1/customers/:id, GET /v1/levels and GET /v1/levels/customers/:email.customers:write: Create, change and delete customers and give them XP: POST /v1/customers, PATCH and DELETE /v1/customers/:id and POST /v1/levels/customers/:email/xp.feedback:read: Read the reviews of your products: GET /v1/feedback and GET /v1/feedback/:id.feedback:write: Reply to a review with POST /v1/feedback/:id/reply and appeal one with POST /v1/feedback/:id/appeal.queries:read: Read customer queries and their messages: GET /v1/queries and GET /v1/queries/:id.queries:write: Answer and close customer queries: POST /v1/queries/:id/reply, POST /v1/queries/:id/close and POST /v1/queries/:id/reopen.blacklist:read: Read the buyers your store refuses: GET /v1/blacklist.blacklist:write: Add and remove blacklist rules: POST /v1/blacklist and DELETE /v1/blacklist/:id.whitelist:read: Read the buyers your store always accepts: GET /v1/whitelist.whitelist:write: Add and remove whitelist rules: POST /v1/whitelist and DELETE /v1/whitelist/:id.subscriptions:read: Read subscriptions and their invoices: GET /v1/subscriptions, GET /v1/subscriptions/:id and GET /v1/subscriptions/:id/invoices.subscriptions:write: Change a plan or the externalRef, charge for usage and cancel: POST /v1/subscriptions/:id/plan, PATCH /v1/subscriptions/:id, POST /v1/subscriptions/:id/usage-charges and DELETE /v1/subscriptions/:id.usage:read: Read balances, credit history, usage and meters: GET /v1/credits, GET /v1/credits/transactions, GET /v1/usage and GET /v1/meters.usage:write: Send usage, grant credits and create meters: POST /v1/usage/events, POST /v1/credits/grants and POST /v1/meters.coins:read: Poll an in-game coin checkout with GET /coins/checkout/:reference/status.coins:purchase: Start an in-game coin checkout with POST /coins/checkout.licenses:validate: Check a license key and bind it to a device with POST /v1/licenses/validate. The only scope that is safe inside your app.licenses:write: Free the devices of a key with POST /v1/licenses/devices/reset. Keep it on your server.webhooks:read: List the store’s webhooks: GET /v1/webhooks.webhooks:write: Create and delete webhooks: POST /v1/webhooks and DELETE /v1/webhooks/:id.
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
itemsarray, required: Exactly one { productId, quantity? } item. quantity defaults to the product's minQuantity and must be within its minQuantity and maxQuantity; the product's volumeDiscounts set the price. Gifts are always one unit.customerEmailstring, optional: Pre-fills the buyer email. Skip it to collect the address on the hosted page.externalCustomerIdstring, optional: Your own id for the buyer, the same one you send with usage events. Credits from this purchase land on that customer.metadataobject, optional: Flat string map, at most 10 keys, echoed back on the session and the order.couponCodestring, optional: A coupon code valid for this product.returnUrlstring, optional: Where the buyer lands after paying. Defaults to a Skalp success page.customFieldsobject, optional: Answers to the product's custom fields that you already have, by field key, such as a hidden referrer. The pay page asks the buyer for the rest and enforces the required ones.playerobject, optional: The player buying, as { name, ids }. ids takes steamid64, mc_uuid, mc_name, discord, license2 or fivem. Server commands run for this player, and a product set to "Upgrade from" a lower rank charges only the difference if they already own it.adsobject, optional: Sends this purchase to the Meta, TikTok or Google Analytics account connected under Integrations. Pass { consent: { ads, analytics }, cookies, fbclid?, ttclid?, pageUrl? }. consent is what the buyer allowed in your cookie banner: ads for Meta and TikTok, analytics for Google Analytics. cookies are the buyer's _fbp, _fbc, _ttp, _ga and _ga_<stream> cookies from your site, copied as they are. Without consent nothing is sent. Buy buttons from the Embed page send this on their own, and the Sellix-compatible POST /payments takes the same field.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store (see Store binding).403 Forbidden: The key is missing the checkout:write scope.400 Bad Request: Not exactly one item, or metadata with more than 10 keys or non-string values.400 QUANTITY_INVALID: The quantity is outside the product’s minQuantity and maxQuantity, or above 1 for a product that sells one unit. The body carries min and max.400 OUT_OF_STOCK: Fewer keys in stock than the quantity. The body carries available.400 ORDER_BELOW_MINIMUM: Price × quantity, before coupons and VAT, is under the USD 5.00 equivalent. The body carries minimum and currency, in your store currency.400 PRODUCT_ON_HOLD: The product’s visibility is ON_HOLD.403 LEVEL_REQUIRED: The product needs a higher store level than this buyer has. The body carries requiredLevel.
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
idstring, required: The id returned by Create a checkout session.
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
401 Unauthorized: Missing or invalid API key.404 Not Found: The session does not exist, or belongs to a different store.
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
idstring, required: The order id or the order number, such as SK-100234.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.404 Not Found: The order does not exist, or belongs to a different store.
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
productIdstring, optional: The recurring product. Either this or productSlug.productSlugstring, optional: The product's slug, e.g. city-monthly. Stable across a reseed and readable in a log.customerEmailstring, optional: Where the receipt goes. Omit it and the buyer supplies one on the hosted page.externalCustomerIdstring, optional: Your own id for the buyer, the same one you send with usage events. Credits from this plan land on that customer. It is saved as externalRef, and wins if you send both.externalRefstring, optional: Your own id for this customer, such as a tenant id or an account number. Echoed on every later webhook and queryable on GET /v1/subscriptions, so you never have to store a Skalp id.metadataobject, optional: Flat string map, at most 10 keys, echoed back verbatim as data.metadata.currencystring, optional: EUR, USD, PLN or BRL. The buyer pays in this currency, whatever their country, and cannot change it. Usually leave it out: Skalp then picks from the buyer's billing country (PLN for Poland, EUR for euro countries, USD for the US, BRL for Brazil, your store currency elsewhere). The buyer pays the price you set in that currency, or your store price converted at the day's rate, plus 1% into PLN or BRL.returnUrlstring, optional: Where the buyer lands after paying.adsobject, optional: Same as ads on POST /v1/checkout/sessions. The first payment is sent as the purchase.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.400 NOT_A_SUBSCRIPTION: The product is one-time. Use the checkout sessions endpoint.400 PRODUCT_ON_HOLD: The product’s visibility is ON_HOLD.403 LEVEL_REQUIRED: The product needs a higher store level than this buyer has. The body carries requiredLevel.400 Bad Request: Neither productId nor productSlug, metadata with more than 10 keys or non-string values, or a field this endpoint does not accept.400 DUPLICATE_SUBSCRIPTION: The customerEmail you sent already has an ACTIVE or TRIALING subscription to this product. Checked per product and only when customerEmail is given: two different plans are two subscriptions, and both will bill.403 PAYMENTS_PAUSED: Card payments are temporarily paused platform-wide.404 Not Found: No such product in this key’s store.
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
idstring, required: The id returned by Start a subscription.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.404 Not Found: No such checkout in this key’s store.
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
externalCustomerIdstring, optional: Your own customer id, the one you sent as externalCustomerId at checkout.externalRefstring, optional: The older name for externalCustomerId.statusstring, optional: ACTIVE, TRIALING, PAST_DUE, UNPAID, CANCELED, INCOMPLETE, INCOMPLETE_EXPIRED or PAUSED.updatedSincestring, optional: ISO 8601 timestamp. Only subscriptions changed at or after it.limitnumber, optional: Page size, default 50, max 200.offsetnumber, optional: Rows to skip, default 0. Page until offset reaches total.
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
400 Bad Request: An unknown status, a malformed updatedSince, or limit outside 1 to 200.401 Unauthorized: Missing or invalid API key.403 Forbidden: The key is missing the subscriptions:read scope.403 STORE_REQUIRED: The key is not bound to a store.
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
idstring, required: The Skalp subscription id.
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
401 Unauthorized: Missing or invalid API key.404 Not Found: No such subscription in this key’s store.
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
idstring, required: The Skalp subscription id.
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
401 Unauthorized: Missing or invalid API key.403 Forbidden: The key is missing the subscriptions:read scope.404 Not Found: No such subscription in this key’s store.
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
productIdstring, optional: The recurring product to move to. Either this or productSlug.productSlugstring, optional: The product's slug, e.g. city-yearly.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the subscriptions:write scope.400 Bad Request: Neither productId nor productSlug, the product is not active, or a field this endpoint does not accept.400 NOT_A_SUBSCRIPTION: The target product is one-time, not recurring.400 SUBSCRIPTION_ENDED: The subscription is already CANCELED or INCOMPLETE_EXPIRED.404 Not Found: No such subscription in this key’s store, or no such product in it. Also the answer when the subscription belongs to another store.503 Service Unavailable: The plan changed but could not be read back. It reconciles from the webhook; read the subscription before you retry.
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
externalCustomerIdstring | null, optional: Your own id for the buyer or tenant, at most 255 characters. null removes it. Wins over externalRef if you send both.externalRefstring | null, optional: The older name for externalCustomerId.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the subscriptions:write scope.400 Bad Request: Neither externalCustomerId nor externalRef is in the body, the value is neither a string nor null, or it is longer than 255 characters, or the body has a field this endpoint does not accept.404 Not Found: No such subscription in this key’s store. Also the answer when it belongs to another store, so a key cannot enumerate ids.
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
amountnumber, required: Amount in major units of currency, e.g. 12.34, before VAT or with VAT included, like the plan price. Greater than 0, at most two decimals, at most 1000000, and after conversion not below the minimum invoice amount (0.50 EUR, 0.60 USD, 2.50 PLN).currencystring, required: Your store’s currency in upper case: EUR, USD or PLN. Anything else is CURRENCY_MISMATCH.descriptionstring, required: 1 to 250 characters. Printed on the invoice line.idempotencyKeystring, required: 1 to 200 characters, unique per store, e.g. fivedock-overage:<orgId>:2026-09. The same key always means the same charge.periodStartstring, required: ISO 8601 start of the usage period, shown on the invoice.periodEndstring, required: ISO 8601 end of the usage period. Must be after periodStart.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the subscriptions:write scope.400 Bad Request: A field is missing or invalid, periodEnd is not after periodStart, or a field this endpoint does not accept was sent.400 CURRENCY_MISMATCH: currency is not your store’s currency.400 SUBSCRIPTION_ENDED: The subscription ended more than 45 days ago.404 SUBSCRIPTION_NOT_FOUND: No such subscription in this key’s store. Also the answer when it belongs to another store.409 IDEMPOTENCY_KEY_REUSED: That idempotencyKey was already used with a different amount, description, period or subscription.422 AMOUNT_BELOW_MINIMUM: After conversion into the buyer’s currency the invoice would be under the minimum chargeable amount. Nothing is created.422 USAGE_LIMIT_EXCEEDED: Usage charges on one subscription are capped per 24 hours, 500 in your store currency unless Skalp raised the limit for your store. The message says how much was already charged. Nothing is created.422 CONVERSION_UNAVAILABLE: The subscription is billed in a currency the plan’s price has no ratio for, or one usage charges do not support. Nothing is created.429 Too Many Requests: The key hit its rate limit. Wait until X-RateLimit-Reset and retry with the same idempotencyKey.502 PAYMENT_PROVIDER_ERROR: The payment provider refused a step. The charge is kept: retry with the same idempotencyKey.503 PAYMENT_PROVIDER_UNAVAILABLE: The payment provider is unreachable. The charge is kept: retry with the same idempotencyKey.
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
idstring, required: The Skalp subscription id.
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
401 Unauthorized: Missing or invalid API key.400 SUBSCRIPTION_ENDED: The subscription is already CANCELED or INCOMPLETE_EXPIRED.403 Forbidden: The key is missing the subscriptions:write scope.404 Not Found: No such subscription in this key’s store. Also the answer when it belongs to another store, so a key cannot enumerate ids.
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
statusstring, optional: ACTIVE (the default), DRAFT, PENDING_REVIEW, PROCESSING, PROCESSING_FAILED, REJECTED, ARCHIVED, or all.limitnumber, optional: Page size, default 50, max 100.offsetnumber, optional: Products to skip, default 0. Page until offset reaches the total in the X-Total-Count header.
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
400 Bad Request: status is not one of the values above, limit is outside 1 to 100, or offset is negative.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:read scope.
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
namestring, required: Up to 200 characters. Spaces around it are trimmed and a blank name is refused.pricenumber, required: In your store currency, from 1.00 to 999999 (at least the equivalent of 5.00 USD for a subscription). Before VAT, so a buyer who owes VAT pays it on top, unless the store's pricesIncludeVat is true: then every buyer pays exactly this price. The payment fee and Skalp's commission come out of your price.slugstring, optional: 3 to 100 lowercase letters, digits, hyphens and underscores.descriptionstring, optional: Up to 20000 characters. Cannot be set to a blank text once the product exists.shortDescriptionstring, optional: Up to 500 characters, shown on cards.comparePricenumber, optional: A former price shown struck through. Must be higher than price, up to 999999.pricesobject[] | null, optional: Up to 3 round prices in other currencies, each { currency, price }: EUR, USD, PLN or BRL but not your store currency, 1.00 to 999999, not for COINS products. A buyer whose local currency is listed pays exactly that price; everyone else pays price converted at the day’s rate. The list replaces the old one; [] or null removes them.fulfillmentTypestring, optional: FILE, SERIAL (keys from your pool), GAME (server stores only), SERVICE, DYNAMIC (keys from your server) or LICENSE (license keys Skalp generates). It cannot change once the product has buyers: create a new product instead.billingIntervalstring, optional: WEEK, MONTH, QUARTER, HALF_YEAR or YEAR. Required for a RECURRING product.trialPeriodDaysnumber, optional: 0 to 14. Recurring products only. Each buyer gets the trial once per product.trialPricenumber | null, optional: What the buyer pays for the trial, in your store currency, with or without VAT like price; null makes the trial free and trialPeriodDays 0 clears it. Recurring products in digital stores only, with trialPeriodDays of 1 to 14, at least 0.50 EUR, 0.60 USD, 2.50 PLN or 4.00 BRL and lower than price.categorystring, optional: One of the categories your store type allows, such as Software or Other. Defaults to Other, or Server Product in a server store. A blank value is refused.categoryIdstring, optional: An active marketplace category id.gamestring | null, optional: fivem, minecraft or rust. Leave it out when the product is not for a game. Script stores default to fivem, and server stores ignore it.storeCategoryIdstring | null, optional: One of your store categories, from GET /v1/categories.tagsstring[], optional: Up to 20 tags of up to 50 characters each.imagesstring[], optional: Up to 12 image URLs, each starting with http:// or https://.videoUrlstring, optional: A URL starting with http:// or https://.dynamicUrlstring | null, optional: Your key server URL for DYNAMIC products. Must be public https.licenseDeviceLimitnumber, optional: Devices per LICENSE key, 0 to 100. 0 means no limit. Defaults to 1.licenseDurationDaysnumber | null, optional: How long a one-time LICENSE key stays valid, 1 to 3650 days. Unset means lifetime.deliveryTypestring, optional: Server stores only, and required there: COMMAND (a console command) or SQL (a query that starts with UPDATE, INSERT, DELETE or SELECT).deliveryPayloadstring, optional: Server stores only, and required there: what your server runs after payment, up to 5000 characters, with at least one of {steamhex}, {steamid}, {quantity}, {orderId}, {licenseKey}, {productId}, {productSlug}, {buyerName} or {field_<key>}, the answer to one of the product’s custom fields.revokePayloadstring, optional: Server stores only, optional: what your server runs to take the product back after a full refund, a lost chargeback or a revoked grant, and when a subscription ends. Same deliveryType and placeholders as deliveryPayload, up to 2000 characters. Send an empty string to remove it. The skalp resource receives it in revocations of order.refunded and as revokeCommand of subscription.canceled.visibilitystring, optional: PUBLIC (the default) is listed and buyable. UNLISTED is left off your store page and the marketplace but buyable from its link. ON_HOLD stays listed and cannot be bought. PRIVATE is hidden and sells only through a payment link, POST /v1/checkout/sessions or POST /v1/subscriptions/checkout.sortPrioritynumber, optional: -1000 to 1000, default 0. Higher comes first on your store page.deliveryNotestring | null, optional: Up to 2000 characters shown to the buyer after paying, on the order page and in the confirmation email.termsOfServicestring | null, optional: Up to 10000 characters. When set, every checkout asks the buyer to accept them before paying.warrantyDaysnumber | null, optional: 1 to 3650. Shown on the product page.warrantyTextstring | null, optional: Up to 1000 characters on what the warranty covers.blockVpnboolean, optional: Refuse buyers on a VPN, proxy or Tor. Takes effect once Skalp has an IP reputation service connected.maxRiskScorenumber | null, optional: 0 to 100. Refuse buyers whose IP risk score is higher. Takes effect once Skalp has an IP reputation service connected.customFieldsobject[] | null, optional: Up to 10 questions the buyer answers at checkout, each { key, label, type, required?, placeholder?, options? }. key is lowercase letters, digits and underscores, starting with a letter. type is text, textarea, number, email, checkbox, select (with up to 20 options) or hidden (filled from ?field_<key>= on the product or checkout link, or by customFields of POST /v1/checkout/sessions). The answers come back in purchase.completed and order.paid, in the order items and as {field_<key>} in a delivery command. The list replaces the old one; [] or null removes them.minQuantitynumber, optional: The fewest units a buyer may order, 1 (the default) to 1000. Quantities apply to one-time products with SERIAL, LICENSE, SERVICE or GAME fulfillment; any other product refuses a value other than 1.maxQuantitynumber | null, optional: The most units in one order, up to 1000. null allows up to 1000. Must not be below minQuantity.minLevelnumber | null, optional: Buyers below this level cannot buy the product. 2 to 50, and only when the store has levels on. null removes the lock.minLevelUntilstring | null, optional: When the level lock ends, as a future ISO date. Until then only buyers at minLevel or higher can buy; after it, anyone can. Needs minLevel 2 or higher. null keeps the lock for good.earlyAccessHoursnumber | null, optional: Early access: buyers at minLevel or higher can buy first, everyone else this many hours later, 1 to 720. On a live product the hours start now and come back as minLevelUntil; on a product that is not live yet they start when it goes live. Send it or minLevelUntil, not both. Buyers never see it.volumeDiscountsobject[] | null, optional: Up to 10 tiers, each { quantity, percent }: an order of at least quantity units (2 to 1000) costs percent less (above 0, at most 90). The deepest tier reached applies to the whole line, before coupons and flash sales. The list replaces the old one; [] or null removes them.upsellsobject[] | null, optional: Up to 3 other one-time products of your store offered on this product’s checkout page, each { productId, discountPercent? }. The buyer adds an offer with one click and pays for it in the same order, discountPercent (0 to 90, default 0) less after its quantity discount and before coupons and flash sales. Only one-time products can have offers. The checkout page shows an offer only while it is ACTIVE, PUBLIC or UNLISTED, in stock, and has no terms of service or required custom fields. The list replaces the old one; [] or null removes them.productTypestring, optional: ONE_TIME (the default), RECURRING, or COINS in a server store: a coin pack where the buyer picks the amount. Cannot be changed later.coinConfigobject, optional: COINS only, and required there: { unitPriceCents, minQty, maxQty, step, bonusTiers: [{ thresholdCoins, bonusPercent }] }. unitPriceCents is the net price of one coin in cents and may have up to four decimals. Buyers order minQty to maxQty (at most 1000000) in multiples of step; from thresholdCoins on they get bonusPercent (1 to 100) more coins. price is set to the cost of minQty, which must be at least 1.00. Your server gets the coins with the bonus as {quantity}.submitboolean, optional: Submit it for review right away.
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
400 Bad Request: A missing or blank name, a missing price or one outside 1.00 to 999999, a comparePrice that is not higher than price, a malformed slug, an image or video link without http:// or https://, GAME fulfillment outside a server store, a category your store type does not allow, a storeCategoryId of another store, a recurring product without billingInterval or with SERIAL or DYNAMIC, a store that is not live or has no business address, or a field this endpoint does not accept. A server store needs deliveryType and deliveryPayload, and other stores cannot send them.400 HIGH_RISK_CONTENT: The name or description names a restricted brand or prohibited goods.400 UPSELL_INVALID: An upsell names a product of another store, a subscription or coin product, the product itself or the same product twice, has a discountPercent outside 0 to 90, or there are more than 3; or a product that is not one-time has upsells.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.
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
idstring, required: The product id or its slug.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:read scope.404 Not Found: No product with this id or slug in the key’s store. Also the answer for a product of another store.
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
namestring, optional: Up to 200 characters. A blank name is refused.pricenumber, optional: From 1.00 to 999999 (at least the equivalent of 5.00 USD for a subscription), before VAT unless the store's pricesIncludeVat is true.slugstring, optional: 3 to 100 lowercase letters, digits, hyphens and underscores.descriptionstring, optional: Up to 20000 characters. Cannot be set to a blank text once the product exists.shortDescriptionstring, optional: Up to 500 characters, shown on cards.comparePricenumber | null, optional: A former price shown struck through. Must be higher than price, up to 999999.pricesobject[] | null, optional: Up to 3 round prices in other currencies, each { currency, price }: EUR, USD, PLN or BRL but not your store currency, 1.00 to 999999, not for COINS products. A buyer whose local currency is listed pays exactly that price; everyone else pays price converted at the day’s rate. The list replaces the old one; [] or null removes them.fulfillmentTypestring, optional: FILE, SERIAL (keys from your pool), GAME (server stores only), SERVICE, DYNAMIC (keys from your server) or LICENSE (license keys Skalp generates). It cannot change once the product has buyers: create a new product instead.billingIntervalstring, optional: WEEK, MONTH, QUARTER, HALF_YEAR or YEAR. Required for a RECURRING product.trialPeriodDaysnumber, optional: 0 to 14. Recurring products only. Each buyer gets the trial once per product.trialPricenumber | null, optional: What the buyer pays for the trial, in your store currency, with or without VAT like price; null makes the trial free and trialPeriodDays 0 clears it. Recurring products in digital stores only, with trialPeriodDays of 1 to 14, at least 0.50 EUR, 0.60 USD, 2.50 PLN or 4.00 BRL and lower than price.categorystring, optional: One of the categories your store type allows, such as Software or Other. Defaults to Other, or Server Product in a server store. A blank value is refused.categoryIdstring, optional: An active marketplace category id.gamestring | null, optional: fivem, minecraft or rust. Leave it out when the product is not for a game. Script stores default to fivem, and server stores ignore it.storeCategoryIdstring | null, optional: One of your store categories, from GET /v1/categories.tagsstring[], optional: Up to 20 tags of up to 50 characters each.imagesstring[], optional: Up to 12 image URLs, each starting with http:// or https://.videoUrlstring, optional: A URL starting with http:// or https://.dynamicUrlstring | null, optional: Your key server URL for DYNAMIC products. Must be public https.licenseDeviceLimitnumber, optional: Devices per LICENSE key, 0 to 100. 0 means no limit. Defaults to 1.licenseDurationDaysnumber | null, optional: How long a one-time LICENSE key stays valid, 1 to 3650 days. Unset means lifetime.deliveryTypestring, optional: Server stores only, and required there: COMMAND (a console command) or SQL (a query that starts with UPDATE, INSERT, DELETE or SELECT).deliveryPayloadstring, optional: Server stores only, and required there: what your server runs after payment, up to 5000 characters, with at least one of {steamhex}, {steamid}, {quantity}, {orderId}, {licenseKey}, {productId}, {productSlug}, {buyerName} or {field_<key>}, the answer to one of the product’s custom fields.revokePayloadstring, optional: Server stores only, optional: what your server runs to take the product back after a full refund, a lost chargeback or a revoked grant, and when a subscription ends. Same deliveryType and placeholders as deliveryPayload, up to 2000 characters. Send an empty string to remove it. The skalp resource receives it in revocations of order.refunded and as revokeCommand of subscription.canceled.visibilitystring, optional: PUBLIC (the default) is listed and buyable. UNLISTED is left off your store page and the marketplace but buyable from its link. ON_HOLD stays listed and cannot be bought. PRIVATE is hidden and sells only through a payment link, POST /v1/checkout/sessions or POST /v1/subscriptions/checkout.sortPrioritynumber, optional: -1000 to 1000, default 0. Higher comes first on your store page.deliveryNotestring | null, optional: Up to 2000 characters shown to the buyer after paying, on the order page and in the confirmation email.termsOfServicestring | null, optional: Up to 10000 characters. When set, every checkout asks the buyer to accept them before paying.warrantyDaysnumber | null, optional: 1 to 3650. Shown on the product page.warrantyTextstring | null, optional: Up to 1000 characters on what the warranty covers.blockVpnboolean, optional: Refuse buyers on a VPN, proxy or Tor. Takes effect once Skalp has an IP reputation service connected.maxRiskScorenumber | null, optional: 0 to 100. Refuse buyers whose IP risk score is higher. Takes effect once Skalp has an IP reputation service connected.customFieldsobject[] | null, optional: Up to 10 questions the buyer answers at checkout, each { key, label, type, required?, placeholder?, options? }. key is lowercase letters, digits and underscores, starting with a letter. type is text, textarea, number, email, checkbox, select (with up to 20 options) or hidden (filled from ?field_<key>= on the product or checkout link, or by customFields of POST /v1/checkout/sessions). The answers come back in purchase.completed and order.paid, in the order items and as {field_<key>} in a delivery command. The list replaces the old one; [] or null removes them.minQuantitynumber, optional: The fewest units a buyer may order, 1 (the default) to 1000. Quantities apply to one-time products with SERIAL, LICENSE, SERVICE or GAME fulfillment; any other product refuses a value other than 1.maxQuantitynumber | null, optional: The most units in one order, up to 1000. null allows up to 1000. Must not be below minQuantity.minLevelnumber | null, optional: Buyers below this level cannot buy the product. 2 to 50, and only when the store has levels on. null removes the lock.minLevelUntilstring | null, optional: When the level lock ends, as a future ISO date. Until then only buyers at minLevel or higher can buy; after it, anyone can. Needs minLevel 2 or higher. null keeps the lock for good.earlyAccessHoursnumber | null, optional: Early access: buyers at minLevel or higher can buy first, everyone else this many hours later, 1 to 720. On a live product the hours start now and come back as minLevelUntil; on a product that is not live yet they start when it goes live. Send it or minLevelUntil, not both. Buyers never see it.volumeDiscountsobject[] | null, optional: Up to 10 tiers, each { quantity, percent }: an order of at least quantity units (2 to 1000) costs percent less (above 0, at most 90). The deepest tier reached applies to the whole line, before coupons and flash sales. The list replaces the old one; [] or null removes them.upsellsobject[] | null, optional: Up to 3 other one-time products of your store offered on this product’s checkout page, each { productId, discountPercent? }. The buyer adds an offer with one click and pays for it in the same order, discountPercent (0 to 90, default 0) less after its quantity discount and before coupons and flash sales. Only one-time products can have offers. The checkout page shows an offer only while it is ACTIVE, PUBLIC or UNLISTED, in stock, and has no terms of service or required custom fields. The list replaces the old one; [] or null removes them.statusstring, optional: DRAFT or ARCHIVED.coinConfigobject, optional: COINS only: the same shape as in Create a product. It reprices the product at once.
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
400 Bad Request: A status other than DRAFT or ARCHIVED, a status change the rules above do not allow, productType, a slug another product of the store uses, a fulfillmentType change on a product that already has buyers, a blank name, description or category, or a value that Create a product would also refuse.400 HIGH_RISK_CONTENT: The new name or description names a restricted brand or prohibited goods.400 UPSELL_INVALID: An upsell names a product of another store, a subscription or coin product, the product itself or the same product twice, has a discountPercent outside 0 to 90, or there are more than 3; or a product that is not one-time has upsells.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.404 Not Found: No product with this id or slug in the key’s store. Also the answer for a product of another store.
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
idstring, required: The product id or its slug.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.404 Not Found: No product with this id or slug in the key’s store. Also the answer for a product of another store.
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
idstring, required: The product id or its slug.
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
400 Bad Request: The product is not DRAFT or REJECTED, something its fulfillmentType needs is missing, or seller verification of the store is not complete.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.404 Not Found: No product with this id or slug in the key’s store. Also the answer for a product of another store.
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
gamestring, required: fivem, minecraft or rust, in any letter case.
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
400 Bad Request: game is missing or is not fivem, minecraft or rust.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:read scope.
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
idstring, required: The product id or its slug.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:read scope.404 Not Found: No product with this id or slug in the key’s store. Also the answer for a product of another store.
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
statusstring, optional: AVAILABLE, DELIVERED or REVOKED. Omit it for all keys.limitnumber, optional: Page size, default 50, max 100.offsetnumber, optional: Rows to skip, default 0.
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
400 Bad Request: An unknown status, limit outside 1 to 100, or a negative offset.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.404 Not Found: No product with this id or slug in the key’s store. Also the answer for a product of another store.
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
serialsstring[], optional: Up to 1000 values of at most 512 characters each.textstring, optional: Many values in one string, such as the contents of a file.delimiterstring, optional: How to split text: newline (the default), comma, semicolon, or any other string of up to 10 characters, used as is.
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
400 Bad Request: No values at all, more than 1000 in one call, or a value in serials that is empty or longer than 512 characters.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.404 Not Found: No product with this id or slug in the key’s store. Also the answer for a product of another store.
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
idstring, required: The product id or its slug.serialIdstring, required: The key id from List keys.
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
400 Bad Request: The key is DELIVERED or REVOKED.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.404 Not Found: No such product in the key’s store, or no such key on it.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:read scope.
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
namestring, required: 1 to 60 characters.
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
400 Bad Request: name is missing, empty or longer than 60 characters, or the store already has 20 categories.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.
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
namestring, optional: 1 to 60 characters.sortOrdernumber, optional: 0 to 1000.
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
400 Bad Request: An empty name or one longer than 60 characters, or sortOrder outside 0 to 1000.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.404 Not Found: No such category in the key’s store.
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
idstring, required: The category id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.404 Not Found: No such category in the key’s store.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:read scope.
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
idstring, required: The group id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:read scope.404 Not Found: No such group in the key’s store.
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
titlestring, required: 1 to 80 characters.productIdsstring[], required: Product ids of this store, in display order. An empty list is allowed.descriptionstring | null, optional: Up to 500 characters.imagestring | null, optional: An http or https image URL.sortPrioritynumber, optional: -1000 to 1000, highest first. Defaults to 0.unlistedboolean, optional: Hide the group from your storefront. Defaults to false.
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
400 Bad Request: title is missing or longer than 80 characters, productIds holds more than 50 ids, an id that is not a UUID, an id twice or a product of another store, or image is not an http or https URL. Also sent when the store already has 50 groups.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.
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
titlestring, optional: 1 to 80 characters.productIdsstring[], optional: The new list, in display order.descriptionstring | null, optional: Up to 500 characters.imagestring | null, optional: An http or https image URL.sortPrioritynumber, optional: -1000 to 1000, highest first. Defaults to 0.unlistedboolean, optional: Hide the group from your storefront. Defaults to false.
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
400 Bad Request: title is missing or longer than 80 characters, productIds holds more than 50 ids, an id that is not a UUID, an id twice or a product of another store, or image is not an http or https URL.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.404 Not Found: No such group in the key’s store.
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
idstring, required: The group id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the products:write scope.404 Not Found: No such group in the key’s store.
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
statusstring, optional: PENDING, PROCESSING, COMPLETED, FAILED, REFUNDED, DISPUTED or CANCELED.productIdstring, optional: A product id of this store.emailstring, optional: The buyer’s email. Case does not matter.identifierstring[], optional: A player’s game identity. Repeat it up to 10 times (?identifier=a&identifier=b), each up to 200 characters. Use steam:<hex>, a SteamID64, any kind:value such as discord:123456789012345678, or a bare value. Keeps orders whose buyer or gift recipient connected that Steam account, or where a checkout custom field answer equals the value. Case and a leading kind: prefix on either side are ignored.createdAfterstring, optional: ISO 8601 timestamp. Only orders created at or after it.createdBeforestring, optional: ISO 8601 timestamp. Only orders created before it.updatedSincestring, optional: ISO 8601 timestamp. Only orders changed at or after it.limitnumber, optional: Page size, default 50, max 100.offsetnumber, optional: Rows to skip, default 0. Page until offset reaches total.
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
400 Bad Request: An unknown status, a productId that is not a UUID, a malformed email or date, or limit outside 1 to 100 or a negative offset.400 Bad Request: More than 10 identifier values, or an identifier over 200 characters.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the orders:read scope.
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
idstring, required: The order id. The order number is not accepted here.
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
400 Bad Request: The order is not PENDING.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the orders:write scope.404 Not Found: No such order in the key’s store.
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
idstring, required: The order id or the order number (SKP-XXXX-XXXX-XXXX).
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
400 Bad Request: The order is not COMPLETED, is already DELIVERED, is a gift nobody has claimed yet, or never had a licence issued.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the orders:write scope.404 Not Found: No such order in the key’s store.
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
serialIdsstring[], optional: Up to 100 ids of the delivered keys to replace. Omit it to replace every key delivered on the order. The ids are the serials[].id that Get an order returns.valuesstring[], optional: The new keys, up to 2000 characters each, exactly one for every key you replace, in the order they were delivered. Omit it to draw them from the key pool.reasonstring, optional: Up to 500 characters, kept on the order.
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
400 Bad Request: The order is not COMPLETED or has no delivered keys; values is not one per replaced key, is empty or too long; the product is not a key pool and no values were sent; or a new key already exists for the product.400 OUT_OF_STOCK: The key pool has fewer keys than the order needs.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the orders:write scope.404 Not Found: No such order in the key’s store, or a serialId that was not delivered on it.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the coupons:read scope.
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
idstring, required: The coupon id or its code.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the coupons:read scope.404 Not Found: No such coupon in the key’s store.
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
codestring, required: 3 to 20 letters and digits.discountTypestring, optional: PERCENT (the default) or FIXED. A PERCENT coupon needs discountPercent, a FIXED one needs discountAmount.discountPercentnumber, optional: Above 0 and up to 100.discountAmountnumber, optional: In your store currency, at least 0.01.productIdsstring[], optional: Up to 100 products of this store the coupon is limited to. An empty list means every product.disabledWithVolumeDiscountsboolean, optional: Refuse the coupon on an order that already got a volume discount. Defaults to false.validFromstring, optional: ISO 8601 timestamp. Defaults to now.maxUsesnumber, optional: How many orders may use it in total, at least 1.minPurchaseAmountnumber, optional: The smallest order total it applies to, in your store currency.maxDiscountAmountnumber | null, optional: The most a PERCENT coupon takes off an order, in your store currency. Leave it out or send null for no cap. FIXED coupons ignore it.oneTimePerUserboolean, optional: One use per buyer. Defaults to false.firstOrderOnlyboolean, optional: Works only on a buyer's first order in this store. Defaults to false.excludeSaleItemsboolean, optional: Products in a running flash sale keep their sale price and the coupon applies to the rest of the order. If every product in the order is on sale, the coupon is refused. Defaults to false, and then the buyer gets the bigger of the two discounts.subscriptionDurationstring, optional: How long a subscriber keeps the discount: ONCE (first payment, the default), REPEATING or FOREVER.subscriptionMonthsnumber, optional: With REPEATING, how many months the discount lasts, 1 to 36.validTostring, optional: ISO 8601 timestamp after validFrom. Omit it for a coupon that does not expire.descriptionstring, optional: Up to 500 characters, for your own reference.
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
400 Bad Request: code is not 3 to 20 letters and digits or is taken; the discount is missing or out of range; a product is not in this store; validTo is not after validFrom.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the coupons:write scope.
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
discountTypestring, optional: PERCENT (the default) or FIXED. A PERCENT coupon needs discountPercent, a FIXED one needs discountAmount.discountPercentnumber, optional: Above 0 and up to 100.discountAmountnumber, optional: In your store currency, at least 0.01.productIdsstring[], optional: Up to 100 products of this store the coupon is limited to. An empty list means every product.disabledWithVolumeDiscountsboolean, optional: Refuse the coupon on an order that already got a volume discount. Defaults to false.validFromstring, optional: ISO 8601 timestamp. Defaults to now.maxUsesnumber, optional: How many orders may use it in total, at least 1.minPurchaseAmountnumber, optional: The smallest order total it applies to, in your store currency.maxDiscountAmountnumber | null, optional: The most a PERCENT coupon takes off an order, in your store currency. Leave it out or send null for no cap. FIXED coupons ignore it.oneTimePerUserboolean, optional: One use per buyer. Defaults to false.firstOrderOnlyboolean, optional: Works only on a buyer's first order in this store. Defaults to false.excludeSaleItemsboolean, optional: Products in a running flash sale keep their sale price and the coupon applies to the rest of the order. If every product in the order is on sale, the coupon is refused. Defaults to false, and then the buyer gets the bigger of the two discounts.subscriptionDurationstring, optional: How long a subscriber keeps the discount: ONCE (first payment, the default), REPEATING or FOREVER.subscriptionMonthsnumber, optional: With REPEATING, how many months the discount lasts, 1 to 36.validTostring | null, optional: ISO 8601 timestamp after validFrom. null removes the end date.descriptionstring | null, optional: Up to 500 characters.isActiveboolean, optional: Switch the coupon on or off.
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
400 Bad Request: The discount is out of range, a product is not in this store, or validTo is not after validFrom.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the coupons:write scope.404 Not Found: No such coupon in the key’s store.
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
idstring, required: The coupon id or its code.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the coupons:write scope.404 Not Found: No such coupon in the key’s store.
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
searchstring, optional: Part of the email or the name, up to 254 characters. Case does not matter.limitnumber, optional: Page size, default 50, max 100.offsetnumber, optional: Rows to skip, default 0. Page until offset reaches total.
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
400 Bad Request: search longer than 254 characters, or limit outside 1 to 100 or a negative offset.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the customers:read scope.
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
idstring, required: The customer id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the customers:read scope.404 Not Found: No such customer in the key’s store.
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
emailstring, required: Up to 254 characters.namestring, optional: Up to 120 characters.notestring, optional: Up to 2000 characters, visible only to you.
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
400 Bad Request: email is missing or not an email address, name or note is too long, or the store already has a customer with this email.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the customers:write scope.
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
namestring | null, optional: Up to 120 characters.notestring | null, optional: Up to 2000 characters.
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
400 Bad Request: name or note is too long.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the customers:write scope.404 Not Found: No such customer in the key’s store.
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
idstring, required: The customer id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the customers:write scope.404 Not Found: No such customer in the key’s store.
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
productIdstring, optional: Only the reviews of this product.ratingnumber, optional: Only reviews with this rating, 1 to 5.limitnumber, optional: Page size, default 50, max 100.offsetnumber, optional: Rows to skip, default 0. Page until offset reaches total.
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
400 Bad Request: productId that is not a UUID, a rating outside 1 to 5, or limit outside 1 to 100 or a negative offset.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the feedback:read scope.
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
idstring, required: The feedback id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the feedback:read scope.404 Not Found: No such review in the key’s store.
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
messagestring, required: 1 to 5000 characters.
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
400 Bad Request: message is missing, empty or longer than 5000 characters.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the feedback:write scope.404 Not Found: No such review in the key’s store.
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
reasonstring, required: 10 to 2000 characters: why the review breaks the rules.
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
400 Bad Request: reason is shorter than 10 or longer than 2000 characters, the review already has an open appeal, or it was rejected twice.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the feedback:write scope.404 Not Found: No such review in the key’s store.
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
statusstring, optional: PENDING, SHOP_REPLY, CUSTOMER_REPLY or CLOSED.limitnumber, optional: Page size, default 50, max 100.offsetnumber, optional: Rows to skip, default 0. Page until offset reaches total.
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
400 Bad Request: An unknown status, or limit outside 1 to 100 or a negative offset.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the queries:read scope.
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
idstring, required: The query id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the queries:read scope.404 Not Found: No such query in the key’s store.
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
messagestring, required: 1 to 5000 characters.
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
400 Bad Request: message is missing, blank or longer than 5000 characters.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the queries:write scope.404 Not Found: No such query in the key’s store.
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
idstring, required: The query id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the queries:write scope.404 Not Found: No such query in the key’s store.
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
idstring, required: The query id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the queries:write scope.404 Not Found: No such query in the key’s store.
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
typestring, optional: EMAIL, IP, COUNTRY, ISP, ASN or HOST.
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
400 Bad Request: type is not one of the values above.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the blacklist:read scope.
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
typestring, required: EMAIL, IP, COUNTRY, ISP, ASN or HOST.valuestring, required: Up to 254 characters; ISP names 2 to 100.notestring, optional: Up to 300 characters, for your own reference.
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
400 Bad Request: type is unknown, value is empty or not valid for its type, or the store already has 5000 rules.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the blacklist:write scope.
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
idstring, required: The rule id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the blacklist:write scope.404 Not Found: No such rule on the blacklist of the key’s store.
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
typestring, optional: EMAIL, IP, COUNTRY, ISP, ASN or HOST.
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
400 Bad Request: type is not one of the values above.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the whitelist:read scope.
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
typestring, required: EMAIL, IP, COUNTRY, ISP, ASN or HOST.valuestring, required: Up to 254 characters; ISP names 2 to 100.notestring, optional: Up to 300 characters, for your own reference.
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
400 Bad Request: type is unknown, value is empty or not valid for its type, or the store already has 5000 rules.401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the whitelist:write scope.
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
idstring, required: The rule id.
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
401 Unauthorized: Missing or invalid API key.403 STORE_REQUIRED: The key is not bound to a store.403 Forbidden: The key is missing the whitelist:write scope.404 Not Found: No such rule on the whitelist of the key’s store.
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
order.paid: An order was paid and fulfilled. Neutral alias of purchase.completed with the same payload. A webhook subscribed to only one of the two names never receives the other; a wildcard (*) subscription receives both. For a bundle the order carries one license per product: productId, licenseId and licenseKey name the first one, and the licenses array carries them all. Iterate licenses to grant a whole bundle; it is present on single-product orders too, as a one-element array. A redeemed gift arrives the same way, with the recipient as buyerId and buyerEmail. amount is in major units and metadata is exactly the map you sent at checkout. customFields holds the buyer’s answers to the product’s checkout questions, by field key. quantity is the number of units bought (or coins, for a coin pack): a SERIAL order carries that many serials and a LICENSE order that many licenses. granted is true when a Skalp admin gave the product away for free: amount is 0, and you deliver it like any other order.purchase.completed: Legacy name for the same event as order.paid. Kept for existing integrations; new ones should prefer order.paid.order.created: An order was placed. data is the order as Get an order shows it, with status the status it was created in, usually PENDING, and previousStatus null. A PENDING order is not paid: deliver on order.paid. The order events from here to order.replaced are not in a new webhook’s default list: subscribe to them by name or with *.order.updated: An order changed status, for example PENDING to COMPLETED or COMPLETED to REFUNDED. data is the order with status the new status and previousStatus the old one. Every change is sent, also the ones that have their own event, so subscribe to that event when it is the only one you need.order.canceled: An order became CANCELED, for example through POST /v1/orders/:id/cancel. Sent together with order.updated and with the same payload.order.replaced: Delivered keys were replaced: with POST /v1/orders/:id/replacement, in the dashboard or on a warranty claim. data is the order plus reason and replacements, one { productId, productName, oldSerialId, newSerialId, value } per swapped key, where value is the new key. The old key no longer counts; update your own system.order.refunded: An order was refunded, in part or in full. It is also sent with refundId null when a Skalp admin takes back a product they gave away (reason grant_revoked, amount 0, granted true) and when a chargeback is lost (reason dispute_lost). When fullRefund is true, take back in game what the order granted: revocations carries the filled-in revoke command of every product of the order that has one, and the skalp resource runs them once for what it delivered.order.disputed: A chargeback or dispute was opened on an order. Neutral alias of account.suspend (a legacy name) with the same payload and the same single-name or both-names delivery rule as order.paid.order.expired: A one-time product passed its access end date. Sent once for each paid line of it that was not refunded, and a retry carries the same idempotencyKey. Take back in game what the line granted: revocations carries the product’s filled-in revoke command. Not in a new webhook’s default list: subscribe to it by name or with *.account.suspend: Legacy name of order.disputed, sent with it and with the same payload. steamHex and identifier name the buyer's game account when the order has one, and banned says whether Skalp banned it from your store: take back in game what the order granted, including coins.account.restore: A ban on a game account was lifted: you lifted it in the dashboard, or the dispute behind it was won or withdrawn. data carries identifier, the same value as steamHex, and reason ban_lifted. Give back what account.suspend took away.product.created: A product was created, in the dashboard or with POST /v1/products. It starts as a DRAFT. The three product events are not in a new webhook's default list: subscribe to them by name or with *.product.updated: A product was edited, submitted for review or archived, in the dashboard or through the API, or Skalp's review moved it on. status is the state after the change: PROCESSING once the review approves it, then ACTIVE when it goes live, PROCESSING_FAILED when its files could not be processed, or REJECTED. rejectionReason is not in the event; read the product for it.product.stock: The number of available keys of a product changed: keys were added or deleted, or a sale took one. stock is the new count, previousStock the old one and change the difference, negative when keys left the pool.query.created: A customer opened a query with your store. data carries queryId, title, status, customerEmail, productId and orderId, each of the last two null when the query is not about one, and message, the first message with its id, content and createdAt. Answer it with the queries endpoints. Not in a new webhook’s default list.query.replied: A customer wrote again in a query. Same payload as query.created, with the new message. Your own replies do not send an event.feedback.received: A buyer reviewed one of your products. data carries feedbackId, productId, productName, rating, title, content, customerName and createdAt. Reply or appeal with the feedback endpoints. Not in a new webhook’s default list.subscription.created: A subscription started. Grant access on this event, including when status is TRIALING, which is what a trial looks like; subscription.trial_started follows it. There is no renewal until the trial converts.subscription.trial_started: A subscription began with a trial, free or paid. Sent right after subscription.created and only when status is TRIALING; trialEnd says when the trial converts. Same payload as subscription.created, with the idempotencyKey of that event followed by :trial_started.subscription.trial_ended: A trial is over and the subscription moved on. If the first payment went through, status is ACTIVE and the event arrives with subscription.updated. If it failed, subscription.canceled follows and access ends. Same payload as subscription.created, with the idempotencyKey of that change followed by :trial_ended.subscription.upcoming: A renewal is coming up and Skalp has emailed the customer a reminder. amountDue is what the card will be charged, in major units, and nextPaymentAttempt when. Use it to warn your own users. Same payload as subscription.created plus those two fields.subscription.renewed: A billing period was paid and currentPeriodEnd moved forward. Sent only for real renewals: the first invoice is covered by subscription.created and a mid-cycle change by subscription.updated.subscription.updated: Something changed that is not a renewal or a cancellation: the plan, the cancel-at-period-end flag, the period end or the externalRef. Same payload as subscription.created.subscription.checkout_expired: A buyer started a subscription but never completed the first payment, and the checkout expired. No subscription exists, so there is nothing to revoke. Offer the buyer a new checkout. Sent once per checkout, and never for an attempt the buyer replaced by starting over. idempotencyKey is checkout_expired: followed by checkoutId.subscription.past_due: A payment failed. If graceUntil is set, a renewal went unpaid and the store gives the buyer time to pay: keep access until graceUntil. Paid in time, the status goes back to ACTIVE; otherwise subscription.canceled arrives. If graceUntil is null, another charge failed, for example a plan change: keep access until it is paid or subscription.canceled arrives. Same payload as subscription.created plus invoiceId, attemptCount and nextPaymentAttempt.subscription.canceled: The subscription has ended. cancelAtPeriodEnd on subscription.updated is the earlier signal: the customer has asked to stop but is still paid up until currentPeriodEnd. After a failed renewal it arrives at once, or when graceUntil passes if the store gives time to pay. A product with a revoke command sends it filled in as revokeCommand, next to deliveryType; the skalp resource runs it.subscription.refunded: Money for one invoice of the subscription went back to the customer: a renewal, the first payment or a usage charge. Sent once per refund, with the running total in amountRefunded. It does not end the subscription on its own: cancel it too if access should stop, and subscription.canceled follows.subscription.disputed: The customer opened a chargeback on an invoice of the subscription (disputeStatus open), and again when it is decided (won or lost). Skalp cancels the subscription right away when the dispute opens, so subscription.canceled with cancelReason dispute follows: revoke access then. won and lost only tell you how the money ended; the subscription does not come back.customer.level_up: A buyer reached a higher level in your store, from a purchase, a renewal or XP you gave. tier is the level they are on now. Not in the default list: subscribe to it by name.customer.level_down: A buyer dropped a level after a refund, a chargeback or XP you took away. Unused gift coupons of higher levels stop working. Same payload as customer.level_up.credits.granted: Credits landed on a customer: a purchase, a renewal, a grant from the API or an adjustment in the dashboard. source says which: order, subscription, api or manual. Not in the default list: subscribe to it by name.credits.depleted: A customer’s balance on a meter reached zero or went below it. Sent once each time it crosses zero, not for every event after. Stop serving them unless their plan bills extra usage. Not in the default list: subscribe to it by name.webhook.test: Sent by the dashboard's test button (API keys, your webhook, Test). Not a real order event.
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.
- License key: Skalp generates the key. Check it from your software with the Licensing API below, which binds it to the buyer's machine, or save it from order.paid in your own licensing system. Works with subscriptions.
- Keys from your pool: You upload keys you generated and each sale takes the next one. Sales stop when the pool is empty, so keep it stocked. Not for subscriptions.
- Keys from your server: On each sale Skalp asks your server for a new key. Use it when your own system has to issue the key, for example signed or offline-checked keys. Not for subscriptions.
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
keystring, required: The license key the buyer entered.productIdstring, optional: Your product id. When sent, a key of another product in your store fails with PRODUCT_MISMATCH.hardwareIdstring, optional: A stable id of the machine, up to 256 characters. Skalp stores only its SHA-256 hash. Without it, no seat is taken or checked.
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
NOT_FOUND: No key like this exists in the store of the API key.PRODUCT_MISMATCH: The key belongs to a different product than productId.LICENSING_DISABLED: The product does not use the "License key" delivery.REVOKED: The order was refunded or lost a chargeback.SUSPENDED: A chargeback is open, or a gift was not redeemed yet.EXPIRED: The paid period or the "Valid for" days are over.SUBSCRIPTION_INACTIVE: The subscription behind the key has ended.DEVICE_LIMIT_REACHED: A new hardwareId, and every seat is taken. Reset the devices to move the key.403 Forbidden: The API key is not bound to a store or lacks licenses:validate.
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
keystring, required: The license key.hardwareIdstring, optional: The machine to bind after the reset.
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
404 Not Found: No key like this exists in the store of the API key.403 Forbidden: The API key is not bound to a store or lacks licenses:write.
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
licenseKeystring, required: The license key, in the form SKALP-XXXX-XXXX-XXXX-XXXX.serverKeystring, optional: A value unique to this installation. Each value shows up as its own server in the dashboard.fingerprintobject, optional: hostname and maxClients of the server. The buyer and the seller see them as the server's name and slots.
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
INVALID_FORMAT: The key is not in the SKALP-XXXX-XXXX-XXXX-XXXX form.INVALID_LICENSE: No license with this key exists.LICENSE_INACTIVE: The license is suspended or revoked.LICENSE_EXPIRED: The license has expired.PRODUCT_INACTIVE: The product is no longer available.SERVER_NOT_ACTIVATED: The request comes from an IP that is not the license IP.RATE_LIMITED: Too many requests or failed attempts for this license and server.400 Bad Request: licenseKey is missing.
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
licenseKeystring, required: The license key.
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
valid: false: The license is missing, inactive or expired, or this IP is not the license IP.400 Bad Request: licenseKey is missing.
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
serverIpstring, required: Public IP of the server.serverNamestring, optional: A label shown in the dashboard.
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
IP_CHANGE_LIMIT: No free moves left this year. The seller has to approve this one.IP_RESET_COOLDOWN: The last move was less than 7 days ago.400 Bad Request: The license is not active or already runs on this IP.401 Unauthorized: Not signed in.403 Forbidden: The license belongs to another account.404 Not Found: No license with this id.
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
idstring, required: The license id.
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
401 Unauthorized: Not signed in.403 Forbidden: The license belongs to another account.404 Not Found: No license with this id.
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)