Supported products
Each product has its own dedicated skill file with complete integration documentation:| Product | Command argument | Skill file created |
|---|---|---|
| Payment Gateway (PG) | pg | API references, checkout integration, webhook handling, SDK examples. |
| Secure ID | secure-id | Bank verification, PAN, GSTIN, Aadhaar, DigiLocker, Video KYC. |
| Subscriptions | subscriptions | Plans, recurring payments, subscription lifecycle management. |
| Cross Border | cross-border | International payment collection, multi-currency support. |
| Payouts | payouts | Fund transfers to bank accounts, UPI, cards, and wallets. |
Installation
Run the following command in your project root, specifying the product you want to add:Supported assistants
The tool supports a wide range of modern AI coding environments:| Assistant | Skills directory | Skill file path |
|---|---|---|
| Cursor | .cursor/skills/cashfree/ | .cursor/skills/cashfree/<product>.md |
| Claude Code | .claude/skills/cashfree/ | .claude/skills/cashfree/<product>.md |
| VS Code Copilot | .github/skills/cashfree/ | .github/skills/cashfree/<product>.md |
| GitHub Copilot CLI | .github/skills/cashfree/ | .github/skills/cashfree/<product>.md |
| Gemini CLI | .gemini/skills/cashfree/ | .gemini/skills/cashfree/<product>.md |
| Antigravity | .agent/skills/cashfree/ | .agent/skills/cashfree/<product>.md |
| OpenCode | .opencode/skills/cashfree/ | .opencode/skills/cashfree/<product>.md |
| OpenAI Codex CLI | .codex/skills/cashfree/ | .codex/skills/cashfree/<product>.md |
Usage examples
Configure your AI coding assistant
Select the assistant you wish to use for the Payment Gateway (PG) integration:
- Cursor
- Claude Code
- OpenCode
- VS Code Copilot
- Gemini CLI
- Antigravity
- GitHub Copilot CLI
- OpenAI Codex CLI
What it does
When you run the command, it:- Creates the skills directory (for example,
.cursor/skills/cashfree/) in the standard location expected by your assistant. - Generates a product-specific skill file (for example,
pg.md) containing complete API documentation, code examples in multiple languages, webhook integration guides, and security best practices.
- “How do I create a payment order with Cashfree?”
- “What is the API for checking payment status?”
- “Show me a code example for UPI intent flow.”
- “How do I verify webhook signatures?”
Available products
Payment Gateway (pg)
Complete PG integration guide including:
- Create Order API with SDKs (Node.js, Python, Java, Go).
- Frontend Checkout SDK (Web, Android, iOS, Flutter, React Native).
- Webhook events, payload structure, and signature verification.
- Payment status handling and security checklist.
Secure ID (secure-id)
Identity verification APIs including:
- Bank account verification.
- PAN and GSTIN verification.
- Aadhaar-based verification via DigiLocker.
- Video KYC and biometric verification.
Subscriptions (subscriptions)
Recurring payments integration including:
- Plan creation and management.
- Subscription lifecycle APIs.
- Payment schedule handling.
Cross Border (cross-border)
International payment collection including:
- Cross-border order creation.
- Multi-currency support.
- Settlement to overseas bank accounts.
Payouts (payouts)
Fund transfer integration including:
- Transfers to bank accounts, UPI, cards, and wallets.
- V1 (Bearer token) and V2 (Direct auth) APIs.
- Beneficiary management and transfer status.
Resources
Explore additional resources to help you get started with the Cashfree Agent Skills.GitHub Repository
View the source code, report issues, and contribute to the toolkit.
npm Package
View the package on npm for installation and version details.
Troubleshooting
Assistant not seeing the skill files
Assistant not seeing the skill files
- Restart: Most AI assistants require a restart to pick up new skill files.
- Verify file: Check that the skill file (for example,
.cursor/skills/cashfree/pg.md) was created in your project root. - Check directory: Ensure the
skills/cashfree/directory exists under the correct base directory for your assistant.
Permission errors
Permission errors
If you see EACCES errors when running the command, try running it with
sudo or check your npm permissions, although npx usually handles this automatically.Unknown product error
Unknown product error
Make sure you are using one of the valid product names:
pg, secure-id, subscriptions, cross-border, or payouts.