Skip to content

StrataSim Shop API

Read your studio’s sales, payouts and products from your own systems.

Read only, JSON over HTTPS, and version 1 since October 14, 2026.

https://api.stratasim.shop/v1

Before you start

Keys come from the API tab in the vendor console, made by the studio’s owner or an admin. The API reads; it never moves money or changes anything, and no key can. Every address starts with https://api.stratasim.shop/v1.

Call it from your server. A key belongs where your other secrets live, never in a browser or an app you ship, so the API sends no CORS headers and a browser cannot call it. The samples on this page read the key from STRATASIM_API_KEY.

Pick a language once, beside any sample, and every sample on the page follows.

Your first request
curl "https://api.stratasim.shop/v1/studio" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"

Keys and scopes

A key starts with ssv_ and goes in the Authorization header as a bearer token, over HTTPS only. A request over plain HTTP, or with a key anywhere in its address, is refused and that key is revoked at once, because a key that has crossed the network in the clear or sat in a log is no longer a secret.

Each key reads what you chose when you made it.

Sales

sales:read

Every sale, refund and chargeback, with the license key it issued, masked.

List sales, Retrieve a sale, Summarize sales, Read the ledger, Look up license keys

Payouts

payouts:read

Your balance, release dates, payouts and reverse invoices.

Your balance, List payouts, Retrieve a payout, A payout’s lines, A payout’s reverse invoice

Products

products:read

Your listings and their license key stock.

List products, Retrieve a product, License key stock

A key stops working when you revoke it, when it reaches the expiry you chose, when the person who made it stops being an owner or admin of the studio, and when they reset their password (a password change in their settings leaves it alone). StrataSim may also revoke a key it believes is exposed or misused. Each owner and admin is emailed when a key is made or revoked. A studio can have ten working keys.

Every request carries
Authorization: Bearer ssv_your_key

Buyers and license keys

For each sale you get the buyer’s billing country and a customer number that is yours alone: the same buyer has the same number at your studio and a different one at every other, so you can see repeat customers without learning who they are. A sale in an order that also bought from another studio has no customer number, so two studios can never match theirs through an order they share. You never get a name, an email address, a postal address or anything else about the buyer, and your Seller Agreement says not to try to find out.

Each sale also carries the license key it issued from your pool with its middle hidden (four characters at each end, fewer for a short key), and whether it is still good. When a sale is refunded its key is void: if your own system activates keys, switch that one off. A chargeback does not void the key, since a dispute can still be won, so act on a sale whose status is charged_back too. To check whole keys, send them to the lookup: it answers for your own keys only, matches them exactly, and never sends a whole key back.

What a sale says about its buyer
{
  "order": "SS-7K2M-9QXB",
  "country": "DE",
  "customer": "cus_3f9a1c27b4e06d58a2c19e7f",
  "licence_key": {
    "masked": "NL7Q...8XK2",
    "status": "issued"
  }
}

Keeping your books in step

The ledger is the record of your money. GET /v1/ledger returns every entry once, oldest first, and an entry never changes after it appears. Start with since, keep the next_cursor it returns, and every few minutes ask again with that cursor. Entries appear five minutes after they are written, so nothing is still being written when you read it.

Payouts move between states, so read them from GET /v1/payouts and read again any still processing. Your books then reconcile:

Every ledger entry − every payout that did not fail = available + on hold

A payout still processing is in that sum and in in_payout_cents, so add it back only if you compare against that too. The balance counts entries the moment they are written and the feed five minutes later, so compare at a quiet moment, or as of settled_through.

A ledger sync
# The first run starts from a moment you choose.
curl "https://api.stratasim.shop/v1/ledger?since=2026-10-01T00:00:00Z&limit=200" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"

# Every run after passes the next_cursor you stored.
curl "https://api.stratasim.shop/v1/ledger?cursor=$CURSOR&limit=200" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"

Time, money and tax

Times are RFC 3339 in UTC. Money is whole cents in US dollars, in fields ending _cents, whatever currency the buyer paid in, because that is how you are paid. Tax and VAT are StrataSim’s as merchant of record and never appear in these figures. An available balance can go below zero after a refund of money already paid out; it nets off your next sales.

The studio statement in the vendor console is kept in Mountain Time, so a month there can differ by a few hours of sales from a month here.

