Skip to content

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.

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.

SourceURLUse it for
Indexdocs.cryptonly.net/llms.txtA list of every page with a one-line summary. The best starting point.
Full textdocs.cryptonly.net/llms-full.txtAll guides in one file, for assistants that take a large context.
Single pageAdd .md to a page URL, e.g. docs.cryptonly.net/quickstart.mdOne guide in Markdown.
OpenAPI schemaapi.cryptonly.net/tenant-api-docs-yamlEvery endpoint, request, and response field.
SDK@cryptonly/sdkA typed client, so the assistant gets field names from the types.
Context7/llmstxt/cryptonly_net_llms-full_txtUp-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.