agentpay-vn
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AGENTPAY_API_KEY | Yes | Your AgentPay API key (start with ap_test_ for sandbox or ap_live_ for production). Get one from the admin dashboard or platform operator. | |
| AGENTPAY_BASE_URL | No | Base URL for the AgentPay API. Typically the default is fine for hosted version. | https://agentpay.servicesai.vn/v1 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| create_payment_requestA | Create a VietQR payment request. Args: amount: Amount in VND, minimum 1 000. description: Short description for the payer (e.g. "Order #123 — 2 kg coffee"). ttl_minutes: QR validity window in minutes (5–1 440, default 60). metadata_note: Internal note from the agent (order id, conversation id, etc.) — echoed back in webhook events. Returns:
id, pay_code, QR image URL, and checkout page URL. Send |
| check_paymentA | Check the current status of a payment request. Returns: One of: pending | settled | underpaid | expired | cancelled, along with the amount received so far. Only treat a payment as complete when status=settled. |
| await_settlementA | Wait for a payment request to be settled (polls on behalf of the agent). Polls every 5 seconds until status != pending or the timeout is reached (maximum 600 s). Call this after sending the QR to the payer. If the timeout expires while still pending, ask the user whether to keep waiting or cancel. Args:
payment_request_id: The |
| list_recent_paymentsB | List the most recently settled transactions (quick reconciliation). Args: limit: Number of transactions to return (1–50, default 10). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/phuocdu/agentpay-vn'
If you have feedback or need assistance with the MCP directory API, please join our Discord server