@ankitjh4/razorpay
ACreate payment orders, verify signatures, process refunds, and list transactions via Razorpay — India's leading payment gateway. Use when the user asks about Razorpay payments, Indian payment processing, INR checkout, payment orders, or RZP integration.
Install
agr install @ankitjh4/razorpay --target claudeWrites 1 file into .claude/skills/, pinned to git-50ed8111.
- .claude/skills/razorpay/SKILL.md
Document
name: razorpay description: "Create payment orders, verify signatures, process refunds, and list transactions via Razorpay — India's leading payment gateway. Use when the user asks about Razorpay payments, Indian payment processing, INR checkout, payment orders, or RZP integration." metadata: author: ankitjh4 display-name: Razorpay Payments
Razorpay Payment Gateway
Accept payments via Razorpay — India's leading payment gateway.
Setup
- Create account at https://razorpay.com
- Get API keys from Dashboard → Settings → API Keys
export RAZORPAY_KEY_ID="key_id_xxxxx"
export RAZORPAY_KEY_SECRET="key_secret_xxxxx"
| Variable | Required | Description |
|---|---|---|
| RAZORPAY_KEY_ID | Yes | Key ID from Razorpay dashboard |
| RAZORPAY_KEY_SECRET | Yes | Key Secret from Razorpay dashboard |
Payment Workflow
- Create order —
python3 scripts/razorpay.py create-order 50000 "INR"(amount in paise) - Customer pays — integrate Razorpay Checkout on frontend with the returned
order_id - Verify signature —
python3 scripts/razorpay.py verify "order_id" "payment_id" "signature"to confirm payment authenticity - Check status —
python3 scripts/razorpay.py status "pay_xxxxx"to confirm final state
Usage
# Create order (amount in paise — 50000 = ₹500)
python3 scripts/razorpay.py create-order 50000 "INR"
# Check payment status
python3 scripts/razorpay.py status "pay_xxxxx"
# List payments
python3 scripts/razorpay.py list-payments
# Process refund
python3 scripts/razorpay.py refund "pay_xxxxx" 10000
Features
- Create payment orders
- Verify payment signatures
- Handle refunds
- List transactions
API Reference
Trustgrade A
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- passLicense
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-50ed811124222026-07-31