Izipay

Finance and commerceData and AI

MCP server for Izipay, Peru enterprise acquirer (Niubiz): authorize/capture/refund, cuotas.

Your AI app calls the Izipay MCP server, which does the finance and commerce and data and AI work and sends the result back to the chat.

About Izipay

Izipay is a community MCP server from codespar, filed in our directory under finance and commerce and data and ai. MCP server for Izipay, Peru enterprise acquirer (Niubiz): authorize/capture/refund, cuotas.

Izipay runs on your own machine: your AI app starts it with the command npx -y @codespar/mcp-izipay@0.2.0-alpha.3 and talks to it over standard input and output. It needs IZIPAY_USERNAME, IZIPAY_PASSWORD and IZIPAY_MERCHANT_CODE set before Izipay starts.

Izipay is listed in the official MCP registry as io.github.codespar/mcp-izipay, version 0.2.0-alpha.3.

At a glance

Publisher
codespar (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @codespar/mcp-izipay
Written in
TypeScript
License
MIT
GitHub stars
278
Official MCP registry
io.github.codespar/mcp-izipay

How to set up Izipay

  1. Install Node.js on the machine that runs your AI app, because Izipay starts with npx and downloads its package on first run.
  2. Create IZIPAY_USERNAME, IZIPAY_PASSWORD and IZIPAY_MERCHANT_CODE for Izipay in the connected service's own settings, scoped to the smallest permissions the job needs.
  3. Add Izipay to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Izipay tools to confirm the connection.
  5. Run one read-only task with Izipay first, and keep your app asking before each tool call until the results look right.

Izipay compared with similar servers

  • Jumio by codespar has fewer GitHub stars than Izipay (278 against 278); both are community servers, and both run locally.
  • Iugu by codespar has fewer GitHub stars than Izipay (278 against 278); both are community servers, and both run locally.
  • Khipu by codespar has fewer GitHub stars than Izipay (278 against 278); both are community servers, and both run locally.

Before you connect Izipay

  • Give Izipay its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Izipay tool call until you trust what it does with them.
  • Treat text that Izipay fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Izipay on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Izipay

How marketing and sales teams put Izipay to work, by company size. Pick the size closest to yours and start Izipay on one use case.

Small business

  • A small business can ask Izipay which products and customers drive margin, then plan promotions around them.
  • Owners can use Izipay to check refunds, failed payments and churn reasons without opening three dashboards.
  • A small team can use Izipay to clean and enrich a lead list or a spreadsheet in one pass, instead of hours of copy and paste.
  • Izipay runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Ecommerce teams can connect Izipay to tie campaigns to orders and revenue, not just clicks.
  • Marketing and finance can use Izipay to check spend against budget each week and move money to what's working.
  • Marketing ops can connect Izipay to enrich and score inbound leads, so sales sees fit and intent before the first call.
  • Start Izipay on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises should keep Izipay read-only for agents, with any money movement handled by people and existing approvals.
  • Large commerce teams can use Izipay to answer revenue questions by channel and region with figures finance signs off on.
  • Enterprises can run Izipay inside their own cloud and data boundary, so models and data stay where governance requires.
  • Izipay is a community server, so have security review the code and pin a version before Izipay touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Izipay README

From codespar/mcp-dev-latam on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

@codespar/mcp-izipay

MCP server for Izipay, Peru's enterprise acquirer.

Izipay is the merchant-facing brand of Niubiz (Visa + Peruvian banks joint venture), the largest card acquirer in Peru with 20%+ share. Niubiz/Izipay is the default for enterprise merchants with serious volume and a direct acquirer contract.

Positioning vs Culqi

@codespar/mcp-culqi @codespar/mcp-izipay
Segment Peru SMB Peru enterprise
Type PSP (Stripe-analog) Acquirer (Niubiz)
Onboarding Self-serve Commercial contract
Customers D2C, SaaS, startups Retail chains, airlines, utilities, banks

Peruvian merchants with serious volume typically have an Izipay acquirer contract before they adopt a PSP, different customers, different contracts, different commercial terms. The two servers complement each other.

Status: alpha

This is 0.1.0-alpha.1. Izipay's developer portal at developers.izipay.pe is contract-gated, the public homepage advertises the API but the full REST reference is only available to contracted merchants. The endpoint paths in this server are best-effort inferences from Izipay's public SDK repositories (github.com/izipay-pe) and common Niubiz/Izipay REST conventions. Every endpoint below should be validated against your integration kit before going live, and corrections are welcome via PR.

Best-guess endpoints (unverified)
Tool Method Path
auth (internal) POST /auth/login
create_charge POST /v1/charges
capture_charge POST /v1/charges/{id}/capture
cancel_charge POST /v1/charges/{id}/cancel
refund_charge POST /v1/charges/{id}/refund
get_charge GET /v1/charges/{id}
tokenize_card POST /v1/tokens
delete_token DELETE /v1/tokens/{id}
create_installment_plan POST /v1/installments
list_transactions GET /v1/transactions
get_settlement GET /v1/settlements/{date}

Tools (20)

Tool Purpose
create_charge Authorize a card payment.
capture_charge Capture a previously authorized charge (when capture=false was used in create_charge).
cancel_charge Void an authorized-but-uncaptured charge.
refund_charge Refund a captured charge.
get_charge Retrieve a charge by Izipay charge id.
tokenize_card Tokenize a card for PCI-safe reuse.
delete_token Delete a stored card token.
create_installment_plan Create a Peruvian cuotas (installment) plan on a charge.
list_transactions List transactions for reconciliation.
get_settlement Get the daily settlement batch (liquidación) for a given date.
get_charge_by_order Retrieve a charge by the merchant-side orderNumber (order_id passed to create_charge).
list_installment_options Query available cuota programs for a given card BIN and amount.
list_settlements List settlement batches across a date range.
create_payment_link Create a hosted payment link (pay-by-link).
get_payment_link Retrieve a payment link by id.
pay_yape Initiate a Yape direct payment.
pay_plin Initiate a Plin direct payment.
authenticate_3ds Complete a 3-D Secure challenge.
create_subscription Start a recurring card charge (subscription).
cancel_subscription Cancel an active subscription.

Install

npm install @codespar/mcp-izipay@alpha

Environment

IZIPAY_USERNAME="..."       # merchant username
IZIPAY_PASSWORD="..."       # merchant password (secret)
IZIPAY_MERCHANT_CODE="..."  # codigoComercio
IZIPAY_ENV="production"     # or "sandbox"
IZIPAY_BASE_URL="..."       # Optional override

Defaults:

  • IZIPAY_ENV=production → https://api.izipay.pe
  • IZIPAY_ENV=sandbox → https://sandbox-api.izipay.pe

Authentication

JWT Bearer. On the first API call the server POSTs { username, password, merchantCode } to /auth/login, caches the returned JWT in memory, and attaches it as Authorization: Bearer <jwt> on every subsequent request. The cached JWT is refreshed 60s before expiry. Transparent to callers.

Run

# stdio (default)
npx @codespar/mcp-izipay

# HTTP
MCP_HTTP=true MCP_PORT=3000 npx @codespar/mcp-izipay

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Questions about Izipay

What is the Izipay MCP server?

MCP server for Izipay, Peru enterprise acquirer (Niubiz): authorize/capture/refund, cuotas. Izipay is maintained by codespar on GitHub at codespar/mcp-dev-latam, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Izipay MCP server?

Add Izipay to your AI app's MCP config with the command npx -y @codespar/mcp-izipay@0.2.0-alpha.3. In Claude Code, run claude mcp add --transport stdio codespar-izipay -- npx -y @codespar/mcp-izipay@0.2.0-alpha.3. To run Izipay this way you need Node.js installed.

Does Izipay need an API key?

Yes. Izipay expects IZIPAY_USERNAME, IZIPAY_PASSWORD and IZIPAY_MERCHANT_CODE to be set. Create the key for Izipay in the connected service's own settings, give it the smallest permissions the job needs, and keep it out of shared config files.

Is Izipay an official MCP server?

No. Izipay is a community server maintained by codespar. Community servers can be excellent; read the code and the open issues before you give Izipay access to company data.

What license is Izipay under?

Izipay is released under the MIT license, according to its GitHub repository. The license covers the code of Izipay; the service it connects to has its own terms.