Automates Razorpay payment gateway tasks like order creation, signature verification, and refund processing.

Install

mkdir -p .claude/skills/razorpay && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/19423" && unzip -o skill.zip -d .claude/skills/razorpay && rm skill.zip

Installs to .claude/skills/razorpay

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

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.
253 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Create Razorpay payment orders
  • Verify payment signatures
  • Process customer refunds
  • List transactions for reconciliation
  • Check payment status

How it works

The tool interfaces with the Razorpay API to manage the payment lifecycle, including order creation, signature verification for authenticity, and refund processing.

Inputs & outputs

You give it
Payment amount in paise and currency code
You get back
Payment order ID or transaction status

When to use razorpay

  • Create Razorpay payment orders
  • Verify transaction signatures
  • Process customer refunds
  • List transactions for reconciliation

About this skill

Razorpay Payment Gateway

Accept payments via Razorpay — India's leading payment gateway.

Setup

  1. Create account at https://razorpay.com
  2. Get API keys from Dashboard → Settings → API Keys
export RAZORPAY_KEY_ID="key_id_xxxxx"
export RAZORPAY_KEY_SECRET="key_secret_xxxxx"
VariableRequiredDescription
RAZORPAY_KEY_IDYesKey ID from Razorpay dashboard
RAZORPAY_KEY_SECRETYesKey Secret from Razorpay dashboard

Payment Workflow

  1. Create orderpython3 scripts/razorpay.py create-order 50000 "INR" (amount in paise)
  2. Customer pays — integrate Razorpay Checkout on frontend with the returned order_id
  3. Verify signaturepython3 scripts/razorpay.py verify "order_id" "payment_id" "signature" to confirm payment authenticity
  4. Check statuspython3 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

Prerequisites

Razorpay accountAPI Key IDAPI Key Secret

How it compares

This tool provides a command-line interface for managing Razorpay operations, simplifying tasks like signature verification and refund processing compared to manual API integration.

Compared to similar skills

razorpay side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
razorpay (this skill)04moReviewIntermediate
billing-automation102moNo flagsIntermediate
woocommerce143moCautionIntermediate
openrouter-cost-controls010dCautionIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry