This page lists the files an AI coding agent can read, and gives you prompts to start with.
These docs are written for coding agents as well as people. Everything below is generated from the same pages and the same OpenAPI spec that you read here. (The OpenAPI spec is a machine-readable description of every endpoint.) So agents always see the same API contract as you.
What agents can read
| Resource | Path | What it is for |
|---|---|---|
| Site index | /llms.txt |
A list of links to every page and API operation, in the llmstxt.org format. |
| Full text | /llms-full.txt |
All pages in one Markdown file, so an agent can load everything at once. |
| Any page as Markdown | add index.md to the end of a page URL, like /guides/webhooks/index.md |
One page, without the site menus. |
| API reference index | /reference/llms.txt |
Only the operations, webhooks, and schemas. |
| OpenAPI 3.1 spec | /reference/openapi.json |
Typed clients and request validation. |
| Live OpenAPI spec | https://cardzone.ai/api/b2b/openapi.json |
The same spec, served by the API itself, for tools that should always use the latest version. |
Each page also has a Copy page button in its header. It copies the page’s Markdown, so you can paste it into a chat.
Ready prompts
Using the Cardzone B2B API docs at https://docs.cardzone.ai/llms.txt, write a typed API client for this project with listProducts, createOrder (always sending merchant_order_ref), getOrder, lookupPlayerProfile, and getBalance. Read the key from CARDZONE_API_KEY, parse amounts as decimals, and map error.code to typed errors.
Using https://docs.cardzone.ai/guides/webhooks/index.md, add a POST /webhooks/cardzone endpoint that answers 200 quickly, dedupes by event_id, skips status_changed events with a lower sequence than already processed, and re-fetches GET /api/b2b/v1/orders/{order_id} before marking orders fulfilled.
Using https://docs.cardzone.ai/concepts/catalog-and-recipients/index.md, build the checkout form for Cardzone top-ups from each product's recipient_fields: one input per key, labeled with label, values sent as strings under key.
