Product
Jentic OSThe workplace. An in-house AI platform for every employeeJentic OneSafe access. Agents reach your systems without holding keysJentic AIRThe foundation. Gets your existing platforms ready for AI
Pricing
Developers

GET STARTED

API DirectoryBrowse 10,000+ APIs Ready For AI Agent IntegrationDocumentationGuides and API reference

TOOLS

API ScoringCheck your AI Readiness using our scorecardArazzo UIVisualize Arazzo Workflows As Interactive DocumentationArazzo EditorBuild And Edit Multi-Step API Workflows Visually

COMMUNITY

GitHubOpen source projects and examplesOpen StandardsBuilt on open specs. Never locked in.
Resources
Company
About UsOur mission and teamCareersJoin our teamContactGet in touch
Try it now
Jentic OSJentic OneJentic AIR
Pricing
API DirectoryDocumentationAPI ScoringArazzo UIArazzo EditorGitHubOpen Standards
Resources
About UsCareersContact
Try it now
JenticJentic
Products
  • Jentic OS
  • Jentic One
  • Jentic AIR
For Developers
  • API Directory
  • Documentation
  • GitHub
Company
  • About Jentic
  • Careers
  • Contact Us
  • Trust Centre
ISO/IEC 27001:2022 certification badge issued by Prescient SecurityISO/IEC 27001:2022 certification badge issued by Prescient Security

Information Security Management System

Certified to ISO/IEC 27001:2022 by Prescient Security

AICPA SOC for Service Organizations logoAICPA SOC for Service Organizations logo

SOC 2® Type 1 report

Audited by Prescient Assurance

Terms & Conditions•Privacy Policy•
© 2026 Jentic Technology Ltd. All rights reserved.
2 Grattan Court East, Dublin, D02 VX86, Ireland
Switch to light modeSwitch to dark mode
APIs / Payments / Cashfree Payment Gateway API
Cashfree Payment Gateway API logo

Cashfree Payment Gateway API

64
AI ReadinessAI-Aware (B)64/100
See full scorecard
Agent-ready OpenAPI document · curated by JenticPaymentsPayment ProcessingapiKey6 EndpointsREST

Know of an official OpenAPI document? Contribute it →

For Agents

Create payment orders, generate checkout sessions, issue refunds, send payment links, and pull settlements for Indian merchants on Cashfree.

Use for: I need to charge an Indian customer 1499 INR via UPI, Create a Cashfree order for a new e-commerce checkout, Issue a partial refund on a Cashfree order, Send a payment link to a customer over WhatsApp

Not supported: Does not handle payouts to bank accounts, KYC onboarding, or cross-border remittance - use for Indian payment gateway order creation, refunds, links, and settlements only.

Jentic publishes the only available OpenAPI specification for Cashfree Payment Gateway API, keeping it validated and agent-ready. Cashfree is an India-focused payment platform that handles UPI, card, net banking, and wallet payments through a single order-and-session model. The API lets merchants create orders, generate payment sessions for checkout, issue refunds, send shareable payment links, and pull settlement reports. It targets Indian e-commerce, SaaS billing, and marketplace flows where domestic payment methods and INR settlement are required.

Jentic One on GithubView OpenAPI Document

Install Jentic One Beta

Connect the Cashfree Payment Gateway API to your agent

Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Cashfree 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.

1

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%2Fcashfree.com%2Fcashfree" | sh
2

Step 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%2Fcashfree.com%2Fcashfree" | sh
jentic register       # connects your agent to your Jentic One instance

Jentic 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.

Capabilities

What an agent can do with Cashfree Payment Gateway API.

Create a Cashfree order with amount, currency, and customer details before checkout

Generate a payment session that hands off to UPI, card, or wallet checkout flows

Look up an order's payment status and gateway response after checkout

Issue full or partial refunds against a completed Cashfree order

Send a shareable payment link to a customer for ad-hoc collection

Retrieve settlement records to reconcile payouts into the merchant bank account

Use Cases

Patterns agents use Cashfree Payment Gateway API for, with concrete tasks.

★ Indian e-commerce checkout

Indian online stores create a Cashfree order with the cart total in INR, then pass the resulting payment session ID to the Cashfree drop-in checkout. Customers pay using UPI, cards, net banking, or popular wallets, and the merchant polls GET /orders/{order_id} for the final payment status before fulfilling the order.

POST /orders with order_amount=1499.00, order_currency=INR, and customer_details, then POST /orders/sessions to obtain a payment session id and return it to the storefront.

