• SUCCESS
  • PARTIAL
  • ERROR
  • HUMAN

How to process customer refunds with your AI

Connect Worldpay to your AI client once. After that, you can handle refund requests just by talking to your agent.

Ask AI about this page

Short answer

How do I issue a refund using my AI?

Give your AI a Worldpay order code. It will pull the order details and then execute a full or partial refund based on your instructions. You'll see the results of the transaction immediately.

Refund outcomes

Where the money goes

The AI handles the transaction based on your specific instructions.

SUCCESS

Refund processed

The AI executes the transaction via Worldpay. You get confirmation that the funds are being returned to the customer.

PARTIAL

Partial amount returned

If you specify a lesser amount, the AI handles the math and only refunds that specific portion of the original payment.

ERROR

Transaction failed

If the order code is wrong or the amount exceeds the original payment, your AI will tell you exactly why it couldn't finish the task.

HUMAN

Manual review needed

If the AI can't find the order or lacks the necessary permissions, it will flag the issue for you to handle in your Worldpay dashboard.

The workflow

What your AI does when the request arrives.

The AI handles the data lookup and the transaction execution.

  1. Locate the order

    The AI uses the provided Worldpay order code to find the specific transaction details.

    get_order_details
  2. Verify the amount

    It checks the original payment amount to ensure the requested refund is valid.

    get_order_details
  3. Execute the refund

    The AI sends the instruction to Worldpay to return the money to the customer.

    refund_payment_order
  4. Confirm completion

    The AI reports back whether the refund was successful or if it hit a snag.

    refund_payment_order

Try it

Copy these to start.

Use these prompts to trigger the Worldpay tools.

Starting points

Replace the order codes and amounts with your actual data.

Worldpay Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_CPOKvgw0BSSHorPFt5RQCQPbipGlVhgfRmICeqSh/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Worldpay capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "worldpay-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_CPOKvgw0BSSHorPFt5RQCQPbipGlVhgfRmICeqSh/mcp"
    }
  }
}
Copy into chat04
  • Refund the full amount for Worldpay order code 55432.

  • Can you issue a partial refund of $15.00 for order 88291?

  • Check the details for Worldpay order 10029 and tell me the total.

  • I need to refund order 77621. Is that possible?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Worldpay once, then ask.

You only need to link your account once. Your credentials stay encrypted, and you can start issuing refunds immediately through your preferred AI client.

Connect Worldpay to your AI

FAQ

How this task behaves.

  • 01

    Can the AI refund an amount larger than the original order?

    No. The AI can only process refunds up to the original transaction amount.

  • 02

    Does the AI need me to log in to Worldpay every time?

    No. You connect the MCP once, and your AI client handles the rest.

  • 03

    Can the AI delete customer profiles in Worldpay?

    No. This connector only has tools to get order details and process refunds.

  • 04

    Will the AI automatically refund every disputed order?

    No. The AI only performs actions when you explicitly tell it to via a prompt.

  • 05

    Can I refund a partial amount?

    Yes. You can specify a specific dollar amount for a partial refund in your prompt.

  • More questions about Worldpay? See everything the Worldpay Connector can do

Connect Worldpay to Claude, Cursor, ChatGPT & more