Documentation index for AI agents (llms.txt)

Append .md to any page URL for its markdown source, or fetch llms-full.txt for the complete corpus.

OpenAPI schema

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.

Fetch it from your terminal

curl -O https://lending-api-docs.iwoca.co.uk/openapi.json

What's inside

SpecificationOpenAPI 3.1
API versionv2.2
Endpoints18 paths, 26 operations
Webhook events10, under the top-level webhooks map
AuthenticationBearer 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.