Skip to content

Integration · Payments

razorpay.com

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.

135 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.

  • add_a_vpa_receiver_to_a_virtual_accountChanges dataCreate a new account for a account. Required: types. API summary: Add a VPA receiver to a Virtual Account.
  • add_an_allowed_payer_tpvChanges dataCreate a new account for a account. Required: type. API summary: Add an allowed payer (TPV).
  • approve_disputeVisible to othersAccept a dispute (dispute id). Has effects visible outside this system.
  • approve_payoutMoves moneyApprove a payout (payout id). Financial or irreversible action; may require approval. API summary: Approve a payout (workflow enabled).
  • 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.
  • cancel_payoutMoves moneyCancel a payout (payout id). Financial or irreversible action; may require approval. API summary: Cancel a queued payout.
  • cancel_payout_linkMoves moneyCancel a payout link (payout link id). Financial or irreversible action; may require approval.
  • cancel_subscriptionDeletesCancel a subscription (subscription id). Destructive action; may require approval.
  • cancel_subscription_scheduled_changesDeletesCancel a subscription (subscription id). Destructive action; may require approval. API summary: Cancel scheduled changes.
  • create_a_billChanges dataCreate a new invoice. Required: business type or customer. API summary: Create a bill.
  • create_a_fund_accountChanges dataCreate a new account. Required: contact id or account type. API summary: Create a fund account.
  • create_a_payout_linkMoves moneyPayout a link. Financial or irreversible action; may require approval. API summary: Create a payout link.
  • create_a_virtual_accountChanges dataCreate a new account. Required: receivers or description. API summary: Create a Virtual Account.
  • create_accountChanges dataCreate a new account. Required: email, type or profile. API summary: Create a Linked Account.
  • create_account_productChanges dataCreate a new product for a account. Required: product name. API summary: Request Route product configuration.
  • create_account_stakeholderChanges dataCreate a new stakeholder for a account. Required: name or email. API summary: Create a Stakeholder.
  • create_account_validate_fund_accountChanges dataCreate a new account. Required: account type or fund account. API summary: Validate a bank account or VPA.
  • create_account_webhookDeletesCreate a new webhook for a account. Required: url or events. Destructive action; may require approval. API summary: Create a webhook for a sub-merchant.
  • create_contactChanges dataCreate a new contact. Required: name. Search contacts first to avoid duplicates. API summary: Create a contact.
  • create_customerChanges dataCreate a customer with `name`, and optionally `email`, `contact` (phone), `gstin` and `notes`.
  • create_document_contentChanges dataCreate a new content for a document. API summary: Fetch document content.
  • 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_ondemandChanges dataCreate a new ondemand. Required: amount. API summary: Create an instant settlement.
  • 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.
  • create_payment_transferChanges dataCreate a new transfer for a payment. Required: transfers. API summary: Create transfers from a payment.
  • create_payoutMoves moneyCreate a new payout. Required: payout idempotency, account number, amount, currency, mode or purpose. Financial or irreversible action; may require approval. API summary: Create a payout.
  • create_planChanges dataCreate a new plan. Required: period, interval or item. API summary: Create a plan.
  • create_productChanges dataCreate a new product. Required: name, amount or currency. API summary: Create an item.
  • create_qr_codeChanges dataCreate a new qr code. Required: type, name, usage or fixed amount. API summary: Create a QR code.
  • create_subscriptionChanges dataCreate a new subscription. Required: plan id or total count. API summary: Create a subscription.
  • create_subscription_pause_subscriptionChanges dataCreate a new subscription for a subscription. API summary: Pause a subscription.
  • create_subscription_resume_subscriptionChanges dataCreate a new subscription for a subscription. API summary: Resume a paused subscription.
  • create_transferMoves moneyCreate a new transfer. Required: account, amount or currency. Financial or irreversible action; may require approval. API summary: Create a direct transfer.
  • delete_a_billDeletesPermanently delete a invoice by invoice id. Destructive action; may require approval. API summary: Delete a bill.
  • delete_accountDeletesPermanently delete a account by account id. Destructive action; may require approval. API summary: Delete (suspend) a sub-merchant account.
  • delete_account_webhookDeletesPermanently delete a webhook by webhook id. Destructive action; may require approval.
  • delete_an_allowed_payer_tpvDeletesPermanently delete a account by account id. Destructive action; may require approval. API summary: Delete an allowed payer (TPV).
  • delete_invoiceDeletesPermanently delete a invoice by invoice id. Destructive action; may require approval. API summary: Delete a draft invoice.
  • delete_productDeletesPermanently delete a product by product id. Destructive action; may require approval. API summary: Delete an item.
  • delete_subscriptionDeletesPermanently delete a subscription by offer id. Destructive action; may require approval. API summary: Delete an offer from a subscription.
  • fetch_a_fund_accountGet one account by account id. API summary: Fetch a fund account.
  • fetch_a_fund_account_validationGet one account by account id. API summary: Fetch a fund account validation.
  • fetch_a_transaction_by_idGet one payment by payment id. API summary: Fetch a transaction by ID.
  • fetch_a_virtual_accountGet one account by account id. API summary: Fetch a Virtual Account.
  • fetch_all_payment_downtimesList payments. API summary: Fetch all payment downtimes.
  • fetch_payment_downtime_by_idGet one payment by payment id. API summary: Fetch payment downtime by ID.
  • get_accountGet one account by account id. API summary: Fetch a Linked Account.
  • get_account_productGet one product for a account by product id. API summary: Fetch product configuration.
  • get_account_webhookGet one webhook for a account by webhook id. API summary: Fetch a webhook by ID.
  • get_contactGet one contact by contact id. API summary: Fetch a contact.
  • get_customerGet one customer by `customer_id` (cust_...).
  • get_disputeGet one dispute by `dispute_id` (disp_...).
  • get_documentGet one document by document id. API summary: Fetch document info.
  • get_invoiceGet one invoice by `invoice_id` (inv_...), including line items, status and payment link.
  • get_ondemandGet one ondemand by ondemand id. API summary: Fetch instant settlement by ID.
  • 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_payment_refundGet one refund for a payment by refund id. API summary: Fetch a specific refund for a payment.
  • get_payoutGet one payout by payout id. API summary: Fetch a payout.
  • get_payout_linkGet one payout link by payout link id. API summary: Fetch a payout link.
  • get_planGet one plan by plan id. API summary: Fetch a plan.
  • get_productGet one product by product id. API summary: Fetch an item.
  • get_qr_codeGet one qr code by qr code id. API summary: Fetch QR code by ID.
  • get_refundGet one refund by `refund_id` (rfnd_...).
  • get_settlementGet one settlement by settlement id. API summary: Fetch settlement by ID.
  • get_subscriptionGet one subscription by `subscription_id` (sub_...), including status and next charge.
  • get_subscription_scheduled_changesGet one subscription by subscription id. API summary: Fetch scheduled changes.
  • get_transferGet one transfer by transfer id. API summary: Fetch a transfer.
  • issue_invoiceVisible to othersIssue a draft invoice by `invoice_id` so it can be paid; Razorpay may notify the customer.
  • list_account_documentsList documents for a account. API summary: Fetch KYC documents for a sub-merchant account.
  • list_account_paymentsList payments for a account. API summary: Fetch payments for a Virtual Account.
  • list_account_stakeholdersList stakeholders for a account. API summary: Fetch all stakeholders for an account.
  • list_account_webhooksList webhooks for a account. API summary: List webhooks for a sub-merchant.
  • list_accountsList accounts. Optional filters: from or to. Results are paginated. API summary: List Virtual Accounts.
  • list_banking_balancesList banking balances. Optional filters: account type or bank code. API summary: Fetch RazorpayX banking balances.
  • list_combinedsList combineds. Optional filters: year, month or day. Results are paginated. API summary: Fetch settlement reconciliation report.
  • list_customersList customers with `limit`/`offset` paging.
  • list_disputesList payment disputes (chargebacks) with their status and deadlines.
  • list_fund_account_validationsList accounts. Optional filters: from or to. Results are paginated. API summary: List fund account validations.
  • list_fund_accountsList accounts. Optional filters: contact id or account type. Results are paginated. API summary: List fund accounts.
  • 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_ondemandsList ondemands. Optional filters: from, to or expand. Results are paginated. API summary: Fetch all instant settlements.
  • 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_bank_transfersList bank transfers for a payment. API summary: Fetch bank transfer details for a payment.
  • list_payment_linksList payment links, optionally filtered by `payment_id` or `reference_id`.
  • list_payment_refundsList refunds for a payment. Optional filters: from or to. Results are paginated. API summary: Fetch refunds for a payment.
  • list_payment_transfersList transfers for a payment. API summary: Fetch transfers for a payment.
  • list_paymentsList payments, newest first, optionally between `from` and `to` (Unix timestamps) with `limit`/`offset`.
  • list_payoutsList payouts. Optional filters: account number, contact id, fund account id, from or to. Results are paginated.
  • list_plansList plans. Results are paginated. API summary: List all plans.
  • list_qr_code_paymentsList payments for a qr code. Optional filters: from or to. Results are paginated. API summary: Fetch payments for a QR code.
  • list_qr_codesList qr codes. Optional filters: from, to, customer id or payment id. Results are paginated. API summary: Fetch all QR codes.
  • 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_stakeholder_documentsList documents for a stakeholder. API summary: Fetch KYC documents for a stakeholder.
  • list_subscriptionsList subscriptions, optionally filtered by `plan_id` or a `from`/`to` date range.
  • list_transactions_for_a_razorpayx_accountList payments. Optional filters: account number, from or to. Results are paginated. API summary: List transactions for a RazorpayX account.
  • list_transfer_reversalsList reversals for a transfer.
  • list_transfersList transfers. Optional filters: from, to, recipient settlement id or expand. Results are paginated.
  • pay_linkMoves moneyPayout a link. Financial or irreversible action; may require approval. Results are paginated. API summary: List payout links.
  • pay_paymentMoves moneyCapture a payment (payment id). Financial or irreversible action; may require approval.
  • 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.
  • refund_reversalMoves moneyRefund a reversal (transfer id). Financial or irreversible action; may require approval. API summary: Reverse a transfer.
  • reject_payoutMoves moneyReject a payout (payout id). Financial or irreversible action; may require approval. API summary: Reject a payout (workflow enabled).
  • resend_payment_linkVisible to othersResend a payment link to the customer by `payment_link_id` via `medium` sms or email. Sends a message.
  • search_contactsSearch contacts by name, email, contact, reference id, from or to. Use this to find existing contacts before creating a new contact. Results are paginated. API summary: List contacts.
  • send_invoice_notificationVisible to othersSend (or resend) an invoice to the customer by `invoice_id` via `medium` sms or email. Sends a message.
  • submit_accountVisible to othersClose a account (virtual account id). Has effects visible outside this system. API summary: Close a Virtual Account.
  • submit_qr_codeVisible to othersClose a qr code (qr code id). Has effects visible outside this system.
  • update_a_billChanges dataUpdate an existing invoice identified by invoice id. Only the fields you pass are changed. API summary: Update a bill.
  • update_a_payment_linkChanges dataUpdate an existing payment identified by payment id. Only the fields you pass are changed. API summary: Update a payment link.
  • update_a_virtual_accountChanges dataUpdate an existing account identified by account id. Only the fields you pass are changed. API summary: Update a Virtual Account.
  • update_accountChanges dataUpdate an existing account identified by account id. Only the fields you pass are changed. API summary: Update a Linked Account.
  • update_account_activate_deactivate_fund_accountChanges dataUpdate an existing account identified by account id. Only the fields you pass are changed. API summary: Activate or deactivate a fund account.
  • update_account_productChanges dataUpdate an existing product identified by product id. Only the fields you pass are changed. API summary: Update product configuration.
  • update_account_stakeholderChanges dataUpdate an existing stakeholder identified by stakeholder id. Only the fields you pass are changed. API summary: Update a Stakeholder.
  • update_account_webhookDeletesUpdate an existing webhook identified by webhook id. Only the fields you pass are changed. Destructive action; may require approval. API summary: Update a webhook.
  • update_contactChanges dataUpdate an existing contact identified by contact id. Only the fields you pass are changed. API summary: Update or activate/deactivate a contact.
  • update_customerChanges dataUpdate a customer's `name`, `email` or `contact` by `customer_id`.
  • update_dispute_contestsVisible to othersUpdate an existing contest identified by dispute id. Only the fields you pass are changed. Has effects visible outside this system. API summary: Contest a dispute.
  • update_invoiceChanges dataUpdate an existing invoice identified by invoice id. Only the fields you pass are changed. API summary: Update an invoice.
  • update_orderChanges dataUpdate an existing order identified by order id. Only the fields you pass are changed. API summary: Update an order.
  • update_paymentChanges dataUpdate an existing payment identified by payment id. Only the fields you pass are changed. API summary: Update a payment.
  • update_productChanges dataUpdate an existing product identified by product id. Only the fields you pass are changed. API summary: Update an item.
  • update_qr_codeChanges dataUpdate an existing qr code identified by qr code id. Only the fields you pass are changed. API summary: Update a QR code.
  • update_refundMoves moneyUpdate an existing refund identified by refund id. Only the fields you pass are changed. Financial or irreversible action; may require approval. API summary: Update a refund.
  • update_subscriptionChanges dataUpdate an existing subscription identified by subscription id. Only the fields you pass are changed. API summary: Update a subscription.
  • update_transferMoves moneyUpdate an existing transfer identified by transfer id. Only the fields you pass are changed. Financial or irreversible action; may require approval. API summary: Modify settlement hold on a transfer.
  • upload_documentChanges dataUpload a document (account id). API summary: Upload KYC documents for a sub-merchant account.
  • upload_kyc_documents_for_a_stakeholderChanges dataUpload a document (stakeholder id). API summary: Upload KYC documents for a stakeholder.

Set up in three steps

  1. 1

    Pick the app

    Create a free HeyMyApps 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:

    1. Click your name, then Settings › Connectors › Add custom connector.
    2. Paste your link as the Remote MCP server URL.
    3. 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 HeyMyApps 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?

HeyMyApps 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

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