Build with AI agents
Using Claude Code, Cursor or Codex? Install the matching setup skill, then paste a prompt, and your agent gets the secure integration steps baked in.
┌────────────────────────────────────────────────────┐
│ 1. CHOOSE A GATEWAY │
│ Compare fees + features here on MPG │
└────────────────────────────────────────────────────┘
│
│ sign up
▼
┌────────────────────────────────────────────────────┐
│ 2. CREATE AN ACCOUNT │
│ Get SANDBOX (test) API keys │
└────────────────────────────────────────────────────┘
│
│ optional
▼
┌────────────────────────────────────────────────────┐
│ 3. INSTALL THE AI SKILL │
│ npx skills@latest add ... --skill setup-<gw> │
│ then paste the "Copy prompt" button │
└────────────────────────────────────────────────────┘
│
│ build
▼
┌────────────────────────────────────────────────────┐
│ 4. WIRE THE INTEGRATION │
│ Checkout + signed webhook + settlement │
│ (your agent follows the safe flow) │
└────────────────────────────────────────────────────┘
│
│ configure
▼
┌────────────────────────────────────────────────────┐
│ 5. SET THE WEBHOOK URL │
│ In the sandbox dashboard │
└────────────────────────────────────────────────────┘
│
│ test
▼
┌────────────────────────────────────────────────────┐
│ 6. TEST IN SANDBOX │
│ Pay end to end; confirm it unlocks once │
└────────────────────────────────────────────────────┘
│
│ ship
▼
╔════════════════════════════════════════════════════╗
║ 7. GO LIVE ║
║ Switch to LIVE keys + live webhook URL ║
║ Keep sandbox and live keys separate ║
╚════════════════════════════════════════════════════╝How it works
- 1. Install the gateway's skill into your agent (one command, below).
- 2. Open the gateway's page here and hit Copy prompt, or write your own.
- 3. Paste it to your agent. The skill enforces the safe flow: verified webhooks, idempotent settlement, no fake-redirect unlock.
Available setup skills
From afu-it/malaysia-payment-gateway. Click an install command to copy it.
MCP, API & webhooks
MCP (Model Context Protocol) lets an AI tool talk to a gateway's API directly, the smoothest path for agent-driven integration. A gateway either ships an official MCP server, has a community one, or none yet.
Official MCP
Airwallex (Malaysia), Antom, Curlec (by Razorpay), HitPay, Stripe Malaysia
Community MCP
Bayarcash, Billplz, NTTDataPay (formerly iPay88), Xendit
No MCP doesn't mean hard to integrate. Most gateways expose a standard REST API + webhooks and e-commerce plugins (WooCommerce, Shopify…). Each gateway page lists its API docs, webhook support and plugins under Developer experience.