OpenAPI specification

A machine-readable OpenAPI 3.0.3 description of the entire Reseller API — 6 paths, full request/response schemas, every error, and the API-key security scheme. Generate SDKs, mocks, and Postman collections from it.

Spec URL

The spec is served (and regenerated deterministically from the same source as these docs) at:

URL
https://blog.p-syke.com/openapi.json

Use it

Generate a typed client, or import into Postman / Insomnia:

Fetch
curl -s https://blog.p-syke.com/openapi.json -o openapi.json

What's inside

  • securitySchemes.ResellerApiKey — the X-Reseller-API-Key API-key header.
  • Schemas for Service, Country, Balance, OrderSubmit, OrderDetail, and the two error shapes (ViewError, FrameworkError).
  • Shared 401 / 429 responses with real example bodies, plus per-endpoint error examples.
  • An x-psyke extension block with the reseller price list, rate limit, and file limits.