# Using these docs with AI tools

> Plain Markdown versions of every page, plus llms.txt, for coding assistants.

Source: https://developers.loyx.se/for-ai-tools/

Every page on this site has a plain Markdown twin. Add `.md` to the path, or use the **View as Markdown** link under the page title.

| File | What it holds |
|---|---|
| [`/llms.txt`](/llms.txt) | An index of every page with a one-line summary, following [llmstxt.org](https://llmstxt.org/). |
| [`/llms-full.txt`](/llms-full.txt) | Every guide, every preview page and the API reference in one file. |
| [`/api.md`](/api.md) | The API reference as Markdown. |
| [`/openapi/partners-v1.json`](/openapi/partners-v1.json) | The OpenAPI 3.1 spec. Generate a client from it. |

To give a coding assistant the full picture, paste `https://developers.loyx.se/llms-full.txt` into its context, or point it at `llms.txt` and let it fetch what it needs.

## Rules worth repeating to your assistant

- Money is an integer in minor units with a currency. Never floats.
- Send your receipt id as `external.external_transaction_id` on every sale.
- Points are not in the sale response. They are calculated afterwards.
- Send scanned QR text unchanged.
- Pages under **Preview** are not live. Do not generate code that calls them.

The spec and these pages are built from the same source as the API, so they match what the server does.
