Skip to main content
Glama
Pletopay MCP Server

Pletopay MCP Server

Official
by pletopay

Pletopay MCP server

@pletopay/mcp is the official Model Context Protocol server for the Pletopay API. It lets AI agents (Claude Desktop, Claude Code, Cursor, VS Code and any other MCP client) work with a Pletopay account: payments, virtual accounts, customers, transfers, refunds, settlements, checkout, payment links, invoices, subscriptions, reports, webhooks and the sandbox.

  • One tool per API operation (83), generated from the published API contract, grouped into toolsets.

  • Safe by default in live mode: tools that send money or change where it goes are hidden from live keys until you enable them; transfers and refunds take a required idempotency_key, so a retried call never pays twice; --read-only exposes lookups only.

  • Docs and reference built in: search_docs / get_doc over the Pletopay guides (offline), resources for webhook event types, error codes and object schemas, and prompts for common workflows.

  • Runs locally over stdio (npx -y @pletopay/mcp) or as a stateless Streamable HTTP server where every request brings its own key.

Full guide: docs.pletopay.com/mcp.

Quick start

Start with your test key (sk_test_…, Dashboard → Settings → Developers → API keys).

Claude Code

claude mcp add pletopay --env PLETOPAY_SECRET_KEY=sk_test_… -- npx -y @pletopay/mcp

Claude Desktop, Cursor and other clients (claude_desktop_config.json, .cursor/mcp.json, …)

{
  "mcpServers": {
    "pletopay": {
      "command": "npx",
      "args": ["-y", "@pletopay/mcp"],
      "env": { "PLETOPAY_SECRET_KEY": "sk_test_…" }
    }
  }
}

Requires Node.js 24 or newer. Pass the key in the environment rather than with --api-key: command-line arguments are visible to other users of the machine.

Related MCP server: paystack-mcp-server

Options

Flag

Environment

HTTP header

Default

--api-key <key>

PLETOPAY_SECRET_KEY

Authorization: Bearer sk_… (required)

–

--toolsets <list>

PLETOPAY_MCP_TOOLSETS

X-PletoPay-MCP-Toolsets

all

--read-only

PLETOPAY_MCP_READ_ONLY=true

X-PletoPay-MCP-Read-Only: true

off

--enable-money-movement

PLETOPAY_MCP_ENABLE_MONEY_MOVEMENT=true

X-PletoPay-MCP-Money-Movement: enabled

off for live keys

--no-docs

–

–

docs tools, guide resources and prompts on

--api-url <url>

PLETOPAY_API_URL

(server setting)

https://api.pletopay.com

Toolsets: customers, payments, virtual_accounts, subaccounts, transfers, settlements, refunds, checkout, payment_links, invoices, risk, subscriptions, reports, webhooks, balance, sandbox, docs.

Run npx -y @pletopay/mcp --help for the full list.

Money movement

Pletopay secret keys have full access within their mode, so the server adds its own guardrails:

Test key

Live key

Live key + --enable-money-movement

Reads (lists, lookups, balance, reports)

✓

✓

✓

Writes (customers, payments, virtual accounts, invoices, webhooks, …)

✓

✓

✓

Money (create_transfer, create_refund, create_subaccount, update_subaccount, create_split_rule, update_split_rule)

✓

–

✓

Sandbox (simulate_transfer, list_sandbox_test_values)

✓

–

–

--read-only removes every write and money tool whatever else is set. Hidden tools are not listed, and calling one by name returns the reason instead of calling the API. Tools carry MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) so clients can ask for approval before a change.

Tools, resources and prompts

  • Tools: one per API operation, named after its operationId in snake_case (list_payments, get_payment_by_reference, create_virtual_account, simulate_transfer, create_transfer, …), with the operation's fields as arguments. List tools take limit, starting_after and filters such as created: { gte, lte }; results include meta.has_more and meta.next_cursor. Results are the API's data plus the request_id; errors carry type, code, param and request_id. Plus search_docs and get_doc.

  • Resources: pletopay://webhooks/events, pletopay://errors, pletopay://schemas/{name}, pletopay://docs/{slug} and pletopay://openapi/public.v1.yaml (large).

  • Prompts: reconcile_collections, investigate_payment, investigate_failed_transfer, set_up_webhooks.

Remote (Streamable HTTP)

npx -y @pletopay/mcp --transport http --port 3010

