{"openapi":"3.1.0","info":{"title":"Axee Licensing API","version":"0.1.0","description":"Language-neutral license lifecycle, verification, polling, and release metadata API."},"servers":[{"url":"https://app.axee.in","description":"Production"},{"url":"https://staging.axee.in","description":"Staging"}],"security":[{"bearerAuth":[]}],"paths":{"/v1/licenses":{"post":{"summary":"Create a license key","operationId":"createLicense","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"string","description":"Product ID copied from the Products page."},"productCode":{"type":"string","description":"Stable product code. Alternative to productId."},"customerRef":{"type":"string"},"email":{"type":"string","format":"email"},"domain":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","additionalProperties":true}},"anyOf":[{"required":["productId"]},{"required":["productCode"]}]}}}},"responses":{"201":{"description":"License created"},"401":{"description":"Invalid API key"},"409":{"description":"Plan limit exceeded"}}}},"/v1/licenses/{id}/suspend":{"patch":{"summary":"Suspend a license key","operationId":"suspendLicense","responses":{"200":{"description":"License suspended"},"404":{"description":"License not found"}}}},"/v1/licenses/{id}":{"delete":{"summary":"Terminate a license key","operationId":"terminateLicense","responses":{"200":{"description":"License terminated"},"404":{"description":"License not found"}}}},"/v1/verify":{"post":{"summary":"Verify and activate a license","operationId":"verifyLicense","responses":{"200":{"description":"Signed lease issued"},"403":{"description":"License inactive or binding rejected"}}}},"/v1/poll":{"post":{"summary":"Refresh a signed lease","operationId":"pollLicense","responses":{"200":{"description":"Lease refreshed"},"403":{"description":"Polling rejected"}}}},"/v1/releases":{"post":{"summary":"Publish product release metadata","operationId":"createRelease","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"productId":{"type":"string","description":"Product ID copied from the Products page."},"productCode":{"type":"string","description":"Stable product code. Alternative to productId."},"version":{"type":"string"},"notes":{"type":"string"},"metadata":{"type":"object","additionalProperties":true}},"required":["version"],"anyOf":[{"required":["productId"]},{"required":["productCode"]}]}}}},"responses":{"201":{"description":"Release metadata stored"}}}}},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}