For Agents
Programmatically create a payment, query transaction or process refund. Covers 2 operations with apiKey authentication.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the VNPAY Payment Gateway API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fvnpay.vn%2Fvnpay-vn" | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL "https://jentic.com/install.sh?src=apis&api=%2Fapis%2Fvnpay.vn%2Fvnpay-vn" | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with VNPAY Payment Gateway API.
Create a payment
Query transaction or process refund
Integrate VNPAY Payment Gateway API into automated workflows
Query and filter VNPAY Payment Gateway API records by parameters
GET STARTED
Use for: I need to a payment, I want to query transaction or process refund, Get the current status of VNPAY Payment Gateway API resources, List all records from VNPAY Payment Gateway API
Not supported: Does not handle communications, crm, or developer tools - use for payments only.
VNPAY payment gateway API for processing online payments in Vietnam. Supports payment initiation, refunds, and transaction queries. The API exposes 2 endpoints secured with apiKey authentication.
Monitor VNPAY Payment Gateway API operational status and events
Patterns agents use VNPAY Payment Gateway API for, with concrete tasks.
★ Payments Operations
Use the VNPAY Payment Gateway API to perform payments operations programmatically. The API provides 2 endpoints covering core functionality including create a payment, query transaction or process refund.
Call POST /paymentv2/vpcpay.html to create a payment
Data Retrieval and Monitoring
Query VNPAY Payment Gateway API resources on a schedule to track changes, generate alerts, or feed downstream dashboards. Agents poll relevant endpoints, compare against previous state, and trigger actions when thresholds are crossed.
Poll the primary VNPAY Payment Gateway API endpoint, compare response to last known state, and alert if changed
AI Agent Integration via Jentic
AI agents discover and call VNPAY Payment Gateway API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle apiKey tokens manually.
Search Jentic for 'create a payment', load the operation schema, and execute with Jentic-managed credentials
2 endpoints — vnpay payment gateway api for processing online payments in vietnam.
METHOD
PATH
DESCRIPTION
/paymentv2/vpcpay.html
Create a payment
/merchant_webapi/merchant.html
Query transaction or process refund
/paymentv2/vpcpay.html
Create a payment
/merchant_webapi/merchant.html
Query transaction or process refund
What agents get from Jentic-routed access to this vendor.
Setup
Wiring VNPAY by hand means computing the HMAC SHA512 checksum for every request, choosing the sandbox or production pay host, and passing the secure hash in the query yourself. Through Jentic you install once, import VNPAY Payment Gateway from the API Directory, store the credential once, and your agent calls it.
Permission scoping
VNPAY carries its transaction data in the request rather than the URL path, so limit the agent to the operations it needs, such as the payment creation call. You choose the allowed set, so the merchant web API operation is not included unless you add it.
Credential isolation
Your VNPAY credential is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
Intent-based discovery
Agents search Jentic by intent such as 'create a payment', and Jentic returns the matching VNPAY operation with its input schema so the agent calls the right endpoint without browsing the reference docs.
Alternatives and complements available in the Jentic catalogue.
Stripe
Alternative payments API
Choose Stripe when you need a different approach to payments operations
Specific to using VNPAY Payment Gateway API through Jentic.
What authentication does the VNPAY Payment Gateway API use?
The VNPAY Payment Gateway API uses an API key passed in the `vnp_SecureHash` query. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.
Can I create a payment with the VNPAY Payment Gateway API?
Yes. Use the POST /paymentv2/vpcpay.html endpoint. The API returns structured JSON responses that agents can parse and act on directly.
What are the rate limits for the VNPAY Payment Gateway API?
Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.
How do I create a payment through Jentic?
Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'create a payment'. Jentic returns the matching VNPAY Payment Gateway API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.
How many endpoints does the VNPAY Payment Gateway API have?
The VNPAY Payment Gateway API exposes 2 endpoints covering merchant_webapi, paymentv2 operations.