Skip to main content

HaiPay MCP

HaiPay MCP (Model Context Protocol) is an open standard AI tool integration protocol that allows AI assistants to directly access HaiPay’s payment knowledge base, API documentation, and technical resources. When you need to repeatedly consult documentation to complete integration, connecting MCP enables the AI to directly understand and apply HaiPay’s payment capabilities, helping you quickly integrate HaiPay APIs.

What MCP Can Do for You

Once connected to HaiPay MCP, you can ask your AI assistant to:
  • Quickly integrate payment features Example: Based on HaiPay documentation, help me implement a Brazil PIX collection interface, including signature logic and callback handling.
  • Query API parameter specifications Example: Show me the required fields and signature rules for the Philippines collection interface, and generate a parameter comparison table.
  • Troubleshoot integration issues Example: The order status is always PENDING. Help me check the description of the callback notification signature verification logic.
  • Generate integration code Example: Using HaiPay’s collection and payout process, write a complete payment request example in Java/PHP/Python.
  • Understand business workflows Example: Explain HaiPay’s asynchronous notification mechanism and how merchants should respond to ensure order status synchronization.

Getting Started

HaiPay MCP will provide the AI assistant with real-time access to:
  • API documentation
  • Signature rules
  • Error code descriptions
  • Supported regions and currencies
This makes your integration process more efficient and accurate. Below are examples of connecting to HaiPay MCP:
To connect the HaiPay MCP server to Cursor, click the Install in Cursor button. To manually connect the MCP server, follow these steps:
1

Open MCP Settings

  1. Use Command + Shift + P (on Windows: Ctrl + Shift + P) to open the command palette.
  2. Search for “Open MCP settings”.
  3. Select Add custom MCP. This opens the mcp.json file.
2

Configure HaiPay MCP Server

Add the following to mcp.json:
{
    "mcpServers": {
        "Haipay": {
            "url": "https://doc.haipay.net/mcp"
        }
    }
}
3

Test the Connection

In Cursor chat, type “What tools do you have available?”. Cursor should display the HaiPay MCP server as an available tool.
See Installing MCP servers in Cursor documentation for more details.
Last modified on April 16, 2026