Build from the contract, not from generated code
Every tool that reads an OpenAPI document interprets parts of the standard in its own way, in particular composed schemas (oneOf, anyOf, allOf), nullability, additionalProperties, and enums. SDK generators and REST client importers share that behaviour, and fail the same two ways:
- The generated client or collection rejects a valid response, or refuses to serialize a valid request, because the model it derived is stricter than the contract.
- A backward-compatible minor release breaks it. Adding an attribute to a response, or returning
422where the API used to return400, is a minor change that the API guarantees is safe, and a strict generated model still fails on it.
Treat every sample value as fictitious
The identifiers, tokens, amounts, emails, and dates shown in the API reference, and pre-filled in the Try it console, are illustrative. They exist in no environment.
404 Not Found on an entity that was never created. Use the credentials issued to your own Program, and entities you created yourself in the sandbox.
The Try it console calls the sandbox, the only server the specification declares. Set its programRef variable to the one Paylead issued you before you run an operation; it defaults to changeme.
What’s next
Versions & Download
Browse every published version and download the raw OpenAPI specs.
WebApp (MFP)
Embed the Paylead WebApp inside your bank mobile app.