Skip to content
FunCoding

mcp-payway

Listed in the official MCP Registry

Payway (ex-Decidir) — Argentina card acquiring: tokenize, charge, capture, refund

Star
278
Category
Finance
Version
v0.1.0
License
MIT
Last commit
Nov 13, 2026

@codespar/mcp-payway

MCP server for Payway (ex-Prisma Medios de Pago / Decidir) — Argentina's dominant card-acquiring gateway: card tokenization, one-step and two-step charges, installments (cuotas), marketplace split and refunds.

npm License: MIT

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "payway": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-payway"],
      "env": {
        "PAYWAY_PUBLIC_API_KEY": "your-public-apikey",
        "PAYWAY_PRIVATE_API_KEY": "your-private-apikey",
        "PAYWAY_ENV": "sandbox"
      }
    }
  }
}

Claude Code

claude mcp add payway -- npx @codespar/mcp-payway

Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "payway": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-payway"],
      "env": {
        "PAYWAY_PUBLIC_API_KEY": "your-public-apikey",
        "PAYWAY_PRIVATE_API_KEY": "your-private-apikey",
        "PAYWAY_ENV": "sandbox"
      }
    }
  }
}

Authentication

Payway authenticates with a single raw header named apikey (not Authorization: Bearer). Two co-equal keys exist with different powers — see the table below.

The two-key model

Payway issues two co-equal API keys with different powers:

KeyHeaderMay call
PublicapikeyPOST /tokens (card tokenization only)
PrivateapikeyEverything else: payments, captures, refunds, queries

The auth header is a single raw header named apikey — not Authorization: Bearer.

Tools (6)

ToolEndpointWhat it does
create_tokenPOST /tokensTokenize card data into a single-use payment token (public key)
create_paymentPOST /paymentsCharge a token — single sale or distributed/split, with installments
get_paymentGET /payments/{id}Fetch a payment by id
list_paymentsGET /paymentsList payments (offset, pageSize, siteOperationId, merchantId)
refund_paymentPOST /payments/{id}/refundsFull refund (empty body) or partial (amount in minor units)
confirm_paymentPUT /payments/{id}Capture a previously authorized payment (two-step flow)

Environment

VariableRequiredDescription
PAYWAY_PUBLIC_API_KEYyesPublic apikey (tokenization)
PAYWAY_PRIVATE_API_KEYyesPrivate apikey (payments, refunds, queries)
PAYWAY_ENVnosandbox (default, Decidir sandbox host) or production

Base URLs: production https://ventasonline.payway.com.ar/api/v2, sandbox https://developers.decidir.com/api/v2.

Notes

  • Amounts are integers in minor units: 50000 = ARS 500.00.
  • payment_method_id identifies the card brand (1 = Visa, 31 = Mastercard, 15 = Maestro, …).
  • site_transaction_id is the merchant-side idempotency anchor — unique per sale.
  • This server never invents card data; agents must collect PAN/expiry/CVV from the user or a vault.

Enterprise

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

License

MIT © CodeSpar

Similar MCP servers

World Monitor

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

KOkoala73/worldmonitor91k222 new stars in the last 7 days

Featured

CCXT

Connect to 100+ exchanges and prediction markets, fetch market data, manage orders and accounts.

CCccxt/ccxt45k68 new stars in the last 7 days

changedetection.io (official)

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

DGdgtlmoon/changedetection.io36k138 new stars in the last 7 days

Finance Database

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

JEJerBouma/FinanceDatabase9.7k25 new stars in the last 7 days

tradingview-mcp

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

TRtradesdontlie/tradingview-mcp7.4k74 new stars in the last 7 days

Finance Toolkit

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

JEJerBouma/FinanceToolkit5.6k13 new stars in the last 7 days