# Razorpay MCP for AI Agents AI Agent Connect

> Razorpay MCP connects your payment gateway to your AI agent. It lets you manage orders, process refunds, and track settlements through a natural conversation instead of digging through a dashboard. You can pull customer data, monitor subscriptions, and create payment links instantly.

## Overview
- **Category:** industry-titans
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_195Z4eCYhWvkBAip9RHLCm4K0sDWv32HoU3zLDPm/ai-agent-connect
- **Tags:** razorpay, payment-gateway, fintech-api, order-management, refunds-automation, invoicing-api, india-payments, subscription-management, mcp

## Description

This Connector lets you treat your payment gateway like a part of your conversation. Instead of jumping between tabs to check if a refund went through or to find a customer's invoice, you just ask your agent. It pulls the data directly from Razorpay, so you can see your settlement statuses, track recurring subscriptions, and grab specific payment metadata in seconds. If you're running an e-commerce site in India, this means you're no longer hunting for order IDs in a messy dashboard. You can ask your agent to create a new payment order for a specific amount or pull up a list of all your active customers to see who's paying what. It turns your chat interface into a finance hub where you can monitor your revenue streams and handle the nitty-gritty of transaction lifecycles. By bringing this into your workflow through the Vinkius catalog, you're basically giving your agent a seat at the finance table. You get to handle the heavy lifting of payment orchestration without having to manually copy-paste data into spreadsheets or navigate complex admin panels.

## Tools

### get_order
Fetch the specific details of a single order. Use this to see exactly what a customer purchased.

### get_payment
Pull the details for a specific payment transaction. It's useful for verifying captured funds.

### list_customers
Get a full list of all customers in your account. Use this to audit your user base.

### list_invoices
Retrieve a list of all your current invoices. This helps you track what still needs to be paid.

### list_payments
Get a list of all your payments. This is your primary way to see transaction history.

### list_refunds
View all refunds processed in your account. Use this to keep your records straight.

### list_settlements
See all your settlement records. This is how you track your actual bank transfers.

### list_subscriptions
Pull a list of all your recurring subscriptions. Use this to monitor your monthly revenue.

### list_transfers
List all your transfers. Use this to see the movement of funds between accounts.

### list_orders
Pull a list of all payment orders. Use this to see a high-level view of your sales.

### create_customer
Add a new customer to your database. Use this to onboard new users via natural language.

### create_order
Create a new payment order with a specific amount. Use this to generate new payment links.

## Prompt Examples

**Prompt:** 
```
What's the status of my last three settlements?
```

**Response:** 
```
Here are your last 3 settlements:

| Date | Amount | Status |
| :--- | :--- | :--- |
| Oct 24 | ₹45,000 | **Settled** |
| Oct 23 | ₹12,300 | **Settled** |
| Oct 22 | ₹8,900 | **Pending** |

Your total settled amount for the last 48 hours is **₹57,300**.
```

**Prompt:** 
```
Create a payment link for a 5000 INR consulting fee.
```

**Response:** 
```
I've created that payment link for you.

*   **Amount:** ₹5,000
*   **Purpose:** Consulting Fee
*   **Link:** `rzp.io/l/consult-5000`

The link is active for 7 days. You can share this directly with your client.
```

**Prompt:** 
```
Who are my top customers from last month?
```

**Response:** 
```
Based on your payment history from last month, here are your top 3 customers:

1. **Arjun Mehta** - ₹1,20,000
2. **Priya Sharma** - ₹85,000
3. **Rajesh Kumar** - ₹72,000

Would you like to see the full list of customers instead?
```

## Capabilities

### Create new payment orders
Generate new payment requests and links for specific amounts on the fly.

### List all active customers
Pull a full directory of your registered customers to your chat window.

### Monitor settlement statuses
Check exactly when and how your funds were moved to your bank account.

### Track recurring subscriptions
Get a clear view of your active billing plans and subscription cycles.

### Retrieve payment metadata
Access technical details for specific transactions to debug or verify payments.

### Manage refund lists
View every refund processed in your account to keep your records straight.

## Use Cases

### Checking if a refund cleared
An e-commerce owner asks their agent to check a refund status. The agent uses list_refunds and confirms the transaction is complete.

### Onboarding a new client
A consultant asks the agent to create a payment link for a specific invoice. The agent uses create_order and provides the link.

### Daily settlement audit
A finance lead asks for today's settlement total. The agent uses list_settlements and summarizes the bank transfers.

### Customer database cleanup
An admin asks to list all customers. The agent uses list_customers to help identify inactive accounts.

## Benefits

- Stop manual dashboard hopping by using list_payments to see everything in one chat.
- Speed up customer support by using get_order to find transaction details instantly.
- Automate your billing cycle by using list_subscriptions to monitor recurring revenue.
- Simplify refund requests by using list_refunds to check history without logging in.
- Keep your records clean by using create_customer to add new users via voice or text.
- Faster order creation by using create_order to generate links for specific amounts.

## How It Works

The bottom line is you get a direct line to your payment data without the manual clicking.

1. Connect your Razorpay Key ID and Key Secret from your dashboard to Vinkius.
2. Open your AI client like Claude, Cursor, or Windsurf.
3. Ask your agent to list your recent orders or check a specific refund status.

## Frequently Asked Questions

**Can the Razorpay MCP handle my refunds?**
Yes, it lets you view all refunds processed in your account. You can ask your agent to list them or check the status of a specific one without logging into the Razorpay dashboard.

**How does Razorpay MCP help with e-commerce?**
It pulls order data and payment history directly into your chat. This means you can check if a customer's payment was successful or find specific order details instantly.

**Can I create customers with Razorpay MCP?**
Yes, you can use it to add new customers to your database via natural language. Just tell your agent the customer's details and it will handle the rest.

**Does Razorpay MCP show my subscriptions?**
It does. You can pull a list of all your active subscriptions and recurring billing plans to monitor your revenue streams in real time.

**Can I check settlement dates?**
Yes, the Connector can list all your settlements. You can ask your agent to show you exactly when your funds were moved to your bank account.

**Is Razorpay MCP good for Indian payments?**
It is specifically designed for Razorpay, which is a leading payment gateway in India. It handles the local payment nuances like UPI and Net Banking perfectly.

**Can my AI automatically find the details for a specific payment just by providing its ID?**
Yes! Use the `get_payment` tool with the Payment ID. Your agent will respond with complete metadata, including capture status, refund history, and customer notes in seconds.

**How do I find my Razorpay Key ID and Key Secret?**
Log in to your Razorpay dashboard, navigate to **Settings** > **API Keys**, and generate a new key pair. You will see the Key ID immediately and must download the Key Secret.