A $39.99 sale, in cents
{
  "sold_at": "2026-10-12T18:04:00Z",
  "gross_cents": 3999,
  "commission_rate_bps": 1500,
  "commission_cents": 600,
  "net_cents": 3399,
  "currency": "usd",
  "available_at": "2026-10-26T18:04:17Z"
}

Pages and cursors

Lists return data, has_more and next_cursor. Pass the cursor back to get the next page. Cursors are signed: one that has been edited, or that came from another list, is refused.

If we ever change the secret they are signed with, stored cursors are refused too: start the ledger again with since set to the last created_at you stored, and skip the ids you already have. A first ledger call with since that finds nothing yet returns no cursor; ask again with the same since.

Every list
{
  "object": "list",
  "data": [ ... ],
  "has_more": true,
  "next_cursor": "djF8c2FsZXN8MjAyNi0xMC0xMlQx..."
}

Errors

Every error has one shape, and its message is a plain sentence about what to do. Quote the request id, also in the Request-Id header, if you write to us about a request.

400

invalid_paramA parameter is malformed. The error names it in param.

invalid_cursorThe cursor was edited, belongs to another list, or predates a change of our signing secret. Start again from the last created_at you stored.

range_too_longA summary over more than 366 days.

key_in_urlA key was in the address. That key is being revoked; make a new one.

401

missing_keyNo Authorization header.

invalid_keyThe key is not valid, or no longer works.

key_expiredThe key reached the expiry you chose.

403

insufficient_scopeThe key cannot read that. The error names the scope it needs.

https_requiredA request over plain HTTP. Any key it carried is being revoked.

404

not_foundNo such object, or not yours: the two answer the same.

invoice_not_issuedThat payout’s reverse invoice has not been issued yet.

405

method_not_allowedThat method is not served here.

413

body_too_largeA lookup body over 32 KB.

429

rate_limitedToo many requests. Wait a minute (Retry-After: 60).

500

server_errorOur fault. It is logged with the request id.

503

unavailableBriefly unavailable. Try again shortly.

An error403
{
  "error": {
    "type": "permission",
    "code": "insufficient_scope",
    "message": "This key cannot read that. It needs the payouts:read scope.",
    "scope": "payouts:read",
    "request_id": "req_Xy3kP0aQ2LmN"
  }
}

Rate limits

120requests a minute for each key

240a minute for your studio, across its keys

30a minute each for sales summaries and key lookups

Past a limit the answer is 429 with Retry-After: 60. A backfill of ten thousand ledger entries takes 50 requests.

Versioning

The version is in the address. Inside v1 changes only add: new endpoints, new optional parameters, new fields and new values in a list of states or kinds, so ignore what you do not know. Nothing is removed or renamed, and no field changes its type or meaning. A change that would break that becomes v2, beside v1, and v1 stays for at least six months, with every studio that has a key told by email.

The full contract, generated from the code that answers, is at https://api.stratasim.shop/v1/openapi.json. Import it into Postman, Insomnia or a client generator.

Changelog

October 14, 2026Version 1.

Studio

Who the key belongs to, and the terms your sales are made on.

GET /v1/studio

Any key can call this.

Your studio, the terms in force for new sales, and the key making the call. A good first request: it proves the key works.

Request
curl "https://api.stratasim.shop/v1/studio" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "studio",
  "id": "2d4f6a8c-0e1f-4b3a-9c5d-7e8f9a0b1c2d",
  "slug": "northlight",
  "name": "Northlight",
  "status": "approved",
  "currency": "usd",
  "time_zone": "UTC",
  "commission_rate_bps": 1500,
  "payout_hold_days": 14,
  "minimum_payout_cents": 2500,
  "key": {
    "object": "api_key",
    "id": "4e5f6a7b-8c9d-4e0f-a1b2-c3d4e5f6a7b8",
    "name": "Accounting sync",
    "scopes": [
      "sales:read",
      "payouts:read"
    ],
    "hint": "9fQx",
    "created_at": "2026-10-14T16:20:05Z",
    "expires_at": null
  }
}

Sales

Every sale and what became of it, the totals, the ledger, and your license keys.

GET /v1/sales

Needs sales:read.

Every sale, newest first: what the buyer paid, our commission, your share, what was taken back, where the money is now, and the license key the sale issued, masked.

Parameters

