{"slug": "vietqr-payments-for-ai-agents-no-stripe-setup", "title": "VietQR Payments for AI Agents—No Stripe Setup", "summary": "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.", "body_md": "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.\n\nWhat if your AI could generate a QR code that points *directly* to your business bank account?\n\n**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:\n\nNo middleman. No fund holding. The QR points straight to your merchant account.\n\nAgentPay 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.\n\n```\npip install agentpay-vn\n```\n\nOr run the MCP server for Claude Desktop / Code:\n\n```\npip install agentpay-mcp\npython\nfrom agentpay import AgentPayClient\n\nclient = AgentPayClient(\n    api_key=\"your_api_key\",\n    merchant_id=\"your_merchant_id\"\n)\n\n# Step 1: Create payment request\npayment = client.create_payment_request(\n    amount=100000,  # 100K VND\n    description=\"AI consulting session\",\n    order_id=\"order_12345\"\n)\n\nprint(f\"Checkout URL: {payment.checkout_url}\")\n# Share with customer → they scan QR → money hits your bank\n\n# Step 2: Poll for settlement\nimport time\nwhile True:\n    status = client.get_payment_status(payment.id)\n    if status.settled:\n        print(\"✓ Payment confirmed! Triggering downstream workflow...\")\n        break\n    time.sleep(5)\n```\n\nAdd to your Claude Desktop config (`claude_desktop_config.json`\n\n):\n\n```\n{\n  \"mcpServers\": {\n    \"agentpay\": {\n      \"command\": \"python\",\n      \"args\": [\"-m\", \"agentpay_mcp.server\"],\n      \"env\": {\n        \"AGENTPAY_API_KEY\": \"your_api_key\",\n        \"AGENTPAY_MERCHANT_ID\": \"your_merchant_id\"\n      }\n    }\n  }\n}\n```\n\nNow Claude can:\n\nAgentPay 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.\n\nTry it. Open an issue. Build something interesting.", "url": "https://wpnews.pro/news/vietqr-payments-for-ai-agents-no-stripe-setup", "canonical_source": "https://dev.to/ai_services_f9c382bdb33b9/vietqr-payments-for-ai-agents-no-stripe-setup-3d9f", "published_at": "2026-06-14 04:26:00+00:00", "updated_at": "2026-06-14 05:29:14.035094+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-products", "generative-ai", "large-language-models"], "entities": ["AgentPay", "VietQR", "Stripe", "SePay", "Claude", "Python", "MCP"], "alternates": {"html": "https://wpnews.pro/news/vietqr-payments-for-ai-agents-no-stripe-setup", "markdown": "https://wpnews.pro/news/vietqr-payments-for-ai-agents-no-stripe-setup.md", "text": "https://wpnews.pro/news/vietqr-payments-for-ai-agents-no-stripe-setup.txt", "jsonld": "https://wpnews.pro/news/vietqr-payments-for-ai-agents-no-stripe-setup.jsonld"}}