ankitjh4/indic-ai-skills/phonepe

Claude Code and agent skill by ankitjh4/indic-ai-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Process UPI payments via PhonePe — initiate collect requests, generate QR codes, check transaction status, and handle refunds. Use when the user asks about PhonePe payments, UPI integration, Indian mobile payments, or UPI collect/QR payment flows.

Install

npx vskill@latest install ankitjh4/indic-ai-skills/phonepe

SKILL.md

PhonePe UPI Payment Gateway

Accept UPI payments via PhonePe — India's leading UPI platform.

Setup

  1. Register at https://business.phonepe.com
  2. Get API credentials from merchant dashboard
bash
export PHONEPE_MERCHANT_ID="your_merchant_id"
export PHONEPE_SALT_KEY="your_salt_key"
export PHONEPE_SALT_INDEX=1
export PHONEPE_ENV="preprod" # "preprod" for testing, "production" for live
VariableRequiredDescription
PHONEPE_MERCHANT_IDYesMerchant ID from PhonePe
PHONEPE_SALT_KEYYesSalt key for signing requests
PHONEPE_SALT_INDEXYesSalt index (usually 1)
PHONEPE_ENVNo"preprod" or "production" (default: preprod)

Payment Workflow

  1. Initiate payment — use collect (UPI request) or qr (QR code) command
  2. Customer authorises — customer approves on their UPI app
  3. Check status — python3 scripts/phonepe.py status "txn_id" to confirm payment
  4. Handle result — status returns SUCCESS, PENDING, or FAILED; retry status check if PENDING

Usage

bash
# Initiate UPI collect request (amount in INR)
python3 scripts/phonepe.py collect "user@upi" 100 "order123"
# Generate QR code payment
python3 scripts/phonepe.py qr 500 "order456"
# Check transaction status
python3 scripts/phonepe.py status "txn_id"
# Process refund
python3 scripts/phonepe.py refund "txn_id" 100

Features

  • UPI Collect (request payment from VPA)
  • QR Code payments
  • Transaction status checks
  • Refunds

API Endpoints

  • Sandbox: https://api-preprod.phonepe.com
  • Production: https://api.phonepe.com
  • Docs: https://developer.phonepe.com/

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
65
Repository forks
10
7-day trend score
21

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ankitjh4/indic-ai-skills/phonepe/badge)](https://verified-skill.com/skills/ankitjh4/indic-ai-skills/phonepe)

Something wrong with this skill or its page? Tell us.