KDPika Licensing Sign inStart free
API v1
Show all languages
Browse documentation

Choose a page in the navigation drawer.

KDPika Licensing · API v1 Intermediate

OpenAPI specification

Download the complete source-validated OpenAPI 3.1 licensing contract, including actual statuses, errors, headers and examples.

On this page
Updated 2026-10-17 UTCDownload Markdown

Use the machine-readable reference alongside the endpoint guides; schema validation is not an access-control decision.

What you will learn

  • Download identical JSON/YAML contracts.
  • Understand recommended input schemas, response strictness and signing limits.

Prerequisites

Downloads

Both files describe the same API v1 contract using OpenAPI 3.1.1 and JSON Schema2020-12. They include all 11 registered licensing operations,25 named request/response components, developer/installation/public-app credential schemes, required management scopes and the exact current error/header behavior. They do not invent customer/product/list/payment endpoints.

The only server URL is https://licensing.kdpika.com/api/v1. Sandbox/Live is bound by credentials and the activation header, not a separate host. x-required-scope records a developer scope without pretending the bearer credential is OAuth.

Inputs, responses and examples

Input schemas describe supported recommended JSON types. The actual PHP backend also trims/casts some values and ignores unknown fields; a strict schema cannot describe those malformed-input coercions as if every violation were rejected identically. Use the endpoint constraints/conventions for that distinction.

Response schemas describe every emitted nested field and nullability. Example success bodies are captured from the isolated Sandbox; license keys/tokens are replaced with obvious placeholders. The 69 per-operation error examples use actual captured errors. A shared global INTERNAL_ERROR example is explicitly identified when reused across operations instead of claiming a separate induced outage for each handler.

Dates use UTC-labelled ISO8601 offsets as emitted by the builders, with the known database-session display-time limitation documented. Features can be a dynamic object or an empty array in current PHP output. Do not assume every feature is boolean.

A JSON-schema match does not verify Ed25519, preserve signed numeric tokens or enforce product/environment/installation/time policy. Read signed responses before authorizing access.

Validation and drift checks

The authoring tool checks exact source hashes and route inventory before generation. Real local Sandbox requests validate success/error bodies against the generated schema. JSON and YAML equality, every example, all schema definitions and negative fixtures are checked. Standard Spectral OAS rules produce zero errors/warnings/hints; a deliberately missing operationId fails the gate.

The local Spectral JS API uses pinned packages and no disabled rule set. No Node runtime or external schema fetch is required on hosting; the published files are compiled artifacts. A new product behavior must update source facts, schemas, samples and executed tests before publication.

Importing the contract

  1. Download JSON or YAML. Expected: the same11 operations, not a login page.
  2. Import that file into your OpenAPI 3.1-compatible local editor/client. Expected: request/response schemas and three credential schemes are recognized.
  3. Configure only your Sandbox test credentials. Expected: no Live operation or real customer mutation during exploration.
  4. Compare generated clients against the actual runnable examples and vectors. Expected: signature bytes, null handling and error fallbacks are tested rather than assumed.

Expected result

You have the actual v1 contract and can validate response shape without mistaking it for cryptographic or business authorization.

Common mistakes

  • Using an OpenAPI 3.0-only validator for 3.1 type/null/schema features.
  • Treating request schema guidance as proof of strict PHP input rejection.
  • Replacing Ed25519 verification with a schema or success-flag check.

Security notes

Keep generated client credentials private, use HTTPS and never auto-upload populated test environments or private captures to a public schema editor.

Troubleshooting

SymptomCauseAction
Importer rejects type arrays/constTool supports an older OpenAPI/JSON Schema dialectUse a3.1-compatible importer
Documented route missing from generatorStale exported contract or unsupported versionDownload the current exact file and compare the operation
Valid JSON but signature failureShape is not byte authenticityRun the published verifier/vectors and fail closed

Next steps

Review the endpoint reference and signature verification.

Was this page helpful?

Choose an answer

Do not include personal data, license keys or credentials. Retained for up to 30 days. This is not a support inbox.

Search documentation

Arrow keys to move, Enter to open, Escape to close. Search stays in your browser.

Cookie settings