跳到正文
FunCoding

mcp-izipay

官方 MCP Registry 已收录

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

Star
278
分类
金融
版本
v0.2.0-alpha.3
许可证
MIT
最近提交
2026年11月13日

@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
SegmentPeru SMBPeru enterprise
TypePSP (Stripe-analog)Acquirer (Niubiz)
OnboardingSelf-serveCommercial contract
CustomersD2C, SaaS, startupsRetail 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)

ToolMethodPath
auth (internal)POST/auth/login
create_chargePOST/v1/charges
capture_chargePOST/v1/charges/{id}/capture
cancel_chargePOST/v1/charges/{id}/cancel
refund_chargePOST/v1/charges/{id}/refund
get_chargeGET/v1/charges/{id}
tokenize_cardPOST/v1/tokens
delete_tokenDELETE/v1/tokens/{id}
create_installment_planPOST/v1/installments
list_transactionsGET/v1/transactions
get_settlementGET/v1/settlements/{date}

Tools (20)

ToolPurpose
create_chargeAuthorize a card payment.
capture_chargeCapture a previously authorized charge (when capture=false was used in create_charge).
cancel_chargeVoid an authorized-but-uncaptured charge.
refund_chargeRefund a captured charge.
get_chargeRetrieve a charge by Izipay charge id.
tokenize_cardTokenize a card for PCI-safe reuse.
delete_tokenDelete a stored card token.
create_installment_planCreate a Peruvian cuotas (installment) plan on a charge.
list_transactionsList transactions for reconciliation.
get_settlementGet the daily settlement batch (liquidación) for a given date.
get_charge_by_orderRetrieve a charge by the merchant-side orderNumber (order_id passed to create_charge).
list_installment_optionsQuery available cuota programs for a given card BIN and amount.
list_settlementsList settlement batches across a date range.
create_payment_linkCreate a hosted payment link (pay-by-link).
get_payment_linkRetrieve a payment link by id.
pay_yapeInitiate a Yape direct payment.
pay_plinInitiate a Plin direct payment.
authenticate_3dsComplete a 3-D Secure challenge.
create_subscriptionStart a recurring card charge (subscription).
cancel_subscriptionCancel 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

同类 MCP Server

World Monitor

Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 108 tools.

KOkoala73/worldmonitor91k近 7 天新增 216 个 star

精选

CCXT

连接 100+ 交易所和预测市场,获取行情数据,管理订单和账户。

CCccxt/ccxt45k近 7 天新增 68 个 star

changedetection.io (official)

Official changedetection.io MCP: web page change tracking, back-in-stock and price alerts.

DGdgtlmoon/changedetection.io36k近 7 天新增 138 个 star

Finance Database

Equities, ETFs, indices, currencies and cryptos, categorised.

JEJerBouma/FinanceDatabase9.7k近 7 天新增 25 个 star

tradingview-mcp

AI-assisted TradingView chart analysis — connect Claude Code to your TradingView Desktop for personal workflow automation

TRtradesdontlie/tradingview-mcp7.4k近 7 天新增 66 个 star

Finance Toolkit

1100+ transparent financial methods calculated from raw statements, not third-party endpoints.

JEJerBouma/FinanceToolkit5.6k近 7 天新增 13 个 star