Overview
AgentPay VN lets your AI agent collect VietQR payments without ever holding the money.
pip install agentpay-vn
from agentpay.client import AsyncAgentPayClient, await_settlement
async with AsyncAgentPayClient('ap_live_xxx') as c:
pr = await c.create_payment_request(amount=50_000, description='Order #1')
# send pr['checkout_url'] to the user
r = await await_settlement(c, pr['id'], timeout=120)
The QR points at your own bank account; AgentPay only confirms settlement.
Top comments (0)