• TRIAGE
  • INVESTIGATION
  • RECOVERY
  • HUMAN

How to troubleshoot failed payments with your AI

Connect Durianpay to your AI client to turn raw transaction logs into actionable answers. Once connected, your agent handles the data digging for you.

Ask AI about this page

Short answer

How do I troubleshoot failed payments with my AI?

Your AI uses Durianpay tools to pull lists of declined orders and fetch deep technical details for specific failures. You get the exact reason for a decline without manually searching through a payment dashboard. This breakdown shows you how to move from a vague error to a specific fix.

Where every issue lands.

Troubleshooting outcomes

The AI sorts payment data into these specific categories to help you act.

TRIAGE

Identify decline patterns

The AI scans recent failures to find common threads like specific banks or error codes. You get a clear view of whether a problem is isolated or widespread.

INVESTIGATION

Deep dive into orders

Your agent pulls the specific metadata and status for a single transaction. You'll see exactly what happened at the moment of the attempt.

RECOVERY

Prepare customer support

The AI summarizes the failure reason so you can tell a customer exactly why their card didn't work. This saves you from digging through logs during a live chat.

HUMAN

Manual intervention needed

If the AI identifies a systemic issue with a payment gateway, it flags it for you. You decide if you need to contact the provider or adjust your checkout flow.

The workflow

What your AI does when a payment fails.

The AI acts as a bridge between your payment gateway and your chat interface.

  1. Scan for failures

    The agent looks for any recent transactions that didn't go through to establish context.

    list_failed_transactions
  2. Isolate the order

    Once a problematic transaction is found, the AI pulls the specific order record to see the customer's intent and amount.

    get_payment_order_details
  3. Analyze the error

    The agent pulls the granular payment data to find the specific decline reason provided by the processor.

    get_payment_details
  4. Report findings

    The AI presents the error code and the transaction status in plain language for you to review.

    get_payment_details

Try it

Copy these to start.

Use these prompts to trigger the Durianpay tools.

Starting points

These are starting points. Swap out the specific order IDs or timeframes with your actual data.

Durianpay Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_BHb6l980MsoMR2kLN0zVJt1nSz91dKYR9lsmjV5d/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 — Durianpay capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "durianpay-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_BHb6l980MsoMR2kLN0zVJt1nSz91dKYR9lsmjV5d/mcp"
    }
  }
}
Copy into chat04
  • Show me all the failed transactions from the last hour.

  • Why did order ID 98765 fail?

  • List the most recent declined payments and tell me the common error reason.

  • Get the full details for the payment with ID pay_abc123 to see why it was rejected.

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

Start here

Connect Durianpay once, then ask.

Just link your account once. Your credentials stay encrypted, and you can immediately start asking questions about your real-time payment data.

Connect Durianpay to your AI

FAQ

How this task behaves

  • 01

    Can the AI refund a failed payment?

    No. The AI can only read and analyze transaction data. You must handle refunds through your payment provider.

  • 02

    Can the AI change the status of a transaction?

    No. The tools only allow the AI to retrieve information. It cannot modify any payment records or order statuses.

  • 03

    Does the AI see my full credit card numbers?

    No. The AI only accesses the data provided by the Durianpay API, which excludes sensitive PCI-regulated information like full card numbers.

  • 04

    How recent is the data the AI sees?

    The data is real-time. When the AI runs a tool, it fetches the most current information available in your Durianpay account.

  • 05

    Can I use this to fix my checkout code?

    The AI can identify why payments are failing, but it cannot access or edit your website's source code.

  • More questions about Durianpay? The Connector page answers them. See everything the Durianpay Connector can do

Connect Durianpay to Claude, Cursor, ChatGPT & more