Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Juspay 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%2Fjuspay.in%2Fjuspay" | 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%2Fjuspay.in%2Fjuspay" | 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 Juspay Payment Gateway API.
Create a payment session to start a checkout
Create an order and read its payment status
Initiate a transaction against an order
Create a refund on an order
List and delete a customer's saved payment methods
GET STARTED
Retrieve the payment methods available for a checkout
Patterns agents use Juspay Payment Gateway API for, with concrete tasks.
★ Agent-Driven Checkout
An AI agent connected through Jentic runs a checkout by creating a payment session, creating the order, initiating the transaction, and polling the order status until it settles. Because the session, order, and transaction operations chain in sequence, the agent completes a payment flow without a human stepping through the gateway.
Create a payment session and order, initiate the transaction, then poll the order status until it is paid
Refund Processing
Support teams handling returns issue refunds against an order. The Juspay refunds operation creates a refund on an order id, so an agent processes a return and then reads the order status to confirm the refund was applied.
Create a refund on an order and read the order status to confirm the refund was applied
Saved Payment Method Management
Returning shoppers reuse stored instruments. Juspay lists a customer's saved payment methods and deletes one by id, so an agent presents the saved instruments at checkout and removes an expired card on request.
List a customer's saved payment methods and delete a specific one by its payment method id
8 endpoints — the juspay payment gateway api runs session-based payment flows, orders, transactions, and refunds for the juspay payment orchestration platform.
METHOD
PATH
DESCRIPTION
/session
Create a payment session
/orders
Create an order
/orders/{order_id}
Get order status
/txns
Initiate a transaction
/orders/{order_id}/refunds
Create a refund on an order
/payment_methods
Get available payment methods
/customers/{customer_id}/payment_methods
List a customer's saved payment methods
/session
Create a payment session
/orders
Create an order
/orders/{order_id}
Get order status
/txns
Initiate a transaction
/orders/{order_id}/refunds
Create a refund on an order
/payment_methods
Get available payment methods
/customers/{customer_id}/payment_methods
List a customer's saved payment methods
What agents get from Jentic-routed access to this vendor.
Setup
Wiring Juspay by hand means Base64-encoding your API key for basic auth, choosing the production or sandbox host, and chaining the session, order, and transaction calls yourself. Through Jentic you install once, import the Juspay Payment Gateway API from the API Directory, store the key once, and your agent calls the checkout and refund operations.
Permission scoping
Juspay carries session, order, and transaction operations alongside refunds and saved-payment-method deletion. You choose the operations your agent may call, so a rule can keep it to creating orders and reading their status and leave refunds or payment-method deletion out unless you add them.
Credential isolation
Your Juspay API key is held by your own Jentic One instance, encrypted, and injected into the basic-auth header 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 order' or 'issue a refund', and Jentic returns the matching Juspay 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.
Specific to using Juspay Payment Gateway API through Jentic.
What authentication does the Juspay Payment Gateway API use?
The API uses HTTP basic authentication: your Juspay API key is Base64-encoded as the username with an empty password, per its OpenAPI spec. Through Jentic the key is held by your own Jentic One instance and attached to each request at execution time, so it never appears in your agent's prompt or logs.
Can I create orders and process refunds with the Juspay Payment Gateway API?
Yes. You create a payment session and an order, initiate a transaction, and read the order status, and you create a refund against an order id. Your agent runs the full checkout and refund flow through these operations.
What are the rate limits for the Juspay Payment Gateway API?
The OpenAPI spec does not specify rate limits. Check the Juspay documentation at https://juspay.io/in/docs for current limits before running high-volume checkout traffic.
Is there a Juspay MCP server?
You do not need an MCP server to give your agent the Juspay Payment Gateway API. Jentic connects it directly from the API Directory: import it, store your key once, and your agent calls the session, order, and refund operations on demand without loading an extra server's tool definitions into its context.
Can I limit what my agent is allowed to do with the Juspay Payment Gateway API?
Yes. Write a rule that allows only the order-create and order-status operations, so the agent can create orders and check their status and cannot issue refunds or delete saved payment methods. You choose which operations it may call, and every call it makes is logged.
How do I create a payment order through Jentic?
Install the Jentic One command line with `curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh`, then add the Juspay Payment Gateway API from the Jentic directory and search by intent such as 'create a payment order'. Jentic returns the matching operation with its input schema so your agent builds a valid request. To run it on your own infrastructure, install Jentic One from its GitHub repo.
For Agents
Create Juspay payment sessions and orders, initiate transactions, read order status, issue refunds, and manage a customer's saved payment methods through the Juspay payment orchestration API.
Use for: Create a payment session for a new checkout, Create an order for a customer's purchase, Check the payment status of an order, Initiate a transaction against an order
Not supported: Does not handle accounting, payroll, or fraud scoring. Use for Juspay payment sessions, orders, transactions, and refunds only.
The Juspay Payment Gateway API runs session-based payment flows, orders, transactions, and refunds for the Juspay payment orchestration platform. A checkout starts by creating a payment session and an order, initiating a transaction, and then reading the order status to confirm the result. Refunds are created against an order, and saved payment methods for a customer are listed or deleted so returning shoppers can reuse a stored instrument.
This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.
Base layer of spec validity and structural soundness.
Aggregated quality score from linter diagnostics, weighted by severity.
Percentage of `$ref` references that resolve successfully.
Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).
Structural correctness score based on schema issues using logarithmic dampening.
Clarity, completeness, and ingestion readiness for developers and tooling.
How richly the API is illustrated with examples.
Percentage of examples that conform to their schemas.
Percentage of operations with complete response definitions (success, client error, server error).
Health of API ingestion, bundling, and resolution within Jentic pipelines.
Semantic breadth, depth, and agent comprehension for AI systems.
Coverage of descriptions across API elements.
Coverage of RFC 9457 Problem Details for error responses.
Coverage, uniqueness, and casing consistency of operationIds for AI inference.
Coverage of summaries across operations/tags/info.
Functional utility, complexity comfort, and AI orchestration readiness.
Agent comfort level based on API operational and structural complexity.
Trust, risk posture, and security compliance.
Average quality of security schemes based on authentication method strength (weakest link for OAuth2).
Findability, semantic richness, and reasoning readiness.
Clarity and depth of descriptions across API elements.
Score it yourself
Every API in the directory is allowlisted, so you can re-score it with no key required.
npx @jentic/api-scorecard-cli score <openapi-url>