Skip to content

AI integration ​

Our documentation is already prepared for AI agents. Let Claude, Cursor or any Model Context Protocol (MCP) client write the code for you — reading the API reference in real time, without ever leaving the editor.

Why use AI? ​

Integrating payments means reading a lot of documentation. Authentication, order creation, card tokenization, webhooks, error codes, rate limits, installment math...

With the official Appmax MCP, your agent handles all of that on its own:

  • Less back and forth — the agent queries the documentation on its own while writing code
  • Instant diagnostics — HTTP errors identified immediately, with root cause and suggested fix
  • Ready-to-use code — snippets in curl, Node, Python, PHP, and Go with environment-specific URLs
  • Guided onboarding — personalized checklists and typed webhook schemas

In action ​

Build from scratch in minutes ​

Ask for a full checkout integration — customer, order, Pix and card payment — and the agent writes everything while querying the Appmax API in real time.

Automatic error diagnosis ​

The agent hits an HTTP 401 on /v1/customers. Instead of guessing, it calls diagnose_error and pinpoints the cause: app credentials were used where merchant credentials were expected. Fix in seconds.

Webhooks with no surprises ​

From "I need to receive payment confirmation", the agent queries the typed schema for order_approved via get_webhook_schema and builds a complete handler with correct types.

Precision payload edits ​

"Add Pix as a payment method in my current flow" → the agent validates the payload with validate_payload before sending, and makes the right diff preserving the rest.

What your agent can do ​

There are 13 tools the agent calls on its own during the conversation, in four categories: documentation, diagnostics, code generation, and onboarding/webhooks. The description and a usage example for each one are in the MCP tools reference.

Compatible clients ​

Any client that implements the Model Context Protocol:

  • Claude Code and Claude Desktop
  • Cursor
  • Windsurf
  • VS Code (MCP extension / Copilot)
  • Cline, Aider, Continue and others

Next steps ​