Skip to content

Building with AI tools

Building with AI tools

AI coding assistants such as Claude can write most of the code for a Ka-ching integration, provided they know how the API works. We publish this documentation in formats they can read directly.

For any AI tool: llms.txt

  • llms.txt is an index of this site for language models, following the llms.txt convention.
  • llms-full.txt contains every page in one file.
  • Every page is also available as plain Markdown: replace /<page>/ with /<page>.md, for example /stock-import-integration.md.
  • The OpenAPI spec describes the REST API, import endpoints and webhooks. You can also generate a typed client from it, for example with swift-openapi-generator or openapi-typescript.

Point your assistant at these URLs, for example: "Read https://developers.ka-ching.dk/llms.txt and build a script that exports yesterday's checkouts to CSV."

For Claude: the Ka-ching API skill

The ka-ching-api Agent Skill teaches Claude the REST API: authentication, endpoints, stats time formats and buckets, common pitfalls, and client examples in TypeScript and Swift. Claude loads it automatically when a task involves Ka-ching.

Download ka-ching-api.zip

Claude Code: unzip into your skills folder, either for yourself or for one project:

# For all your projects
curl -sL https://developers.ka-ching.dk/skills/ka-ching-api.zip -o /tmp/ka-ching-api.zip
unzip -o /tmp/ka-ching-api.zip -d ~/.claude/skills/

# Or only for the current project (commit it to share with your team)
unzip -o /tmp/ka-ching-api.zip -d .claude/skills/

Claude apps (claude.ai, desktop): upload ka-ching-api.zip in the Skills section of Settings. Skills must be enabled for your account or organization.

You can read the skill before installing it: SKILL.md.

Keep your API keys safe

Give your assistant the account ID and API key through environment variables (for example KACHING_ACCOUNT and KACHING_API_KEY), not by pasting them into the chat or committing them to code. REST API keys can be disabled and recreated in the back office under Advanced → REST API if one is exposed.