from, toRFC 3339 instant
When the order was paid, from inclusive, to exclusive.
productid
Only this product.
orderorder reference
Only this order, as the buyer quotes it.
statusstring
on_hold, available, in_payout, paid_out, payout_reversed, refunded or charged_back. A sale is refunded or charged_back once its whole share is taken back, else wherever its money is.
limit1 to 100
Page size, 50 if you leave it out.
cursorstring
The next_cursor of the page before.
Request
curl "https://api.stratasim.shop/v1/sales?status=available&limit=50" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "list",
  "data": [
    {
      "object": "sale",
      "id": "5f0b2c64-1c9e-4a0e-9d55-2a7e3c1b8f41",
      "order": "SS-7K2M-9QXB",
      "sold_at": "2026-10-12T18:04:00Z",
      "product": {
        "id": "b1e7c2a0-55d4-4f7e-8a35-0c9d2e6f1a77",
        "title": "Northlight Cessna 208"
      },
      "country": "DE",
      "customer": "cus_3f9a1c27b4e06d58a2c19e7f",
      "gross_cents": 3999,
      "commission_rate_bps": 1500,
      "commission_cents": 600,
      "net_cents": 3399,
      "reversed_cents": 0,
      "currency": "usd",
      "status": "on_hold",
      "available_at": "2026-10-26T18:04:17Z",
      "payout": null,
      "licence_key": {
        "masked": "NL7Q...8XK2",
        "status": "issued"
      }
    }
  ],
  "has_more": true,
  "next_cursor": "djF8c2FsZXN8MjAyNi0xMC0xMlQxODowNDoxNy4xMjM0NTZafDVmMGIyYzY0.Y2hlY2s"
}

GET /v1/sales/{id}

Needs sales:read.

One sale and every ledger entry against it: the sale, any refund or chargeback, and any chargeback a won dispute gave back.

Path

idid
The sale’s id from /v1/sales.
Request
curl "https://api.stratasim.shop/v1/sales/5f0b2c64-1c9e-4a0e-9d55-2a7e3c1b8f41" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "sale",
  "id": "5f0b2c64-1c9e-4a0e-9d55-2a7e3c1b8f41",
  "order": "SS-7K2M-9QXB",
  "sold_at": "2026-10-12T18:04:00Z",
  "product": {
    "id": "b1e7c2a0-55d4-4f7e-8a35-0c9d2e6f1a77",
    "title": "Northlight Cessna 208"
  },
  "country": "DE",
  "customer": "cus_3f9a1c27b4e06d58a2c19e7f",
  "gross_cents": 3999,
  "commission_rate_bps": 1500,
  "commission_cents": 600,
  "net_cents": 3399,
  "reversed_cents": 0,
  "currency": "usd",
  "status": "on_hold",
  "available_at": "2026-10-26T18:04:17Z",
  "payout": null,
  "licence_key": {
    "masked": "NL7Q...8XK2",
    "status": "issued"
  },
  "entries": [
    {
      "object": "ledger_entry",
      "id": "0c3d8e1f-7a6b-4c2d-9e5f-1a2b3c4d5e6f",
      "kind": "sale",
      "amount_cents": 3399,
      "currency": "usd",
      "created_at": "2026-10-12T18:04:17Z",
      "available_at": "2026-10-26T18:04:17Z",
      "sale": "5f0b2c64-1c9e-4a0e-9d55-2a7e3c1b8f41",
      "order": "SS-7K2M-9QXB",
      "product": {
        "id": "b1e7c2a0-55d4-4f7e-8a35-0c9d2e6f1a77",
        "title": "Northlight Cessna 208"
      }
    }
  ]
}

GET /v1/sales/summary

Needs sales:read.

Totals for a range, optionally grouped by day, month, product or country. A refund counts against the sale it refunds.

Parameters

from, toRFC 3339 instant
to is now if you leave it out; from is the start of the UTC month the range ends in. At most 366 days.
productid
Only this product.
group_bystring
day, month, product or country.
Request
curl "https://api.stratasim.shop/v1/sales/summary?from=2026-10-01T00:00:00Z&group_by=country" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "sales_summary",
  "from": "2026-10-01T00:00:00Z",
  "to": "2026-10-14T16:30:00Z",
  "currency": "usd",
  "group_by": "country",
  "totals": {
    "sales": 41,
    "reversed_sales": 1,
    "gross_cents": 163959,
    "commission_cents": 24594,
    "net_cents": 139365,
    "reversed_cents": 3399
  },
  "groups": [
    {
      "key": "US",
      "label": "United States",
      "sales": 19,
      "reversed_sales": 0,
      "gross_cents": 75981,
      "commission_cents": 11397,
      "net_cents": 64584,
      "reversed_cents": 0
    }
  ]
}

