cd /news/ai-agents/vietqr-payments-for-ai-agents-no-str… · home topics ai-agents article
[ARTICLE · art-26750] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

VietQR Payments for AI Agents—No Stripe Setup

AgentPay, an open-source Python SDK and MCP server, enables AI agents to collect VietQR payments directly to a business bank account without intermediaries. The tool bypasses Stripe and traditional gateways by generating QR codes that point straight to the merchant's account and uses SePay feed to confirm settlement. Developers can integrate it with Claude or local LLMs in three lines of logic.

read1 min publishedJun 14, 2026

Building AI agents in Vietnam that need to collect payments? Stripe doesn't support VietQR, and integrating traditional payment gateways means managing API keys, webhooks, and fund settlement delays. Most solutions require your agent to hold or route money through intermediaries.

What if your AI could generate a QR code that points directly to your business bank account?

AgentPay is an open-source (MIT) Python SDK + MCP server that lets Claude, local LLMs, and custom agents collect VietQR payments in three lines of logic:

No middleman. No fund holding. The QR points straight to your merchant account.

AgentPay reads your bank's SePay feed to confirm when a payment settles. It doesn't touch the money—it just watches for it. Your AI agent can then trigger downstream workflows (send invoice, unlock feature, etc.) once settlement is confirmed.

pip install agentpay-vn

Or run the MCP server for Claude Desktop / Code:

pip install agentpay-mcp
python
from agentpay import AgentPayClient

client = AgentPayClient(
    api_key="your_api_key",
    merchant_id="your_merchant_id"
)

payment = client.create_payment_request(
    amount=100000,  # 100K VND
    description="AI consulting session",
    order_id="order_12345"
)

print(f"Checkout URL: {payment.checkout_url}")

import time
while True:
    status = client.get_payment_status(payment.id)
    if status.settled:
        print("✓ Payment confirmed! Triggering downstream workflow...")
        break
    time.sleep(5)

Add to your Claude Desktop config (claude_desktop_config.json

):

{
  "mcpServers": {
    "agentpay": {
      "command": "python",
      "args": ["-m", "agentpay_mcp.server"],
      "env": {
        "AGENTPAY_API_KEY": "your_api_key",
        "AGENTPAY_MERCHANT_ID": "your_merchant_id"
      }
    }
  }
}

Now Claude can:

AgentPay strips away payment infrastructure complexity so you can focus on what your AI agent does best. No Stripe. No holding accounts. Just QR → Bank → Done.

Try it. Open an issue. Build something interesting.

── more in #ai-agents 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/vietqr-payments-for-…] indexed:0 read:1min 2026-06-14 ·