Refund handling for marketplaces

Marketplaces and D2C brands can issue full or partial refunds against an existing Cashfree order using POST /orders/{order_id}/refunds. Combined with GET /orders/{order_id} for the original payment record, this supports a full refund workflow without leaving the API, useful for return centres and CX automations.

POST /orders/{order_id}/refunds with refund_amount=500.00 and refund_note set to the return RMA id.

Payment link collection

For invoice or service-business collection, sales and finance teams can use POST /links to create a payment link with a fixed amount and customer reference, then send it via SMS, email, or WhatsApp. Customers complete payment in their preferred method and the link state can be tracked back to the originating record.

POST /links with link_amount=2500, link_currency=INR, link_purpose='Invoice INV-204', and customer phone, then return the link_url to the user.

Settlement reconciliation

Finance teams pull settlement batches via POST /settlements to reconcile credits hitting the merchant bank account against the orders that funded them. This closes the loop between gross payments captured and net amounts received after Cashfree's deductions.

POST /settlements with a date filter for last week and write each settlement record into the finance ledger keyed by settlement id.

AI agent payments via Jentic

AI checkout or sales agents can search Jentic for 'create a payment order' and Jentic returns the Cashfree create-order operation along with the input schema. The Cashfree client id and client secret stay in your Jentic One instance, so the agent triggers a real charge without ever holding the credentials.

Search Jentic for 'create a Cashfree payment order', load POST /orders, and execute it with the user's cart total and contact details.

Key Endpoints

6 endpoints — jentic publishes the only available openapi specification for cashfree payment gateway api, keeping it validated and agent-ready.

METHOD

PATH

DESCRIPTION

POST

/orders

Create a payment order

GET

/orders/{order_id}

Fetch order status and payment details

POST

/orders/sessions

Create a checkout session for an order

POST

/orders/{order_id}/refunds

Issue a refund against an order

POST

/links

Create a shareable payment link

POST

/settlements

Retrieve settlement records

POST

/orders

Create a payment order

GET

/orders/{order_id}

Fetch order status and payment details

POST

/orders/sessions

Create a checkout session for an order

POST

/orders/{order_id}/refunds

Issue a refund against an order

POST

/links

Create a shareable payment link

POST

/settlements

Retrieve settlement records

Jentic AI Readiness Score

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.

C

Cashfree Payment Gateway API

- AI-Aware (B)
64/100
87
Foundational Compliance
61
Developer Experience & Jentic Compatibility
44
AI-Readiness & Agent Experience
94
Agent Usability
50
Security
100
AI Discoverability
Powered by JenticScoring Framework 1.0.0 | Scoring Engine 0.4.0
Show dimension breakdown
87

Foundational Compliance

Base layer of spec validity and structural soundness.

Grade: ASignals: 4
98%

Lint Results

Aggregated quality score from linter diagnostics, weighted by severity.

100%

Resolution Completeness

Percentage of `$ref` references that resolve successfully.

100%

Specification Validity

Checks whether the API description parses successfully and conforms to its declared specification (e.g., OpenAPI).

50%

Structural Integrity

Structural correctness score based on schema issues using logarithmic dampening.

61

Developer Experience & Jentic Compatibility

Clarity, completeness, and ingestion readiness for developers and tooling.

Grade: B-Signals: 4
0%

Example Density

How richly the API is illustrated with examples.

100%

Example Validity

Percentage of examples that conform to their schemas.

50%

Response Coverage

Percentage of operations with complete response definitions (success, client error, server error).

93%

Tooling Readiness

Health of API ingestion, bundling, and resolution within Jentic pipelines.

44

AI-Readiness & Agent Experience

Semantic breadth, depth, and agent comprehension for AI systems.

Grade: DSignals: 4
28%

Description Coverage

Coverage of descriptions across API elements.

0%

Error Standardization

Coverage of RFC 9457 Problem Details for error responses.

100%

OperationId Quality

Coverage, uniqueness, and casing consistency of operationIds for AI inference.

50%

Summary Coverage

Coverage of summaries across operations/tags/info.

94

Agent Usability

Functional utility, complexity comfort, and AI orchestration readiness.

Grade: A+Signals: 1
94%

Complexity Comfort

Agent comfort level based on API operational and structural complexity.

50

Security

Trust, risk posture, and security compliance.

Grade: C-Signals: 1
50%

Authentication Strength

Average quality of security schemes based on authentication method strength (weakest link for OAuth2).

100

