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:
https://blog.p-syke.com/openapi.jsonUse it
Generate a typed client, or import into Postman / Insomnia:
curl -s https://blog.p-syke.com/openapi.json -o openapi.jsonpip install openapi-python-client
openapi-python-client generate --url https://blog.p-syke.com/openapi.jsonnpx openapi-typescript https://blog.p-syke.com/openapi.json -o reseller-api.d.tsWhat's inside
securitySchemes.ResellerApiKey— theX-Reseller-API-KeyAPI-key header.- Schemas for
Service,Country,Balance,OrderSubmit,OrderDetail, and the two error shapes (ViewError,FrameworkError). - Shared
401/429responses with real example bodies, plus per-endpoint error examples. - An
x-psykeextension block with the reseller price list, rate limit, and file limits.