NewMeet the PayNext AI agent — ask about your payments in natural language Learn more →

Intelligence

AI Agent

Ask about your payments in natural language, in the AI client you already use. Connected over MCP and scoped to your organization.

AIPayNext Agentvia MCP

What's our acceptance rate for UK Visa cards, by processor?

Worldpay leads on UK Visa by 2.7 points over Stripe across 41,208 attempts.

  • Claude
  • Claude Code
  • Cursor
Tool callread-only

payments_analytics_query

terms: processor.name · filter: bin_data.country = GB

Worldpay91.4%
Stripe88.7%
Unlimit84.2%

Every query is wrapped in your organization filter, server-side.

Eleven tools,and your whole payments account behind them

Search payments and customers, open a single record, aggregate the entire book, reconstruct one payment's timeline, issue a refund, end a subscription. It is the same API your dashboard runs on — anything you can look up there, you can simply ask for here.

  • get_paymentsSearch payments in a query language, cursor-paginated.read-only
  • get_payment_by_idOne full payment record, strongly consistent.read-only
  • get_payment_timelineThe complete event log for a single payment.read-only
  • payments_analytics_queryAggregations over the whole payments index in one call.read-only
  • get_customersSearch customers, with their payment methods and subscriptions.read-only
  • get_customer_by_idOne full customer record.read-only
  • current_organizationWhich organization this session is scoped to.read-only
  • list_my_organizationsEvery organization you belong to, with your role.read-only
  • set_active_organizationSwitch the session to another of your organizations.read-only
  • refund_paymentRefund a payment.destructive
  • cancel_subscriptionCancel now, or schedule it.destructive

Two of the eleven move money, and they say so in the contract the model reads: “REQUIRES USER CONFIRMATION. Do not call autonomously.” Each must surface the amount, the customer and the id before it asks, and carries an idempotency key so a retry cannot refund twice.

Two servers,and you already have the client

No SDK to install and nothing to host. Add the URL to a client you already use, sign in once, and your payments are in the conversation.

Documentation

docs.paynext.com/mcp

No credentials

Read-only, open. Point any client at it and ask how something works before you have an account.

Account

mcp.paynext.com/mcp

Sign in with PayNext

Your real payments, customers and subscriptions, scoped to the organization you pick.

Clients we document

  • Claude
  • Claude Code
  • Cursor

Each has a step-by-step guide in the docs. Other MCP clients speak the same protocol, but these are the three we have written up and keep current.

It uses our definitions,not ones it made up

Ask two people for an acceptance rate and you get two numbers. The server ships the canonical query for each metric, so the answer you get from the agent is the answer the dashboard would give.

Metrics that ship with it

  • Revenue
  • Acceptance rate
  • Refund rate
  • Cancellation rate
  • Decline breakdown
  • Authorized but unsettled
  • Incomplete payments
  • Payments created

Alongside them: the data model, the field mapping and a query cheatsheet, so the agent does not have to guess at your schema.

Four prompts, ready to run

  • analyze_revenue

    Revenue over a period, split how you ask for it.

  • decline_analysis

    What is failing, by code, and whether it is worth another attempt.

  • subscription_health

    Trials, active, past due — and who is about to churn.

  • analyze_payment_timeline

    One payment, reconstructed step by step.

Everything included

Natural-language queries

Ask about acceptance rates, declines, revenue and trends without writing a query.

Eleven tools

Search, aggregate, open a record, reconstruct a timeline, refund, cancel — over the same API your dashboard runs on.

Real aggregations

One call runs an aggregation across the whole payments index — not a page-by-page crawl.

Payment timelines

Reconstruct any single payment step by step, including every processor attempt and why each failed.

Canonical metrics

Acceptance rate, refund rate, decline breakdown and more ship with the server, so the agent uses our definitions.

Organization-scoped

Every query is scoped to your organization on the server, whatever the model asks for.

Confirmation on refunds

Refunds and cancellations declare themselves destructive and must surface the amount and customer before running.

Idempotent by construction

Actions carry an idempotency key, so a retried request cannot refund the same payment twice.

Redacted transport

Processor request and response bodies are stripped server-side before a timeline ever reaches the model.

OAuth sign-in

Sign in with PayNext. The consent screen names the app, the redirect and the scopes.

Multi-organization

Switch the session between the organizations you belong to, without reconnecting the client.

Docs server, no account needed

A second, credential-free server answers questions about how PayNext works.

See AI Agent in action

Tell us about your payment stack and we'll show you exactly how PayNext fits.