Razorpay for AI agents

Razorpay is a payment gateway and financial services platform for businesses in India. Merchants use it to accept payments, issue invoices, and manage settlements. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.

Finance and accountingOAuth 2.0MCP + RESTrazorpay.com
AUDIT LOG · RAZORPAYPOLICY: acme-support
09:41:07 · claude · u_8f2read
razorpay.list_items
List Items✓ allowed · 212ms
09:41:08 · claude · u_8f2read
razorpay.get_item
Get Item✓ allowed · 164ms
09:41:09 · claude · u_8f2write
razorpay.create_item
Create Item✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
razorpay.delete_item
Delete item✕ blocked · policy: deny
EVERY RAZORPAY CALL, ON THE RECORD
01 · USE CASES

What agents do in Razorpay.

01

Create a payment link

Generate a payment link for an order that a customer can pay through any method.

02

Check payment status read-only

Look up a payment's status before confirming an order is ready to ship.

03

Cancel an invoice with approval

Cancel an outstanding invoice only after finance confirms it should not be collected.

02 · ACTIONS

42 Razorpay actions, graded by risk.

Every Razorpay action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.

read

23

Look things up. Allowed by default.

  • razorpay.get_item
    Get Item
  • razorpay.list_items
    List Items
  • razorpay.get_contact
    Get Contact
  • razorpay.get_customer
    Retrieve Customer
  • razorpay.list_disputes
    List Disputes
  • razorpay.get_fund_account
    Get Fund Account
  • razorpay.list_fund_accounts
    List Fund Accounts
  • razorpay.get_settlement_recon
    Get Settlement Reconciliation Report
  • razorpay.list_customer_tokens
    List Customer Tokens
  • razorpay.list_fund_validations
    List Fund Validations
  • razorpay.get_transfer_reversals
    Get Transfer Reversals
  • razorpay.list_payment_downtimes
    List Payment Downtimes
  • razorpay.fetch_orders
    Fetch All Orders
  • razorpay.fetch_refunds
    Fetch All Refunds
  • razorpay.fetch_all_invoices
    Fetch All Invoices
  • razorpay.fetch_all_payments
    Fetch All Payments
+ 7 MORE

write

15

Create and change things. Allow, or ask the user first.

  • razorpay.create_item
    Create Item
  • razorpay.update_item
    Update Item
  • razorpay.update_order
    Update Order
  • razorpay.create_contact
    Create Contact
  • razorpay.create_invoice
    Create an Invoice
  • razorpay.update_contact
    Update Contact
  • razorpay.update_invoice
    Update Invoice
  • razorpay.create_an_order
    Create an Order
  • razorpay.create_customer
    Create Customer
  • razorpay.update_customer
    Update Customer
  • razorpay.create_payment_link
    Create Payment Link
  • razorpay.update_payment_link
    Update payment link
  • razorpay.send_or_resend_notification
    Send/Resend Invoice Notification
  • razorpay.issue_an_invoice
    Issue an Invoice
  • razorpay.notify_payment_link
    Notify Payment Link

destructive

4

Delete, cancel or archive. Ask first, or deny outright.

  • razorpay.delete_item
    Delete item
  • razorpay.cancel_invoice
    Cancel Invoice
  • razorpay.delete_invoice
    Delete Invoice
  • razorpay.cancel_payment_link
    Cancel Payment Link
03 · HOW IT WORKS

Razorpay in three steps.

  1. 01Your users connect RazorpayThey sign in to Razorpay on Arc0 Connect, under your brand, and approve the access you ask for.
  2. 02You set the rulesReads run, writes like “create Item” can wait for the user, and “delete item” can be denied outright.
  3. 03Any agent can actYour agent calls Razorpay through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
POLICY.TS
await arc0.policies.set('razorpay', {
  read: 'allow',
  write: 'ask',        // create_item
  destructive: 'deny',  // delete_item
})

# Claude Code: the same connection, one URL
$ claude mcp add --transport http arc0 \
    https://mcp.arc0.ai/u/u_8f2
04 · AUTH AND DATA

How Razorpay connects.

Users sign in to Razorpay on Arc0 Connect and approve the scopes you request. Build with Arc0’s Razorpay OAuth app, or bring your own so the Razorpay consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

The same Razorpay connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →

AUTH
API key · OAuth 2.0
CREDENTIALS
Per-tenant encrypted vault
MODEL SEES
Results only, never credentials
AUDIT LOG
Every call, on every plan
05 · WORKS WITH

Use Razorpay from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Razorpay and Arc0, answered.

Q01

Can I use Razorpay with Claude, ChatGPT or Cursor?

Yes. Connect Razorpay to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Razorpay actions you allow.

Q02

How do users connect Razorpay?

Users sign in to Razorpay on Arc0 Connect and approve the scopes you request. Build with Arc0’s Razorpay OAuth app, or bring your own so the Razorpay consent screen names you. Tokens refresh automatically, and you can export them whenever you want.

Q03

Which Razorpay actions can my agent take?

42 in total: 23 read, 15 write and 4 destructive, such as “create Item”. Your policies decide which of them each agent may call.

Q04

Can I stop my agent from deleting things in Razorpay?

Yes. Actions like “delete item” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.

Q05

Can my own backend call Razorpay too?

Yes. The same Razorpay connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.

Get started

Plug Razorpay into your agent.

Your users connect Razorpay once, under your brand. Your agent gets 42 actions behind your policies, with every call on the record.

Free to build · MCP + REST · Audit log on every plan