AI coding assistants
You can hand the integration to an AI coding assistant such as Claude Code, Cursor, Codex, or GitHub Copilot. The documentation is published in plain Markdown for them, so the assistant reads the same guides you do.
Prompt to start with
Section titled “Prompt to start with”Paste this into your assistant from the root of your project:
Integrate Cryptonly crypto payments into this project.
Start with https://docs.cryptonly.net/llms.txt and open the pages you need; every link there is a Markdown page. The API schema is https://api.cryptonly.net/tenant-api-docs-yaml.
- If the shop runs on a platform with a Cryptonly plugin (WooCommerce, WHMCS, Blesta, FOSSBilling, Paymenter, Medusa, Vendure, FluentCart), set up the plugin instead of writing custom code.- On a Node.js / TypeScript backend use @cryptonly/sdk; otherwise call the REST API.- Work against the sandbox: https://sandbox-api-merchant.cryptonly.net, or sandbox: true in the SDK.- Read the API key and the webhook signing key from CRYPTONLY_API_KEY and CRYPTONLY_WEBHOOK_SECRET. Never hard-code them.- Create one invoice per order with my order ID as orderId, and send the customer to paymentPageUrl.- Handle the invoice.statusChanged webhook: verify x-webhook-signature against the raw request body, and fulfil orders by the rules in https://docs.cryptonly.net/guides/invoices/statuses.md.- Tell me how to test the whole flow with Simulate payment in the sandbox dashboard.Adjust the list to your case. For pay-per-request APIs and AI agents that pay you, point the assistant at x402 payments instead.
What assistants can read
Section titled “What assistants can read”| Source | URL | Use it for |
|---|---|---|
| Index | docs.cryptonly.net/llms.txt | A list of every page with a one-line summary. The best starting point. |
| Full text | docs.cryptonly.net/llms-full.txt | All guides in one file, for assistants that take a large context. |
| Single page | Add .md to a page URL, e.g. docs.cryptonly.net/quickstart.md | One guide in Markdown. |
| OpenAPI schema | api.cryptonly.net/tenant-api-docs-yaml | Every endpoint, request, and response field. |
| SDK | @cryptonly/sdk | A typed client, so the assistant gets field names from the types. |
| Context7 | /llmstxt/cryptonly_net_llms-full_txt | Up-to-date docs inside Cursor, Claude Code, and other clients with the Context7 MCP server. Add “use context7” to your prompt. |
Every guide also has a Copy page menu next to its title: copy the page as Markdown, open it as Markdown, or open it in ChatGPT or Claude.
Next steps
Section titled “Next steps”QuickstartThe flow the prompt builds, step by step
Invoice statusesWhich statuses to fulfil on
Testing your integrationSandbox scenarios to run before going live
PluginsReady-made checkout plugins