Verify license

Verifies a license key against a product and returns its activation status. Intended for first-party software activation flows. Requires the LICENSES_READ scope.

POST https://api.pandabase.io/v2/core/stores/{storeId}/licenses/verify

Authentication

Requires a bearer token (sk_…) or an API key in the header Authorization.

Path parameters

storeId string required

(length 12–48)

Header parameters

idempotency-key string

(length 8–32)

Body parameters

key string required

(length 1–512)

productId string

(length 12–48)

Response 200

Default Response

ok enum required

(one of true)

data object required

No description.

Response 400

Default Response

ok enum required

(one of false)

error string required

No description.

Request
curl -X POST https://api.pandabase.io/v2/core/stores/:storeId/licenses/verify \  -H "Content-Type: application/json" \  -d '{"key":"string","productId":"string"}'
Response
{  "ok": true,  "data": {    "valid": true,    "status": "CLAIMED",    "productId": "prd_8h4t6sqzy3x9w5n2k1m0vqbf",    "customerId": "cus_j8h0r1n4tzcbfp2v8q1mzwx5",    "expiresAt": null  }}