POST /mcp is stateless: each request authenticates with its own Authorization: Bearer sk_… and gets a fresh server bound to that key; nothing is stored. GET /healthz reports health. Headers can narrow the toolsets and force read-only (never undo a server's --read-only) and can enable money movement.

Hardening: Host allowlist against DNS rebinding (MCP_ALLOWED_HOSTS, required when binding to a non-loopback address), browser Origin allowlist (MCP_ALLOWED_ORIGINS, default none), a per-IP rate limit before authentication (MCP_RATE_LIMIT_PER_MINUTE, default 300; set MCP_TRUST_PROXY_HOPS behind a proxy), a 1 MB body limit, and a structured access log that never contains keys or bodies. Each request id is sent to the API as X-Correlation-Id. Put it behind TLS.

The caller's address is not forwarded: if a merchant uses an IP allowlist, API calls through a hosted server come from that server's address.

Docker

docker build -t pletopay-mcp .
docker run -p 3010:3010 -e MCP_ALLOWED_HOSTS=mcp.example.com -e MCP_TRUST_PROXY_HOPS=1 pletopay-mcp

Never give the container a PLETOPAY_SECRET_KEY. deploy/do-app.example.yaml is an App Platform spec for a pre-built image.

Library use

import { createPletopayMcpServer, createHttpApp } from '@pletopay/mcp';
import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';

const server = createPletopayMcpServer({ secretKey: process.env.PLETOPAY_SECRET_KEY!, readOnly: true });
await server.connect(new StdioServerTransport());

createHttpApp(options) returns the Express app used by --transport http, to mount in your own server.

Development

See CONTRIBUTING.md. pnpm verify runs lint, formatting, types, the spec/docs/generated-code drift checks, the brand check, unit tests and package checks; pnpm test:live runs the live suite against a local API in test mode.

License

MIT

Available Tools

85 tools
cancel_subscriptionCancel a subscription (now, or at the end of the current period)B
Destructive

Cancel a subscription (now, or at the end of the current period).

Cancel a subscription now, or at the end of the current period with at_period_end: true. Canceling an already canceled subscription returns 409 subscription_canceled.

Inputs: id (required), reason, at_period_end.

close_virtual_accountClose a dedicated virtual accountA
Destructive

Close a dedicated virtual account.

Close a dedicated virtual account so it stops receiving money for you. Dynamic accounts can’t be closed this way (400 invalid_operation): they close with their payment. Closing an already closed account returns it unchanged.

Inputs: id (required), reason (required), idempotency_key.

create_checkout_sessionCreate a hosted checkout sessionA

Create a hosted checkout session.

Create a checkout session, then either redirect your customer to its url (hosted checkout) or hand its token to your front end and open it in the Pletopay popup with the browser SDK and your publishable key. Pletopay’s page shows the bank-transfer details (the payment is created when the customer opens it), waits for the transfer and sends the customer to success_url (hosted) or calls your onSuccess callback (popup). The session expires after expires_in seconds (default 1 hour, at most 3 hours: one-time bank accounts are limited to 3 hours) and completes when its payment succeeds (checkout.session.completed). reference is optional; when given it must be unique per mode (409 duplicate_reference), and the session can then be retrieved with GET /api/v1/checkout/sessions/reference/{reference}. Neither the redirect nor the callback is proof of payment: confirm with the webhook or by retrieving the session.

Inputs: amount (required), currency (required), split, customer, +8 more.

create_customerCreate a customerA

Create a customer.

Create a customer so you can issue dedicated virtual accounts, invoices and subscriptions to them, and see their payments together. Every field is optional. An email must be unique among your customers in this mode (409 customer_exists).

Inputs: name, email, phone, metadata, +2 more.

create_invoiceCreate a draft invoiceA

Create a draft invoice.

Create a draft invoice for a customer with line items and optional taxes (basis points, 750 = 7.5%). Totals are computed for you. A draft can be edited; finalize it to make it payable.

Inputs: items (required), customer (required), due_date (required), memo, +4 more.

create_paymentCreate a bank-transfer paymentA

Create a bank-transfer payment.

Create a bank-transfer payment. Pletopay opens a dynamic (single-use) virtual account for it and returns the account in bank_transfer: show the account number, bank and amount to your customer.

With amount_rule: exact (the default) transfers of any other amount are rejected. With any, whatever arrives is accepted and amount may be omitted.

The account expires with the payment: expires_in (seconds) or expires_at, between 5 minutes and 3 hours (the limit for one-time accounts; 400 expiry_out_of_range carries details.min_seconds / max_seconds); the default is your organization’s setting (30 minutes unless changed).

The payment becomes succeeded only when the credit is confirmed. Never treat a redirect or client-side callback as proof of payment: listen for payment.succeeded or retrieve the payment.

reference must be unique among your payments in this mode (409 duplicate_reference). Send an Idempotency-Key so a retried request can’t create a second payment.

Inputs: currency (required), reference (required), split, amount, +8 more.

create_planCreate a planB

Create a plan.

Create a plan: an amount billed every interval_count × interval (for example every 3 months). Subscribe customers to it with POST /api/v1/subscriptions.

Inputs: name (required), amount (required), interval (required), metadata, +3 more.

create_refundRefund a payment (fully or partially)A
DestructiveIdempotent

Refund a payment (fully or partially).

Refund a payment, fully or partially, by bank transfer from your available balance. Idempotency-Key is required.

Without amount, the whole refundable amount is refunded. Only succeeded or partially_refunded payments can be refunded (409 payment_not_refundable).

Destination. When the sender’s full account details are known, the refund always goes back to that account: omit destination (a different one returns 400 refund_destination_mismatch). When the sender isn’t known, pass destination (400 refund_destination_required otherwise); it is verified by name enquiry. In live mode a custom destination also needs outbound transfers enabled (403 transfers_disabled).

The payment becomes partially_refunded or refunded only once the refund has actually been paid out (refund.succeeded). Without a reference, one is derived from the Idempotency-Key, so a retried request can’t create a second refund.

In live mode this sends real money or changes where money is paid, and it cannot be undone. Before calling, confirm the exact amount (in kobo) and the destination with the user.

Choose an idempotency_key and reuse it if you retry this call, so it can never happen twice.

Inputs: reason (required), payment (required), idempotency_key (required), amount, +3 more.

create_reportGenerate a CSV reportA

Generate a CSV report.

Generate a CSV report for a period of up to 366 days (period_end is exclusive). Reports run in the background: poll the report or listen for report.ready, then download it. Amounts in the CSV are exact decimal naira and times are UTC. The file is available until the report’s expires_at. At most two reports generate at once per mode (429 reports_in_progress).

Inputs: type (required), period_end (required), period_start (required).

create_split_ruleCreate a split ruleA
Destructive

Create a split rule.

Create a split rule that shares each payment’s net amount (after fees) with one or more subaccounts. The rest stays in your balance.

percentage shares are basis points (2500 = 25%); flat shares are kobo, capped at the net amount. Pass the rule id as split when you create a payment, checkout session, payment link, invoice or subscription. The split is frozen on each payment when it is created.

In live mode this sends real money or changes where money is paid, and it cannot be undone. Before calling, confirm the exact amount (in kobo) and the destination with the user.

Inputs: name (required), type (required), allocations (required), metadata, +1 more.

create_subaccountCreate a subaccount (a seller/vendor on your platform) with a verified payout accountA
Destructive

Create a subaccount (a seller/vendor on your platform) with a verified payout account.

Create a subaccount: a seller, vendor or branch on your platform with its own balance and payout account. The payout account is verified by name enquiry (400 account_not_resolved if it can’t be resolved). Payments share their net amount with subaccounts through split rules.

In live mode this sends real money or changes where money is paid, and it cannot be undone. Before calling, confirm the exact amount (in kobo) and the destination with the user.

Inputs: name (required), bank_code (required), account_number (required), email, +2 more.

create_subscriptionSubscribe a customer to a planA

Subscribe a customer to a plan.

Subscribe a customer to a plan. The first period’s invoice is issued at start_date (default now) and each later one at the end of the period, due after days_until_due days.

Nothing is ever debited automatically; Nigerian bank transfers are push payments. With collection_method: invoice the customer pays each period through its hosted invoice page. With dedicated_account, the customer also gets a dedicated virtual account and an exact transfer into it pays the open invoice.

A customer can have one live subscription per plan (409 subscription_exists).

Inputs: plan (required), customer (required), collection_method (required), split, +4 more.

create_transferSend money from your available balanceA
DestructiveIdempotent

Send money from your available balance.

Send money from your available balance to any Nigerian bank account. Idempotency-Key is required: if the request times out, retry with the same key and you will get the original transfer, never a second one.

Resolve the account first with POST /api/v1/transfers/name-enquiry. The amount plus fees (total_debit) is reserved from your available balance immediately (400 insufficient_funds otherwise). The minimum transfer is ₦10.00 (400 amount_below_minimum) and narration is limited to 50 characters.

A transfer whose outcome isn’t known yet stays processing; it is never reported failed until it is confirmed. Listen for transfer.succeeded / transfer.failed. A failed transfer releases the reserved funds.

Money-out can be refused by your risk limits (403 risk_limit_exceeded), an operator hold (403 funds_on_hold), live-mode verification (403 compliance_verification_required) or transfers not being enabled for your account (403 transfers_disabled).

In live mode this sends real money or changes where money is paid, and it cannot be undone. Before calling, confirm the exact amount (in kobo) and the destination with the user.

Choose an idempotency_key and reuse it if you retry this call, so it can never happen twice.

Inputs: amount (required), currency (required), narration (required), reference (required), +3 more.

create_virtual_accountCreate a virtual accountA

Create a virtual account.

Create a virtual account (a real NUBAN that routes into your balance).

Dedicated (type: dedicated, needs customer_id): a permanent account for one customer. Every transfer into it creates a succeeded payment with source: dedicated_virtual_account, whatever the amount. Close it when you no longer want to receive money through it.

Dynamic (type: dynamic, needs amount and reference): a single-use account for one exact amount. This is the same as creating a payment with POST /api/v1/payments; the response is the account, and the payment id is in payment.

Inputs: type (required), amount, currency, metadata, +4 more.

create_webhook_endpointRegister a webhook endpoint. The signing secret is returned only in this response.A

Register a webhook endpoint. The signing secret is returned only in this response.

Register a publicly reachable endpoint to receive events (https is required for live mode; private network addresses are refused). Subscribe to specific enabled_events or * for all. The signing secret (whsec_…) is returned only in this response: store it to verify X-PletoPay-Signature. You can have up to 16 endpoints per mode (400 webhook_endpoint_limit_reached).

Inputs: url (required), enabled_events (required), description, idempotency_key.

delete_webhook_endpointDelete a webhook endpoint (deliveries stop; history is kept)B
DestructiveIdempotent

Delete a webhook endpoint (deliveries stop; history is kept).

Delete a webhook endpoint. Deliveries to it stop; its delivery history is kept.

Inputs: id (required).

download_reportDownload a finished report (CSV)A
Read-onlyIdempotent

Download a finished report (CSV).

Download a finished report as CSV. The X-Content-SHA256 response header carries the file’s hash (it matches the report’s sha256). A report still generating returns 409 report_not_ready; an expired file returns 409 report_expired.

Inputs: id (required).

expire_checkout_sessionExpire an open checkout sessionA
Destructive

Expire an open checkout session.

Expire an open checkout session so the customer can no longer pay through it. A session that is already complete or expired returns 409.

Inputs: id (required).

finalize_invoiceFinalize an invoiceA

Finalize an invoice.

Finalize a draft invoice: it gets its number, the amounts are frozen, and hosted_invoice_url becomes a payable page to send to your customer. A zero total or a past due date can’t be finalized.

Inputs: id (required).

get_balanceRetrieve your balancesB
Read-onlyIdempotent

Retrieve your balances.

Your balances in this mode, computed from the double-entry ledger:

  • available: can be sent as transfers, refunds or settlements.

  • pending: received but not yet available.

  • held: on hold.

  • unapplied: received money under review.

  • settling: reserved by an open settlement.

  • total: the sum of the above. settled_total: the lifetime amount paid out by completed settlements.

Inputs: no named parameters.

get_checkout_sessionRetrieve a checkout sessionC
Read-onlyIdempotent

Retrieve a checkout session.

Retrieve a checkout session by id (cs_…).

Inputs: id (required).

get_checkout_session_by_referenceRetrieve a checkout session by your referenceA
Read-onlyIdempotent

Retrieve a checkout session by your reference.

Retrieve a checkout session by the reference you gave when creating it (unique per mode). An unknown reference returns 404 resource_missing.

Inputs: reference (required).

get_customerRetrieve a customerC
Read-onlyIdempotent

Retrieve a customer.

Retrieve a customer by id (cus_…).

Inputs: id (required).

get_docRead a Pletopay guideA
Read-onlyIdempotent

Returns one Pletopay guide as markdown, by its slug (from search_docs, or one of the listed slugs).

Inputs: slug (required).

get_eventRetrieve an eventC
Read-onlyIdempotent

Retrieve an event.

Retrieve an event by id (evt_…).

Inputs: id (required).

get_invoiceRetrieve an invoiceC
Read-onlyIdempotent

Retrieve an invoice.

Retrieve an invoice by id (inv_…).

Inputs: id (required).

get_paymentRetrieve (verify) a paymentA
Read-onlyIdempotent

Retrieve (verify) a payment.

Retrieve a payment by id (pay_…). This is the authoritative way to verify a payment server-side before you deliver value: check status is succeeded and amount_received is what you expect.

Inputs: id (required), expand.

get_payment_by_referenceRetrieve (verify) a payment by your referenceA
Read-onlyIdempotent

Retrieve (verify) a payment by your reference.

Retrieve a payment by the reference you gave it. Useful when you stored your order id but not the Pletopay payment id.

Inputs: reference (required), expand.

get_planRetrieve a planC
Read-onlyIdempotent

Retrieve a plan.

Retrieve a plan by id (plan_…).

Inputs: id (required).

get_refundRetrieve a refundC
Read-onlyIdempotent

Retrieve a refund.

Retrieve a refund by id (re_…).

Inputs: id (required).

get_refund_by_referenceRetrieve a refund by its referenceA
Read-onlyIdempotent

Retrieve a refund by its reference.

Retrieve a refund by its reference (unique per mode). A refund created without one is given a generated reference, returned in its reference field. An unknown reference returns 404 resource_missing.

Inputs: reference (required).

get_reportRetrieve a reportC
Read-onlyIdempotent

Retrieve a report.

Retrieve a report by id (rpt_…).

Inputs: id (required).

get_risk_limitsYour effective risk limits (kobo; 0 = no limit)B
Read-onlyIdempotent

Your effective risk limits (kobo; 0 = no limit).

Your effective risk limits in this mode, in kobo (0 = no limit). Transfers and refunds over a limit are refused with 403 risk_limit_exceeded; received payments over high_value_payment are flagged, never refused.

Inputs: no named parameters.

get_settlementRetrieve a settlementA
Read-onlyIdempotent

Retrieve a settlement.

Retrieve a settlement by id (stl_…), including its fees and the payout transfer’s status.

Inputs: id (required).

get_split_ruleRetrieve a split ruleB
Read-onlyIdempotent

Retrieve a split rule.

Retrieve a split rule by id (spl_…).

Inputs: id (required).

get_statementBalance statement: opening, credits, debits, closing per balanceB
Read-onlyIdempotent

Balance statement: opening, credits, debits, closing per balance.

Opening balance, credits, debits and closing balance for each of your balances over a period, computed from the ledger.

Inputs: period_end (required), period_start (required).

get_subaccountRetrieve a subaccountC
Read-onlyIdempotent

Retrieve a subaccount.

Retrieve a subaccount by id (sub_…).

Inputs: id (required).

get_subaccount_balanceA subaccount's balances (from the ledger)B
Read-onlyIdempotent

A subaccount's balances (from the ledger).

A subaccount’s pending, available and settling balances, read from the ledger.

Inputs: id (required).

get_subscriptionRetrieve a subscriptionC
Read-onlyIdempotent

Retrieve a subscription.

Retrieve a subscription by id (sbs_…).

Inputs: id (required).

get_transferRetrieve a transferC
Read-onlyIdempotent

Retrieve a transfer.

Retrieve a transfer by id (trf_…).

Inputs: id (required).

get_transfer_by_referenceRetrieve a transfer by your referenceA
Read-onlyIdempotent

Retrieve a transfer by your reference.

Retrieve a transfer by the reference you gave when sending it. References are unique per mode, so this is a safe way to check a transfer after a timeout when you never received its id. An unknown reference returns 404 resource_missing.

Inputs: reference (required).

get_virtual_accountRetrieve a virtual accountC
Read-onlyIdempotent

Retrieve a virtual account.

Retrieve a virtual account by id (va_…).

Inputs: id (required).

get_virtual_account_by_referenceRetrieve a dynamic virtual account by your referenceA
Read-onlyIdempotent

Retrieve a dynamic virtual account by your reference.

Retrieve a dynamic virtual account by the reference you gave when creating it (the same reference as its payment). Dedicated accounts have no reference: retrieve them by id, or list them with customer. An unknown reference returns 404 resource_missing.

Inputs: reference (required).

get_webhook_endpointRetrieve a webhook endpointC
Read-onlyIdempotent

Retrieve a webhook endpoint.

Retrieve a webhook endpoint by id (we_…).

Inputs: id (required).

list_banksList supported banksA
Read-onlyIdempotent

List supported banks.

List the banks you can send transfers to, with the code to use as bank_code. The list is cached for an hour.

Inputs: no named parameters.

list_checkout_sessionsList checkout sessionsC
Read-onlyIdempotent

List checkout sessions.

List checkout sessions. Filter by status or by the payment_link that started them.

Inputs: limit, status, created, payment_link, +2 more.

list_customersList customersB
Read-onlyIdempotent

List customers.

List your customers. Filter by email to find a customer you created earlier.

Inputs: email, limit, created, ending_before, +1 more.

list_endpoint_deliveriesDeliveries to this endpointB
Read-onlyIdempotent

Deliveries to this endpoint.

Delivery attempts to this endpoint, with response status, error and timing. Filter by status.

Inputs: id (required), limit, status, created, +2 more.

list_event_deliveriesDelivery history for an eventC
Read-onlyIdempotent

Delivery history for an event.

Every delivery of this event to your endpoints.

Inputs: id (required).

list_eventsList eventsB
Read-onlyIdempotent

List events.

List events, the same objects delivered to your webhooks. Filter by type or by resource_id (e.g. a payment id) to see everything that happened to one object. Use it to catch up after downtime.

Inputs: type, limit, created, resource_id, +2 more.

list_invoicesList invoicesB
Read-onlyIdempotent

List invoices.

List invoices. Filter by status, customer or the subscription that issued them.

Inputs: limit, status, created, customer, +3 more.

list_paymentsList paymentsB
Read-onlyIdempotent

List payments.

List payments. Filter by status, customer, reference, virtual_account, amount received (amount[gte], amount[lte], in kobo) and creation time. Add expand[]=customer to embed the customer object.

Inputs: q, limit, amount, expand, +7 more.

list_plansList plansC
Read-onlyIdempotent

List plans.

List your plans.

Inputs: limit, created, ending_before, starting_after.

list_refundsList refundsB
Read-onlyIdempotent

List refunds.

List refunds. Filter by payment to see the refunds of one payment.

Inputs: limit, created, payment, ending_before, +1 more.

list_reportsList reportsC
Read-onlyIdempotent

List reports.

List reports. Filter by type or status.

Inputs: type, limit, status, created, +2 more.

list_risk_eventsList risk events (blocked and flagged activity)B
Read-onlyIdempotent

List risk events (blocked and flagged activity).

List risk events: money movements blocked by your risk limits and payments flagged for review (high value, customer velocity, blocked customers). Filter by review_status.

Inputs: limit, created, ending_before, review_status, +1 more.

list_sandbox_test_valuesList the sandbox test values (test mode only)A
Read-onlyIdempotent

List the sandbox test values (test mode only).

Test mode only (403 test_mode_only with a live key). Recipient account numbers that give a payout (or a refund) a fixed outcome in test mode, so you can test failures on purpose: declined, processing then succeeded, processing then failed, a timeout confirmed by a status check, and an account that is not found.

Use them as the recipient of a payout, or as sender_account_number when you simulate a transfer, to test what happens to a refund. Any other number succeeds.

Test mode only: needs an sk_test_ key.

Inputs: no named parameters.

list_settlement_itemsLedger movements covered by a settlementA
Read-onlyIdempotent

Ledger movements covered by a settlement.

Every movement of your available balance up to the settlement’s cutoff that this settlement accounts for. Use it to reconcile a payout against the payments and transfers behind it.

Inputs: id (required).

list_settlementsList settlements (payouts of your available balance to your bank account)B
Read-onlyIdempotent

List settlements (payouts of your available balance to your bank account).

List settlements: payouts of your available balance (or a subaccount’s) to the settlement account you set in the dashboard, on your schedule or on demand. Filter by status or subaccount.

Inputs: limit, status, created, subaccount, +2 more.

list_split_rulesList split rulesC
Read-onlyIdempotent

List split rules.

List your split rules.

Inputs: limit, created, ending_before, starting_after.

list_subaccountsList subaccountsC
Read-onlyIdempotent

List subaccounts.

List your subaccounts.

Inputs: limit, created, ending_before, starting_after.

list_subscriptionsList subscriptionsC
Read-onlyIdempotent

List subscriptions.

List subscriptions. Filter by status or customer.

Inputs: limit, status, created, customer, +2 more.

list_transactionsList ledger transactionsB
Read-onlyIdempotent

List ledger transactions.

Every ledger journal that moved your balances, with its signed effect per balance (credits to you are positive) and the object that caused it. Filter by journal type or by source. Use it for reconciliation.

Inputs: type, limit, source, created, +2 more.

list_transfersList transfersC
Read-onlyIdempotent

List transfers.

List transfers. Filter by status and creation time.

Inputs: limit, status, created, ending_before, +1 more.

list_virtual_accountsList virtual accountsC
Read-onlyIdempotent

List virtual accounts.

List virtual accounts. Filter by type, status, customer or account_number.

Inputs: type, limit, status, created, +4 more.

list_webhook_endpointsList webhook endpointsC
Read-onlyIdempotent

List webhook endpoints.

List your webhook endpoints with their delivery health.

Inputs: limit, created, ending_before, starting_after.

mark_invoice_uncollectibleMark an invoice uncollectible (it can still be paid)B
Destructive

Mark an invoice uncollectible (it can still be paid).

Mark an open invoice uncollectible for your records. The customer can still pay it.

Inputs: id (required).

replay_eventRe-deliver an eventA

Re-deliver an event.

Deliver an event again, to every endpoint subscribed to it or to one endpoint. The payload and X-PletoPay-Event-ID are unchanged, so your de-duplication still applies. Replays are limited per business (429 rate_limited, see Retry-After).

Inputs: id (required), endpoint, idempotency_key.

resolve_accountResolve a bank account name before sendingA
Read-onlyIdempotent

Resolve a bank account name before sending.

Look up the account name for a bank code and account number (NIP name enquiry). Show the name to the person sending money before they confirm. An account that can’t be resolved returns 400 account_not_resolved. In live mode, lookups need an approved business verification and count toward the money-movement rate limit.

Inputs: bank_code (required), account_number (required).

rotate_webhook_secretRotate the signing secretA
Destructive

Rotate the signing secret.

Replace the endpoint’s signing secret. The new secret is returned only in this response, and deliveries are signed with it from now on.

Inputs: id (required).

search_docsSearch the Pletopay docsA
Read-onlyIdempotent

Search the Pletopay guides (payments, virtual accounts, transfers, refunds, checkout, webhooks, errors, testing, going live). Returns the best-matching sections with a link and a snippet; read a whole page with get_doc.

Inputs: query (required), limit.

set_customer_risk_statusSet a customer's risk statusA

Set a customer's risk status.

Set a customer’s risk status. blocked customers can’t be issued new payments or accounts (409 customer_blocked); elevated is informational.

Inputs: id (required), status (required), reason.

simulate_transferSimulate a customer bank transfer (test mode only)A

Simulate a customer bank transfer (test mode only).

Test mode only (403 test_mode_only with a live key). Simulate a transfer into one of your test virtual accounts, as a customer would make it.

The transfer then flows through the same pipeline as live money: the payment moves to succeeded and webhooks are sent. A wrong amount into an exact-amount account is refused (400 simulation_rejected), as a real transfer would be. An account that is not active (for example a one-time account that already received its payment) is refused before anything is sent (409 virtual_account_not_active). A 202 only means the simulation was accepted; watch the payment or its events for the outcome.

Test mode only: needs an sk_test_ key.

Inputs: amount (required), account_number (required), sender_name, sender_account_number.

test_webhook_endpointSend a signed webhook.test event to this endpoint onlyA

Send a signed webhook.test event to this endpoint only.

Send a signed webhook.test event to this endpoint only, to check your signature verification and connectivity. The endpoint must be enabled (409 endpoint_disabled). Test sends are limited per business (429 rate_limited, see Retry-After).

Inputs: id (required).

update_customerUpdate a customerA
Idempotent

Update a customer.

Update a customer’s email, name or phone. metadata is merged into the existing metadata. Changing the email to one another customer uses returns 409 customer_exists. Set a metadata key to "" to delete it; the merged metadata may have at most 50 keys (400 metadata_too_large).

Inputs: id (required), name, email, phone, +2 more.

update_invoiceUpdate a draft invoiceA
Idempotent

Update a draft invoice.

Change a draft invoice’s customer, items, taxes, due date, memo or metadata. Only drafts can be changed (409 invoice_not_draft).

Inputs: id (required), memo, items, taxes, +3 more.

update_planUpdate or deactivate a planB
Idempotent

Update or deactivate a plan.

Rename a plan or deactivate it. Inactive plans take no new subscriptions; existing subscriptions continue.

Inputs: id (required), name, active, description.

update_split_ruleActivate or deactivate a split ruleA
DestructiveIdempotent

Activate or deactivate a split rule.

Activate or deactivate a split rule. Deactivated rules can’t be used for new payments; payments already created keep their frozen split.

In live mode this sends real money or changes where money is paid, and it cannot be undone. Before calling, confirm the exact amount (in kobo) and the destination with the user.

Inputs: id (required), active (required).

update_subaccountUpdate a subaccountA
DestructiveIdempotent

Update a subaccount.

Update a subaccount’s name, email, status or metadata. Changing the payout account (bank_code with account_number) re-runs name enquiry, and the new account is used only after a cooldown (settlement_account.usable_from) to protect against account takeover.

In live mode this sends real money or changes where money is paid, and it cannot be undone. Before calling, confirm the exact amount (in kobo) and the destination with the user.

Inputs: id (required), name, email, status, +3 more.

update_webhook_endpointUpdate a webhook endpoint (re-enabling resets its health)A
Idempotent

Update a webhook endpoint (re-enabling resets its health).

Change an endpoint’s URL, events or description, or disable and re-enable it. Re-enabling an endpoint that was auto-disabled after repeated failures resets its health.

Inputs: id (required), url, status, description, +1 more.

void_invoiceVoid an invoiceA
Destructive

Void an invoice.

Void an open or uncollectible invoice so it can no longer be paid. Invoices in any other status return 409 invoice_not_open.

Inputs: id (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 85 tools

    Disambiguation4/5

    Most tools are clearly separated by resource and action, and the by-reference lookup variants are explicitly named. A few overlaps remain, notably create_payment versus dynamic create_virtual_account, which describe the same underlying operation, and the event/delivery tools require careful reading to distinguish.

    Naming Consistency5/5

    The tool set uses a consistent snake_case verb_noun pattern throughout: get_, list_, create_, update_, delete_, plus clear lifecycle verbs such as close_, expire_, finalize_, void_, cancel_, rotate_, and replay_. Reference lookups follow a predictable get_<resource>_by_reference pattern with only minor compound names.

    Tool Count1/5

    85 tools is far above a well-scoped MCP tool set and forces agents to choose among a very large number of resource-specific endpoints. Even for a broad payments platform, this surface is heavy and could be consolidated, especially reference-lookup variants, event delivery tools, and CRUD groups.

    Completeness5/5

    The surface covers full lifecycle operations for core domains: payments, virtual accounts, customers, subaccounts, splits, transfers, refunds, invoices, subscriptions, plans, checkout sessions, payment links, webhooks/events, reports, risk, settlements, docs, and sandbox tools. It includes create/get/list/update/lifecycle and reconciliation operations, with no obvious dead end for the stated payments purpose.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to interact with Juspay's payment processing APIs and merchant dashboard for managing orders, transactions, refunds, customers, gateways, and reporting through natural language.
      22
      Apache 2.0
    • A
      license
      A
      quality
      D
      maintenance
      Enables AI assistants to interact with the full range of Paystack APIs, allowing operations like transaction management, customer creation, and payments through natural language.
      2
      92 npm
      56
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Provides AI assistants with read and safe-write access to Alternative Payments customers, invoices, payment requests, transactions, payouts, and webhooks without directly moving money.
      Apache 2.0
    • F
      license
      Not graded
      quality
      C
      maintenance
      Enables conversational AI agents to manage Razorpay payments directly, including payment lookups, order creation, refunds, UPI QR generation, and real-time webhook triage via the Model Context Protocol.
      -