Skip to content

Integration · Payments

Connect Claude & ChatGPT to OnPay

Ask your AI what happened to an order's payment, or to capture the orders that shipped today. With OnPay connected it can search transactions by order ID or status, read their history, create payment links, and capture, refund or cancel transactions. It can also look up subscriptions and see which acquirers, providers and wallets are active.

Connect OnPay free

Free plan, no credit card. Takes about a minute.

Try asking

  • “Find the transaction for order AF-847824.”

    The AI searches transactions by the exact order ID and shows amount, status, card type and history.

  • “Which transactions from yesterday are still not captured?”

    It lists active transactions created yesterday, with order IDs and amounts.

  • “Capture transaction 1234.”

    It captures the full authorized amount. The customer's card is charged, so this can require your approval first.

What your AI can do

Transactions

Search and read transactions and their events, and capture, refund or cancel them.

Payment links and subscriptions

Create payment window links, and list, read or cancel subscriptions.

Gateway setup

Read gateway information, payment window designs, acquirers, providers and wallets.

  • “Refund 200 DKK on order AF-847801.”

    It finds the transaction and refunds 20000 in minor units. Refunds cannot be undone.

  • “Create a payment link for 1,120 DKK for order AF-900.”

    It creates the payment with your website and reference and returns the payment window link for the customer.

  • “Is MobilePay switched on for our gateway?”

    It lists the wallets on the gateway and whether each one is active.

15 tools for OnPay

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • cancel_subscriptionDeletesCancel a subscription by UUID or subscription number. No new transactions can be created from it afterwards. This cannot be undone.
  • cancel_transactionDeletesCancel an authorized transaction by UUID or transaction number so it can no longer be captured. This cannot be undone.
  • capture_transactionMoves moneyCapture (charge) an authorized transaction by UUID or transaction number. Leave out `amount` to capture the full amount. This takes the customer's money and cannot be undone.
  • create_payment_linkChanges dataCreate a payment with `currency`, `amount` in minor units (12000 = 120.00 DKK), a unique `reference` and the shop `website`, and get a payment window link to send to the customer. Set `type` to subscription to save a card for later charges.
  • get_gateway_infoGet information about the OnPay gateway the API token belongs to, such as the gateway ID. Use it to confirm which gateway you are working in.
  • get_subscriptionGet one subscription by UUID or subscription number, with card details and the transactions made from it.
  • get_transactionGet one transaction by UUID or transaction number, with amount, charged and refunded amounts, card details, cardholder data and history.
  • list_acquirersList the card acquirers on the gateway and whether each is active.
  • list_payment_window_designsList the payment window designs set up on the gateway. Use a design's name when creating a payment.
  • list_providersList payment providers such as Anyday and Klarna and whether each is active.
  • list_subscriptionsList subscriptions (saved cards for recurring charges), filtered by `status` (active, cancelled), date range, or `query` for an exact order ID or subscription number.
  • list_transaction_eventsList transaction history events, oldest first. Pass the `cursor` from the previous page to continue.
  • list_transactionsList transactions, filtered by `status` (active, cancelled, created, declined, finished, refunded, pre_auth), `date_after`/`date_before`, or `query` for an exact order ID or transaction number. Sort with `order_by` and `direction`.
  • list_walletsList wallets such as Apple Pay, Google Pay and MobilePay and whether each is active.
  • refund_transactionMoves moneyRefund a captured transaction by UUID or transaction number. Leave out `amount` to refund everything available. Money is sent back to the customer and this cannot be undone.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP account and choose OnPay from the app list.

  2. 2

    Paste your key

    Paste an OnPay API token. In the OnPay management panel go to Settings > API, press New API token, enter a name and press Create. The token gives full API access to that gateway, so keep it private.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. Switch it on from the + menu in a chat.

Questions

What can the AI do in OnPay?

The AI can search and read transactions, transaction events and subscriptions, create payment links, and capture, refund or cancel transactions and cancel subscriptions if you switch those tools on. It can also read the gateway's designs, acquirers, providers and wallets.

Does the AI see my OnPay API token?

No. Your OnPay token is encrypted at rest and never shown to the AI. After you save it, it is not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on, so you can start with reading only. Capturing and refunding move real money, and cancelling cannot be undone. These can require your approval before they run. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You also need your own OnPay account.

Can one connection cover several OnPay gateways?

No. An OnPay API token belongs to one gateway. If you have several gateways, create a token in each and add each one as its own connection.

Let your AI work in OnPay today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect OnPay free

PipMCP is not affiliated with OnPay. Product names are trademarks of their owners.