PayZuPayZu Docs

MCP server

MCP is the open protocol that lets AI assistants call external tools via JSON-RPC. The payzu-mcp-conta-digital exposes 14 curated tools from the Conta Digital API (Pix in/out, TED, internal transfer, balance, profile, statement).

Installation

Claude Desktop

{
  "mcpServers": {
    "payzu-conta-digital": {
      "command": "npx",
      "args": ["-y", "payzu-mcp-conta-digital"],
      "env": {
        "PAYZU_TOKEN": "<your-token>"
      }
    }
  }
}

Cursor

.cursor/mcp.json:

{
  "mcpServers": {
    "payzu-conta-digital": {
      "command": "npx",
      "args": ["-y", "payzu-mcp-conta-digital"],
      "env": { "PAYZU_TOKEN": "..." }
    }
  }
}

Configuration

Env varRequiredDefaultDescription
PAYZU_TOKENyes,Bearer token from abrirconta.payzu.com.br
PAYZU_HUB_API_URLnohttps://pix.payzu.io/v1Conta Digital base URL

Tools list (14)

Deposits (4)

ToolHTTP
deposits.create_pixPOST /pix
deposits.get_pixGET /pix/{id}
deposits.proofGET /proof/{id}
deposits.refundPOST /pix/refund/{id}

Withdrawals (6)

ToolHTTP
withdraw.by_pix_keyPOST /withdraw
withdraw.by_bank_dataPOST /withdraw/bank-data
withdraw.tedPOST /ted
withdraw.by_qrPOST /withdraw/qrcode
withdraw.internal_transferPOST /internal-transfer
withdraw.proofGET /proof/{id}

Account (4)

ToolHTTP
account.balanceGET /user/balance
account.profileGET /user
account.transactionsGET /user/transactions
account.summaryGET /user/summary

Conventions

  • Amounts in decimal REAIS (99.90, not 9990).
  • clientReference required on creations (idempotência).
  • callbackUrl public HTTPS, responds 2xx within 5s.
  • Auto-retry on 5xx/429 (3 attempts, exponential backoff + jitter).
  • Errors include requestId.

Conta Digital vs Pix Processamento

Use payzu-mcp-pix if you want high-volume pure Pix with MED, API callbacks, CSV reports. Use this package for a complete bank account (Pix + TED + transfer + statement).

Support

On this page