Skip to content

Integration · Payments

Connect Claude & ChatGPT to Razorpay

Ask your AI about payments, orders, refunds and settlements in your Razorpay account. It can look up a payment, list open disputes, check what an order received and see which settlements reached your bank. It can also create customers, orders, invoices and payment links, send them to customers and issue refunds, with your approval if you want it.

Connect Razorpay free

Free plan, no credit card. Takes about a minute.

Try asking

  • “List yesterday's payments and flag any that failed.”

    The AI lists payments for that date range with amount, method and status.

  • “Which disputes do we have, and what are the deadlines?”

    It lists your disputes (chargebacks) with their status and deadlines.

  • “Make a 2,500 INR payment link for the design workshop and email it to the customer.”

    It creates the link with the amount in paise and email notification on, and Razorpay emails the customer.

What your AI can do

Payments and refunds

List and read payments with status, method and amount, list refunds and issue full or partial refunds.

Orders, invoices and payment links

Create orders, draft and issue invoices, create, resend or cancel payment links, and send invoice notifications by SMS or email.

Customers, disputes and settlements

Create, update and list customers, and read disputes, subscriptions, saved items and settlements to your bank.

  • “Invoice Arjun Mehta for 3 hours of consulting at 4,000 INR per hour.”

    It finds the customer, creates a draft invoice with the line item and issues it when you confirm.

  • “Which settlements were paid out to our bank last week?”

    It lists the settlements for that date range.

  • “Refund 500 INR of that payment.”

    It creates a partial refund of 50000 paise. The money goes back to the customer and the refund cannot be undone.

30 tools for Razorpay

These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.

  • cancel_invoiceDeletesCancel an issued, unpaid invoice by `invoice_id`. Cannot be undone.
  • cancel_payment_linkDeletesCancel an unpaid payment link by `payment_link_id` so it can no longer be paid. Cannot be undone.
  • create_customerChanges dataCreate a customer with `name`, and optionally `email`, `contact` (phone), `gstin` and `notes`.
  • create_invoiceChanges dataCreate a draft invoice: pass `type` "invoice", a `customer_id` or inline `customer`, and `line_items` (name + amount in paise, or item_id). Issue it with issue_invoice.
  • create_orderChanges dataCreate an order to collect a payment: pass `amount` in the smallest unit (paise for INR) and `currency`, optionally `receipt` and `notes`.
  • create_payment_linkChanges dataCreate a shareable payment link: pass `amount` in paise, and optionally `currency`, `description`, `customer` (name, email, contact), `notify` (sms/email), `expire_by` and `reference_id`. If notify is set, Razorpay messages the customer.
  • get_customerGet one customer by `customer_id` (cust_...).
  • get_disputeGet one dispute by `dispute_id` (disp_...).
  • get_invoiceGet one invoice by `invoice_id` (inv_...), including line items, status and payment link.
  • get_orderGet one order by `order_id` (order_...), including amount paid and status.
  • get_paymentGet one payment by `payment_id` (pay_...), including amount (in paise), status, method and customer contact.
  • get_payment_linkGet one payment link by its ID (plink_..., passed as `payment_id`), including status and short URL.
  • get_refundGet one refund by `refund_id` (rfnd_...).
  • get_subscriptionGet one subscription by `subscription_id` (sub_...), including status and next charge.
  • issue_invoiceVisible to othersIssue a draft invoice by `invoice_id` so it can be paid; Razorpay may notify the customer.
  • list_customersList customers with `limit`/`offset` paging.
  • list_disputesList payment disputes (chargebacks) with their status and deadlines.
  • list_invoicesList invoices, filtered by `customer_id`, `payment_id`, `subscription_id`, `type` or a `from`/`to` date range.
  • list_itemsList saved items (products/services with a price) used on invoices.
  • list_order_paymentsList the payment attempts made against an order, by `order_id`.
  • list_ordersList orders, optionally between `from` and `to`, by `receipt`, or only `authorized` ones.
  • list_payment_linksList payment links, optionally filtered by `payment_id` or `reference_id`.
  • list_paymentsList payments, newest first, optionally between `from` and `to` (Unix timestamps) with `limit`/`offset`.
  • list_refundsList refunds, optionally between `from` and `to` (Unix timestamps).
  • list_settlementsList settlements (payouts of collected funds to your bank), optionally between `from` and `to`.
  • list_subscriptionsList subscriptions, optionally filtered by `plan_id` or a `from`/`to` date range.
  • refund_paymentMoves moneyRefund a captured payment by `payment_id`. Omit `amount` for a full refund or pass an amount in paise for a partial one; `speed` normal or optimum. Moves money back to the customer and cannot be undone.
  • resend_payment_linkVisible to othersResend a payment link to the customer by `payment_link_id` via `medium` sms or email. Sends a message.
  • send_invoice_notificationVisible to othersSend (or resend) an invoice to the customer by `invoice_id` via `medium` sms or email. Sends a message.
  • update_customerChanges dataUpdate a customer's `name`, `email` or `contact` by `customer_id`.

Set up in three steps

  1. 1

    Pick the app

    Create a free PipMCP account and choose Razorpay from the app list.

  2. 2

    Paste your key

    Paste your Razorpay Key ID and Key Secret. In the Razorpay Dashboard, choose Test or Live mode, go to Account & Settings > API Keys (under Website and app settings) and click Generate Key. Copy both values right away, because the secret is shown only once. Use Test mode keys to try things safely first.

  3. 3

    Add the link to your AI

    You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:

    Click your name, then Settings › Connectors › Add custom connector. Paste your link as the Remote MCP server URL. Switch it on from the + menu in a chat.

Questions

What can the AI do in Razorpay?

It can read payments, orders, refunds, invoices, payment links, customers, disputes, subscriptions, saved items and settlements. It can create customers, orders, draft invoices and payment links, update customers, issue invoices, send invoice notifications and resend payment links. It can also cancel unpaid invoices and payment links and refund payments.

Does the AI see my Razorpay API keys?

No. Your Razorpay credentials are encrypted at rest and never shown to the AI. After you save them, they are not shown again, not even to you. The AI only sees the results of the tools it calls.

Can I control what the AI is allowed to do?

Yes. You choose which tools are switched on, for example lookups without refunds. Refunds move money and cannot be undone, cancelling an invoice or payment link is permanent, and sending invoices or links messages your customers. All of these can require your approval before they run. Every tool call is logged.

Does it work with ChatGPT?

Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.

What does it cost?

PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You connect your own Razorpay account, so anything Razorpay charges is between you and Razorpay.

Why are amounts in paise?

Razorpay's API takes amounts in the smallest currency unit, so for INR 1 rupee is 100 paise. The AI converts for you, so a 2,500 INR payment link is sent as 250000. Check the amount before you approve a refund.

Let your AI work in Razorpay today.

Start free. Your key stays encrypted, and you decide what the AI may do.

Connect Razorpay free

PipMCP is not affiliated with Razorpay. Product names are trademarks of their owners.