Build with AI
Give your coding assistant the Altruon docs in a form it reads well, SKILL.md, llms.txt and Markdown for every page.
The docs are published for AI coding assistants as well as for people. Point your assistant at the files below and it can plan and write an Altruon integration with the same facts you see here.
What is available
| File | What it is | Use it for |
|---|---|---|
/SKILL.md | An operating guide written for agents: mental model, setup order, the three checkout options, the API, billing platforms, trials, webhooks, troubleshooting | The first thing an agent should read |
/llms.txt | An index of every page with its description | Letting an agent find the right page |
/llms-full.txt | The full text of the docs in one file | Loading everything into context |
| Copy Markdown | The button under every page title copies that page as Markdown | Pasting one page into a chat |
What SKILL.md covers
- The product model: tenant, session, routing entry, acquirer and billing connections, trials, coupons.
- The setup order that always works: acquirer, routing, billing platform, then checkout.
- The three checkout options: hosted pages (
/checkout/p/{id}), dynamic hosted checkout (/checkout/s/{sessionId}) and Altruon.js, with its methods and callbacks. - Session API essentials: discovery or pinned payment method, customer pre-fill, locale, metadata, Chargebee customer custom fields, and the error codes.
- Billing platforms: how sync works on each one, and Altruon Billing.
- Trials: catalog trials,
forceTrialPeriodDays, and which acquirer and method pairs support them. - Acquirers and payment methods, routing, retries and dunning, the Altruon Vault, network tokens, account updater and 3D Secure.
- Environments, keys and what must stay on your server.
- Both webhook directions: provider webhooks into Altruon, and Altruon webhooks to your server.
- A troubleshooting sequence and what to send to support.
Use it with a coding assistant
Give it the guide
Add https://docs.altruon.io/SKILL.md to your assistant's context, or save the file in your repository where your assistant looks for skills or rules.
Say which checkout you are building
Hosted pages, dynamic hosted checkout or Altruon.js. The setup and the code differ. See Choose your checkout.
Point it at the reference for exact fields
Create a session is the request contract. Callbacks lists every payload Altruon.js hands to your page.
Keep keys out of prompts
Do not paste your secret key into a chat. Use a placeholder such as sk_sandbox_... and set the real value in your environment.
A working example to learn from
The Altruon merchant demo is a complete, commented Altruon.js integration (React and Express). Assistants do well when you ask them to follow its structure.