Integration

Razorpay integration

Payment gateway API for India and international markets. Accept payments, manage orders, handle refunds, and process subscriptions. Supports UPI, cards, netbanking, wallets, and more. Perfect for e-commerce and SaaS billing.

Ask it in chat

Say what should happen.
The workflow builds itself.

When this happens, do that in Razorpay.Built from the 20 Razorpay tools below, on the connection you add once.

Common Razorpay use cases

  • Status check
  • Payment verification
  • Reporting
  • Reconciliation
  • SaaS billing
  • Churn handling
  • Customer lookup
  • Invoice sharing
  • Product pricing
  • Refund tracking

What you can do with Razorpay

Each of these is one operation on one endpoint, available both as a workflow step and as a tool an AI agent can call on its own. Nothing bundles several operations into one action, so what a run did stays readable afterwards.

Most endpoints run on the free plan. A few, mainly the ones that publish on your behalf, need a paid plan.

Order, 4 operations

  • create_orderCreate orderPOSTCreates a new payment order.
  • get_orderGet orderGETRetrieves order details.
  • list_ordersList ordersGETRetrieves all orders.
  • update_orderUpdate orderPATCHUpdates the notes field on an existing order.

Payment, 4 operations

  • capture_paymentCapture paymentPOSTCaptures an authorized payment.
  • get_paymentGet paymentGETRetrieves payment details.
  • list_paymentsList paymentsGETRetrieves all payments.
  • update_paymentUpdate paymentPATCHUpdates the notes field on an existing payment.

Subscription, 4 operations

  • cancel_subscriptionCancel subscriptionPOSTCancels an active subscription.
  • create_subscriptionCreate subscriptionPOSTCreates a recurring subscription.
  • get_subscriptionGet subscriptionGETRetrieves subscription details.
  • list_subscriptionsList subscriptionsGETRetrieves all subscriptions with optional pagination and date filtering.

Customer, 3 operations

  • create_customerCreate customerPOSTCreates a new customer.
  • get_customerGet customerGETRetrieves customer details.
  • list_customersList customersGETRetrieves all customers with pagination support.

Refund, 3 operations

  • create_refundCreate refundPOSTCreates a refund for a captured payment.
  • get_refundGet refundGETRetrieves refund details.
  • list_refundsList refundsGETRetrieves all refunds with optional date-range filtering.

Payment link, 1 operation

  • create_payment_linkCreate payment linkPOSTCreates a shareable payment link.

Plan, 1 operation

  • create_planCreate planPOSTCreates a subscription plan.

Use Razorpay from Claude Code, Cursor or Codex

Connect Razorpay in LiveContext, create an API key in Settings, then add the LiveContext MCP server to your client. Its Razorpay operations become tools the client can call, next to every other integration you connected.

Claude Code
claude mcp add --transport http livecontext https://livecontext.ai/mcp --header "X-API-Key: YOUR_API_KEY"
Codex (~/.codex/config.toml)
[mcp_servers.livecontext]
url = "https://livecontext.ai/mcp"

[mcp_servers.livecontext.http_headers]
"X-API-Key" = "YOUR_API_KEY"
Cursor, Claude Desktop and other JSON configs
{
  "mcpServers": {
    "livecontext": {
      "type": "http",
      "url": "https://livecontext.ai/mcp",
      "headers": {
        "X-API-Key": "YOUR_API_KEY"
      }
    }
  }
}

Set up the MCP server step by step

How to connect Razorpay

  1. Create your workspace

    Sign up free. Nothing to install.

  2. Connect Razorpay once

    Add your Razorpay connection in Settings. Every tool from this integration reuses it, and secrets are encrypted at rest and visible only to you.

  3. Describe the job in chat

    The workflow builds itself in front of you and picks the endpoints it needs. Drag the steps yourself on the canvas whenever you would rather be explicit.

Razorpay integration FAQ

What can you do with the Razorpay integration?

LiveContext exposes 20 operations on Razorpay, covering order, payment, subscription and customer. Common uses include Status check, Payment verification and Reporting.

Popular integrations

Browse the whole catalog