Skip to main content
IZ

Izipay

v0.2.0-alpha.2API Keyalpha

Adquirente enterprise de Perú (respaldada por Niubiz — Visa + bancos locales). Complementa a Culqi (SMB de Perú) para merchants peruanos de volumen serio. Alpha en npm — todos los paths de endpoint son best-guess ya que developers.izipay.pe está cerrado por contrato.

20 herramientas5 env vars🇵🇪 Perúalpha — validación pendiente

Qué puede hacer tu agente

Izipay le da a tu agente 20 tools que llama directo — elegí las que necesite, en Claude, Cursor o cualquier cliente MCP.

  • create_chargeAuthorize a card payment. Supports 3-D Secure (3DS) challenge flow when required by issuer/brand. Set capture=true for authorize+capture atomically; capture=false to authorize only and capture later via capture_charge.
  • capture_chargeCapture a previously authorized charge (when capture=false was used in create_charge).
  • cancel_chargeVoid an authorized-but-uncaptured charge. Does not work on captured charges — use refund_charge for those.
Ejemplo de llamada
// Your agent calls a tool directly — no glue code.
// CodeSpar's managed tier handles OAuth2, token rotation and rate limits.
const result = await session.call("create_charge", { /* ... */ });

Instalar

terminal
$ npm install @codespar/mcp-izipay@alpha

Quickstart

Agregá esta entrada a tu claude_desktop_config.json (o a la config de cualquier cliente compatible con MCP).

claude_desktop_config.json
{
  "mcpServers": {
    "izipay": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-izipay@alpha"
      ],
      "env": {
        "IZIPAY_USERNAME": "<your_izipay_username>",
        "IZIPAY_PASSWORD": "<your_izipay_password>",
        "IZIPAY_MERCHANT_CODE": "<your_izipay_merchant_code>"
      }
    }
  }
}

Después de reiniciar, tu agente puede llamar cualquiera de las 20 herramientas de abajo — probá create_charge primero.

Variables de entorno · 5

Necesarias para autenticar el server. Almacenadas cifradas al usar el hosting gestionado de CodeSpar.

IZIPAY_USERNAME
obligatorio

Izipay merchant username issued with your acquirer contract

IZIPAY_PASSWORD
obligatoriosecret

Izipay merchant password used to obtain JWT

IZIPAY_MERCHANT_CODE
obligatorio

Izipay merchant code (codigoComercio)

IZIPAY_ENV
opcional

Environment: sandbox or production. Defaults to production.

IZIPAY_BASE_URL
opcional

Izipay API base URL. Defaults per IZIPAY_ENV. Override if your contract issues a custom host.

Herramientas disponibles · 20

Cada herramienta es independiente — tu agente carga solo lo que necesita para reducir contexto y tiempo de respuesta.

WRITEcreate_charge
Authorize a card payment. Supports 3-D Secure (3DS) challenge flow when required by issuer/brand. Set capture=true for authorize+capture atomically; capture=false to authorize only and capture later via capture_charge.
WRITEcapture_charge
Capture a previously authorized charge (when capture=false was used in create_charge).
DELETEcancel_charge
Void an authorized-but-uncaptured charge. Does not work on captured charges — use refund_charge for those.
DELETErefund_charge
Refund a captured charge. Pass amount for a partial refund; omit for a full refund.
WRITEget_charge
Retrieve a charge by Izipay charge id.
WRITEtokenize_card
Tokenize a card for PCI-safe reuse. Returns a token_id to pass into create_charge.card.token_id.
DELETEdelete_token
Delete a stored card token.
WRITEcreate_installment_plan
Create a Peruvian cuotas (installment) plan on a charge. Enables splitting a card payment into N monthly installments, with or without interest, per the issuer's cuota program.

Frameworks compatibles

MCP es un protocolo — cualquier framework que lo hable puede montar este server.

Claude Agent SDKAnthropic
OpenAI AgentsOpenAI
Vercel AI SDKVercel
LangChainLangChain
LlamaIndexLlamaIndex
CrewAICrewAI
MastraMastra
Cualquier cliente MCPProtocolo

Preguntas frecuentes

Corré `npx -y @codespar/mcp-izipay` y agregá el bloque de config de arriba a tu cliente MCP — Claude, Cursor, VS Code o cualquier cliente compatible con MCP. Sin build, sin SDK. ¿Preferís hosted? El tier gestionado de CodeSpar lo corre por vos, con la auth resuelta.
Izipay — MCP server · 20 tools | CodeSpar