Get Key
/storefront-public/api/v1/keys/{licenseId}The key with its status refreshed from the provider. liveStatus says how fresh it is: live when the provider answered just now, unavailable when it could not be reached and the last snapshot is returned, unknown_to_provider when the provider does not know the key (no action that calls it is offered). quotaRefusals names the offered actions a used-up quota refuses now, of the caller or of a reseller they buy through, with when each is allowed again; past a quota with an overage price the action is charged instead.
Authorization
bearer In: header
Path Parameters
The key's id (a UUID), not its code. A purchase answers it in licenses[].id; GET /keys?q=<code> finds it from a code.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/storefront-public/api/v1/keys/string"{ "license": { "id": "string", "code": "string", "skuId": "string", "skuName": "string", "purpose": "sale", "purchaseId": "string", "status": "unused", "durationMinutes": 1, "activatedAt": "string", "expiresAt": "string", "holderDisplay": "string", "lastSeenAt": "string", "note": "string", "tags": [ "string" ], "refreshedAt": "string", "createdAt": "string" }, "hwid": { "slotsUsed": -9007199254740991, "slotsMax": -9007199254740991, "lastResetAt": "string", "nextResetAt": "string" }, "availableActions": [ "hwid_reset" ], "quotaRefusals": [ { "_tag": "OwnQuotaUsed", "action": "hwid_reset", "limit": -9007199254740991, "period": "day", "resetsAt": "string" } ], "liveStatus": "live"}Get Catalog Changelog GET
The release notes the provider published for a product of the catalog, newest first, at most 50. body is GitHub-flavoured Markdown. A product the caller cannot buy is not found.
Get Ledger GET
Each entry's amount is in its own `currency`, the store's when it was written: entries from before the store changed its currency keep the one they were written in, so never add amounts of different currencies.