GET /v1/ledger

Needs sales:read.

Every entry in your ledger, oldest first, each exactly once: sales, refunds, chargebacks, chargebacks given back and adjustments. The way to keep your books in step.

Parameters

sinceRFC 3339 instant
Where to start, for the first call only. After that, use the cursor.
limit1 to 200
Page size, 100 if you leave it out.
cursorstring
The next_cursor of the call before. Always set once an entry has been returned; an empty page gives back the cursor you sent.
Request
curl "https://api.stratasim.shop/v1/ledger?since=2026-10-01T00:00:00Z&limit=200" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "list",
  "data": [
    {
      "object": "ledger_entry",
      "id": "0c3d8e1f-7a6b-4c2d-9e5f-1a2b3c4d5e6f",
      "kind": "sale",
      "amount_cents": 3399,
      "currency": "usd",
      "created_at": "2026-10-12T18:04:17Z",
      "available_at": "2026-10-26T18:04:17Z",
      "sale": "5f0b2c64-1c9e-4a0e-9d55-2a7e3c1b8f41",
      "order": "SS-7K2M-9QXB",
      "product": {
        "id": "b1e7c2a0-55d4-4f7e-8a35-0c9d2e6f1a77",
        "title": "Northlight Cessna 208"
      }
    }
  ],
  "has_more": true,
  "next_cursor": "djF8c2FsZXN8MjAyNi0xMC0xMlQxODowNDoxNy4xMjM0NTZafDVmMGIyYzY0.Y2hlY2s",
  "settled_through": "2026-10-14T16:25:00Z"
}

POST /v1/licence-keys/lookup

Needs sales:read.

Look up your own license keys by their text: whether each is one of yours, whether it is still good, and the sale it went with. A key must match exactly, letter case included; spaces at either end are ignored. Up to 100 at a time, in the body, never in the address, and 30 calls a minute.

Body

keyslist of strings
In a JSON body: {"keys": ["NL7Q-...", "..."]}.
Request
curl -X POST "https://api.stratasim.shop/v1/licence-keys/lookup" \
  -H "Authorization: Bearer $STRATASIM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keys": ["NL7Q-4M2P-Z9RT-8XK2"]}'
Response200
{
  "object": "list",
  "has_more": false,
  "next_cursor": null,
  "data": [
    {
      "object": "licence_key_lookup",
      "masked": "NL7Q...8XK2",
      "found": true,
      "status": "issued",
      "product": {
        "id": "b1e7c2a0-55d4-4f7e-8a35-0c9d2e6f1a77",
        "title": "Northlight Cessna 208"
      },
      "sale": {
        "id": "5f0b2c64-1c9e-4a0e-9d55-2a7e3c1b8f41",
        "order": "SS-7K2M-9QXB",
        "sold_at": "2026-10-12T18:04:00Z",
        "country": "DE",
        "customer": "cus_3f9a1c27b4e06d58a2c19e7f"
      }
    }
  ]
}

Payouts

What is yours, what is on hold, and every payout with its reverse invoice.

GET /v1/balance

Needs payouts:read.

What is yours now, what is on hold and the days it releases, what is on its way to you, and how your payouts are set.

Request
curl "https://api.stratasim.shop/v1/balance" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "balance",
  "currency": "usd",
  "available_cents": 6798,
  "on_hold_cents": 23793,
  "in_payout_cents": 0,
  "paid_out_cents": 412880,
  "next_release": {
    "date": "2026-10-16",
    "amount_cents": 3399
  },
  "fully_available_on": "2026-10-27",
  "releases": [
    {
      "date": "2026-10-16",
      "amount_cents": 3399,
      "sales": 1
    }
  ],
  "payouts_enabled": true,
  "schedule": {
    "mode": "automatic",
    "threshold_cents": 5000,
    "minimum_cents": 2500,
    "next_request_at": null
  }
}

GET /v1/payouts

Needs payouts:read.

Every payout, newest first, with what it was made of and its reverse invoice once you have issued it.

Parameters

statusstring
processing, paid, failed or reversed.
limit1 to 100
Page size, 25 if you leave it out.
cursorstring
The next_cursor of the page before.
Request
curl "https://api.stratasim.shop/v1/payouts?status=paid" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "list",
  "data": [
    {
      "object": "payout",
      "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
      "status": "paid",
      "amount_cents": 12988,
      "currency": "usd",
      "requested_by": "schedule",
      "created_at": "2026-10-10T00:05:02Z",
      "paid_at": "2026-10-10T00:05:03Z",
      "period": {
        "from": "2026-09-25",
        "to": "2026-10-09"
      },
      "sales": 4,
      "earned_cents": 13596,
      "deducted_cents": -608,
      "transfer": "tr_1QxYzAbCdEfGhIjK",
      "invoice": {
        "number": "NORTHLIGHT-RI-0003",
        "issued_at": "2026-10-10T09:12:44Z"
      }
    }
  ],
  "has_more": false,
  "next_cursor": null
}

GET /v1/payouts/{id}

Needs payouts:read.

One payout and the totals of what it settled. balanced says the entries add up to the amount; it is null for a failed payout, whose entries went back to your balance.

Path

idid
The payout’s id.
Request
curl "https://api.stratasim.shop/v1/payouts/9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "payout",
  "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "status": "paid",
  "amount_cents": 12988,
  "currency": "usd",
  "requested_by": "schedule",
  "created_at": "2026-10-10T00:05:02Z",
  "paid_at": "2026-10-10T00:05:03Z",
  "period": {
    "from": "2026-09-25",
    "to": "2026-10-09"
  },
  "sales": 4,
  "earned_cents": 13596,
  "deducted_cents": -608,
  "transfer": "tr_1QxYzAbCdEfGhIjK",
  "invoice": {
    "number": "NORTHLIGHT-RI-0003",
    "issued_at": "2026-10-10T09:12:44Z"
  },
  "totals": {
    "sales": 4,
    "gross_cents": 15996,
    "commission_cents": 2400,
    "earned_cents": 13596,
    "reversal_cents": -608,
    "adjustment_cents": 0,
    "net_cents": 12988
  },
  "balanced": true
}

GET /v1/payouts/{id}/lines

Needs payouts:read.

Every entry a payout settled, in the order they were written: the same lines as its reverse invoice, a page at a time.

Parameters

idid
The payout’s id.
limit1 to 200
Page size, 100 if you leave it out.
cursorstring
The next_cursor of the page before.
Request
curl "https://api.stratasim.shop/v1/payouts/9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d/lines" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "list",
  "data": [
    {
      "object": "payout_line",
      "ledger_entry": "0c3d8e1f-7a6b-4c2d-9e5f-1a2b3c4d5e6f",
      "date": "2026-09-25T13:41:00Z",
      "kind": "sale",
      "order": "SS-2H8D-K4PZ",
      "product": "Northlight Cessna 208",
      "country": "US",
      "gross_cents": 3999,
      "commission_cents": 600,
      "amount_cents": 3399
    }
  ],
  "has_more": false,
  "next_cursor": null
}

GET /v1/payouts/{id}/invoice

Needs payouts:read.

The payout’s reverse invoice, exactly as issued: your invoice to StrataSim Designs, LLC for what it bought from you. Issue it once in the vendor console; until then this answers invoice_not_issued.

Path

idid
The payout’s id.
Request
curl "https://api.stratasim.shop/v1/payouts/9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d/invoice" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "reverse_invoice",
  "number": "NORTHLIGHT-RI-0003",
  "issued_at": "2026-10-10T09:12:44Z",
  "payout": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
  "studio_name": "Northlight",
  "issuer": {
    "name": "Northlight Simulations Ltd",
    "address_lines": [
      "12 Harbor Road",
      "Bristol BS1 4XE"
    ],
    "country": "GB",
    "registration": {
      "label": "company number",
      "number": "12345678"
    },
    "description": null,
    "contact": null
  },
  "buyer": {
    "name": "StrataSim Designs, LLC",
    "address_lines": [
      "7533 S Center View Ct, Ste N",
      "West Jordan, Utah 84084"
    ],
    "country": "US",
    "registration": null,
    "description": "a Utah limited liability company",
    "contact": null
  },
  "note": null,
  "period": {
    "from": "2026-09-25",
    "to": "2026-10-09"
  },
  "lines": [
    {
      "ledger_entry": "0c3d8e1f-7a6b-4c2d-9e5f-1a2b3c4d5e6f",
      "date": "2026-09-25T13:41:00Z",
      "kind": "sale",
      "order": "SS-2H8D-K4PZ",
      "product": "Northlight Cessna 208",
      "country": "US",
      "gross_cents": 3999,
      "commission_cents": 600,
      "amount_cents": 3399
    }
  ],
  "totals": {
    "sales": 4,
    "gross_cents": 15996,
    "commission_cents": 2400,
    "earned_cents": 13596,
    "reversal_cents": -608,
    "adjustment_cents": 0,
    "net_cents": 12988
  },
  "balanced": true,
  "currency": "usd"
}

