OpenAPI schema
Download the machine-readable OpenAPI 3.1 schema for the Lending API
The full Lending API schema is published as a single OpenAPI 3.1 document. Point your tooling or your AI coding assistant at it directly.
OpenAPI 3.1, version v2.2
Every page in one file, for AI tools
What's inside
| Specification | OpenAPI 3.1 |
| API version | v2.2 |
| Endpoints | 18 paths, 26 operations |
| Webhook events | 10, under the top-level webhooks map |
| Authentication | Bearer token — see Access the API |
Webhook payload schemas
Every webhook event carries its full payload schema in the same document, under the
top-level webhooks map — the OpenAPI 3.1 feature designed for exactly this.
If you have previously had to reverse-engineer webhook payloads from example JSON, this is
the structured description you were missing. application_offered alone documents 17 fields.
Using it with tooling
Import → Link, then paste https://lending-api-docs.iwoca.co.uk/openapi.json. Postman
generates a collection covering every endpoint.
The schema is fully dereferenced — every $ref is expanded in place, so there is no components/schemas section.
Generated clients will therefore produce inline anonymous types rather than named, reusable models.
If that causes you a problem, tell us.