---
name: razorpay-50ed81112422
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

1. Create account at https://razorpay.com
2. Get API keys from Dashboard → Settings → API Keys

```bash
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

1. **Create order** — `python3 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 signature** — `python3 scripts/razorpay.py verify "order_id" "payment_id" "signature"` to confirm payment authenticity
4. **Check status** — `python3 scripts/razorpay.py status "pay_xxxxx"` to confirm final state

## Usage

```bash
# 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

- Docs: https://razorpay.com/docs/payments/
- API: https://razorpay.com/docs/api/


---
Source attribution: ankitjh4
Original project: https://github.com/ankitjh4/indic-ai-skills/blob/cc1e36c3cba33db7949d0cc2ebd0fe69af135d49/skills/razorpay/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Mega AI Hub.

## Upstream license notice

MIT License

Copyright (c) 2026 Ankit (ankitjh4)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Mega AI Hub resource metadata

Creator / publisher: ankitjh4
Original project: https://github.com/ankitjh4/indic-ai-skills/blob/cc1e36c3cba33db7949d0cc2ebd0fe69af135d49/skills/razorpay/SKILL.md
Attribution basis: Source repository record

Fields of work: Marketing, Sales
Roles: Account Executive, Customer Success Manager, Growth Marketer, Product Marketer, Sales Operations
Specialties: API
Tools: Razorpay, PayPal, Stripe
Country applicability: India
Classification basis: Source catalog labels
Instruction SHA-256: 0d15ede086434a11607bbbd3d48a9a49693bd31a24116c5a1d5de6f607bdee66