Products

Your listings and how many license keys each has left.

GET /v1/products

Needs products:read.

Your listings in every status, newest first.

Parameters

limit1 to 100
Page size, 50 if you leave it out.
cursorstring
The next_cursor of the page before.
Request
curl "https://api.stratasim.shop/v1/products" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "list",
  "data": [
    {
      "object": "product",
      "id": "b1e7c2a0-55d4-4f7e-8a35-0c9d2e6f1a77",
      "slug": "northlight-cessna-208",
      "url": "https://stratasim.shop/p/northlight-cessna-208",
      "title": "Northlight Cessna 208",
      "kind": "aircraft",
      "status": "published",
      "price_cents": 3999,
      "currency": "usd",
      "sales_count": 212,
      "rating": {
        "average": 4.8,
        "count": 37
      },
      "key_delivery": "pool",
      "keys_available": 488,
      "current_version": "1.4.2",
      "file_count": 2,
      "updated_at": "2026-10-08T21:30:00Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

GET /v1/products/{id}

Needs products:read.

One listing: its text, simulators, price and every version.

Path

idid
The product’s id.
Request
curl "https://api.stratasim.shop/v1/products/b1e7c2a0-55d4-4f7e-8a35-0c9d2e6f1a77" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "product",
  "id": "b1e7c2a0-55d4-4f7e-8a35-0c9d2e6f1a77",
  "slug": "northlight-cessna-208",
  "url": "https://stratasim.shop/p/northlight-cessna-208",
  "title": "Northlight Cessna 208",
  "kind": "aircraft",
  "status": "published",
  "price_cents": 3999,
  "currency": "usd",
  "sales_count": 212,
  "rating": {
    "average": 4.8,
    "count": 37
  },
  "key_delivery": "pool",
  "keys_available": 488,
  "current_version": "1.4.2",
  "file_count": 2,
  "updated_at": "2026-10-08T21:30:00Z",
  "subtitle": "The workhorse, done properly",
  "description_md": "A study-level Caravan for MSFS 2024.",
  "sims": [
    {
      "code": "msfs2024",
      "note": null
    }
  ],
  "sku": "NL-208",
  "compare_at_cents": null,
  "is_free": false,
  "cover_url": "https://stratasim.shop/media/products/nl208/cover.jpg?w=800",
  "submitted_at": "2026-09-02T10:00:00Z",
  "published_at": "2026-09-03T15:00:00Z",
  "versions": [
    {
      "id": "7b8c9d0e-1f2a-4b3c-8d4e-5f6a7b8c9d0e",
      "version": "1.4.2",
      "status": "published",
      "is_current": true,
      "released_at": "2026-10-08T21:30:00Z",
      "file_count": 2,
      "total_bytes": 2147483648,
      "changelog_md": "Fixes the fuel flow at high altitude."
    }
  ]
}

GET /v1/products/{id}/keys

Needs products:read.

How many license keys the product has left, sold and voided, pool by pool. Counts only: a key is never returned.

Path

idid
The product’s id.
Request
curl "https://api.stratasim.shop/v1/products/b1e7c2a0-55d4-4f7e-8a35-0c9d2e6f1a77/keys" \
  -H "Authorization: Bearer $STRATASIM_API_KEY"
Response200
{
  "object": "key_stock",
  "product": "b1e7c2a0-55d4-4f7e-8a35-0c9d2e6f1a77",
  "delivery": "pool",
  "available": 488,
  "sold": 212,
  "void": 3,
  "pools": [
    {
      "id": "1a2b3c4d-5e6f-4a7b-8c9d-0e1f2a3b4c5d",
      "label": "Launch batch",
      "available": 488,
      "sold": 212,
      "void": 3
    }
  ]
}