AI Discoverability

Findability, semantic richness, and reasoning readiness.

Grade: A+Signals: 1
100%

Descriptive Richness

Clarity and depth of descriptions across API elements.

View full reportHow the score is calculatedMore about the dimensions

Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

Score your own APIScoring CLI agent skill
npx @jentic/api-scorecard-cli score <openapi-url>

Why Jentic?

What agents get from Jentic-routed access to this vendor.

Setup

Wiring the Cashfree Payment Gateway API by hand means sending the x-client-id and x-client-secret header pair on every call and choosing the live api.cashfree.com host over the sandbox yourself. Through Jentic you install once, import the Cashfree Payment Gateway API from the API Directory, store the credential pair once, and your agent calls it.

Permission scoping

Cashfree puts the order id in the URL path (/orders/{order_id}, /orders/{order_id}/refunds), so a rule can pin your agent to one order for reads and refunds. You choose the operations it may call, so order creation, payment links, and settlements are not included unless you add them.

Credential isolation

Your Cashfree x-client-id and x-client-secret are stored once, encrypted, by your own Jentic One instance and injected into their headers at execution time. They never enter the agent's prompt, logs, or context.

Intent-based discovery

Agents search Jentic by intent such as 'create a payment order' or 'refund a payment', and Jentic returns the matching Cashfree operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

Related APIs

Alternatives and complements available in the Jentic catalogue.

Alternative

Stripe API

Stripe is the global alternative when Indian-domestic UPI and INR settlement are not required.

Choose Stripe for international payments and complex subscription billing; use Cashfree when serving Indian customers with UPI.

Alternative

PayPal Orders API v2

→

PayPal Orders is a cross-border alternative for order creation and capture without native UPI support.

Use PayPal Orders when international wallet acceptance matters more than Indian UPI coverage.

Complementary

Xero Accounting API

→

Push Cashfree settlement records into Xero to keep accounting books aligned with payouts.

After pulling Cashfree settlements, post matching journal entries to Xero so finance sees a unified ledger.

FAQs

Specific to using Cashfree Payment Gateway API through Jentic.

Why is there no official OpenAPI spec for Cashfree Payment Gateway API?

Cashfree publishes documentation but no machine-readable OpenAPI specification. Jentic generates and maintains this spec so that AI agents and developers can call Cashfree Payment Gateway API via structured tooling. It is validated against the live API and kept up to date. Get started with Jentic One, the self-hosted execution layer.

What authentication does the Cashfree Payment Gateway API use?

The Cashfree Payment Gateway API uses API key headers. Every request must include x-client-id and x-client-secret obtained from the Cashfree merchant dashboard. Through Jentic these credentials are stored encrypted in your Jentic One instance and injected at execution time, never appearing in agent prompts.

Can I issue partial refunds with the Cashfree API?

Yes. POST /orders/{order_id}/refunds accepts a refund_amount that can be less than the original order_amount, allowing partial refunds against a captured order. You can call the endpoint multiple times until the cumulative refund equals the order amount.

What are the rate limits for the Cashfree Payment Gateway API?

Cashfree does not publish explicit rate limits in this OpenAPI spec; production limits depend on your merchant tier. Use the sandbox base URL https://sandbox.cashfree.com/pg for testing and contact Cashfree support for production throughput needs.

How do I create a Cashfree order through Jentic?

Run pip install jentic, search Jentic with the query 'create a Cashfree payment order', load the POST /orders schema, and execute it with order_amount, order_currency=INR, and customer_details. Jentic injects x-client-id and x-client-secret from the vault automatically.

Does the Cashfree API support currencies other than INR?

The order endpoints accept an order_currency field, but Cashfree's primary domestic gateway is geared toward INR settlement for Indian merchants. For cross-border collection, Cashfree offers separate products outside the scope of this Payment Gateway API.

Can I limit what my agent is allowed to do with the Cashfree Payment Gateway API?

Yes. Jentic One is self-hosted by you, so your own rules decide which Cashfree operations the agent may call and which credentials it may use. Because the order id sits in the URL path for GET /orders/{order_id} and POST /orders/{order_id}/refunds, you can pin the agent to a single order for reads and refunds while withholding order creation, payment links via POST /links, and settlement pulls via POST /settlements unless you explicitly grant them. Your x-client-id and x-client-secret stay in your instance and are injected only for the operations you have allowed.

GET STARTED

Start building with Cashfree Payment Gateway API

Explore with Jentic One
View OpenAPI Document