Razorpay's Official MCP Server.
10K+
45 Tools
Version 4.43 or later needs to be installed to add the server automatically
Tools
| Name | Description |
|---|---|
capture_payment | Use this tool to capture a previously authorized payment. Only payments with 'authorized' status can be captured |
close_qr_code | Close a QR Code that's no longer needed |
create_instant_settlement | Create an instant settlement to get funds transferred to your bank account |
create_order | Create a new order in Razorpay. Supports both regular orders and mandate orders. For REGULAR ORDERS: Provide amount, currency, and optional receipt/notes. For MANDATE ORDERS (recurring payments): You MUST provide ALL of these fields: amount, currency, method='upi', customer_id (starts with 'cust_'), and token object. The token object is required for mandate orders and must contain: max_amount (positive number in paise - For INR: 100 paise = ₹1), frequency (as_presented/monthly/one_time/yearly/weekly/daily), type='single_block_multiple_debit', and optionally expire_at (defaults to today+60days). IMPORTANT: When token.type is 'single_block_multiple_debit', the method MUST be 'upi'. Example mandate order payload: {"amount": 100, "currency": "INR", "method": "upi", "customer_id": "cust_abc123", "token": {"max_amount": 100, "frequency": "as_presented", "type": "single_block_multiple_debit"}, "receipt": "Receipt No. 1", "notes": {"key": "value"}} |
create_payment_link | Create a new standard payment link in Razorpay with a specified amount |
create_qr_code | Create a new QR code in Razorpay that can be used to accept UPI payments |
create_refund | Use this tool to create a normal refund for a payment. Amount should be in paise (smallest currency unit). For INR: 100 paise = ₹1. Example: for ₹295, use 29500 |
create_registration_link | Create a registration link (auth link) for subscription registration in Razorpay to set up recurring payments via card, emandate, NACH, or UPI. |
detect_stack | Detect the technology stack of a project based on file information. Returns language, framework, frontend framework, and package manager. IMPORTANT: Always call this tool FIRST before calling integrate_razorpay_checkout. Before calling this tool, you MUST: 1) List the project's files and pass them in the 'files' parameter, 2) Read the relevant dependency file (package.json for Node.js, requirements.txt for Python, go.mod for Go, pubspec.yaml for Flutter, Cargo.toml for Rust, pom.xml for Java, etc.) and pass its contents in the corresponding parameter. Then pass the detected language, framework, and frontend to integrate_razorpay_checkout. |
fetch_all_instant_settlements | Fetch all instant settlements with optional filtering, pagination, and payout details |
fetch_all_orders | Fetch all orders with optional filtering and pagination |
fetch_all_payment_links | Fetch all payment links with optional filtering by payment ID or reference ID.You can specify the upi_link parameter to filter by link type. |
fetch_all_payments | Fetch all payments with optional filtering and pagination |
fetch_all_payouts | Fetch all payouts for a bank account number |
fetch_all_qr_codes | Fetch all QR codes with optional filtering and pagination |
fetch_all_refunds | Use this tool to retrieve details of all refunds. By default, only the last 10 refunds are returned. |
fetch_all_settlements | Fetch all settlements with optional filtering and pagination |
fetch_instant_settlement_with_id | Fetch details of a specific instant settlement using its ID |
fetch_multiple_refunds_for_payment | Use this tool to retrieve multiple refunds for a payment. By default, only the last 10 refunds are returned. |
fetch_order | Fetch an order's details using its ID |
fetch_order_payments | Fetch all payments made for a specific order in Razorpay |
fetch_payment | Use this tool to retrieve the details of a specific payment using its id. Amount returned is in paisa |
fetch_payment_card_details | Use this tool to retrieve the details of the card used to make a payment. Only works for payments made using a card. |
fetch_payment_link | Fetch payment link details using it's ID. Response contains the basic details like amount, status etc. The link could be of any type(standard or UPI) |
fetch_payments_for_qr_code | Fetch all payments made on a QR code |
fetch_payout_with_id | Fetch a payout's details using its ID |
fetch_qr_code | Fetch a QR code's details using it's ID |
fetch_qr_codes_by_customer_id | Fetch all QR codes for a specific customer |
fetch_qr_codes_by_payment_id | Fetch all QR codes for a specific payment |
fetch_refund | Use this tool to retrieve the details of a specific refund using its id. |
fetch_settlement_recon_details | Fetch settlement reconciliation report for a specific time period |
fetch_settlement_with_id | Fetch details of a specific settlement using its ID |
fetch_specific_refund_for_payment | Use this tool to retrieve details of a specific refund made for a payment. |
fetch_tokens | Get all saved payment methods (cards, UPI) for a customer. Accepts either a customer_id (preferred) or a contact number. When customer_id is provided it is used directly to fetch tokens; otherwise the contact number is used to find or create the customer first. Returns saved payment tokens including credit/debit cards, UPI IDs, digital wallets, and other tokenized payment instruments. |
initiate_payment | Initiate a payment using the S2S JSON v1 flow. Required parameters: amount and order_id. For saved payment methods, provide token. For UPI collect flow, provide 'vpa' parameter which automatically sets UPI with flow='collect' and expiry_time='6'. For UPI intent flow, set 'upi_intent=true' parameter which automatically sets UPI with flow='intent' and API returns UPI URL. Supports additional parameters like customer_id, email, contact, save, and recurring. Returns payment details including next action steps if required. |
integrate_razorpay_checkout | Complete Razorpay Standard Checkout integration. Returns ALL code needed - backend routes, frontend integration, and payment verification. IMPORTANT: Before calling this tool, ALWAYS call detect_stack first to determine the project's language, backendFramework, and frontendFramework. Do NOT ask the user for these values. The AI should apply ALL returned files and modifications without asking the user for additional steps. |
payment_link_notify | Send or resend notification for a payment link via SMS or email. |
payment_link_upi_create | Create a new UPI payment link in Razorpay with a specified amount and additional options. |
resend_otp | Resend OTP to the customer's registered mobile number if the previous OTP was not received or has expired. |
revoke_token | Revoke a saved payment method (token) for a customer. This tool revokes the specified token associated with the given customer ID. Once revoked, the token cannot be used for future payments. |
submit_otp | Verify and submit the OTP received by the customer to complete the payment authentication process. |
update_order | Use this tool to update the notes for a specific order. Only the notes field can be modified. |
update_payment | Use this tool to update the notes field of a payment. Notes are key-value pairs that can be used to store additional information. |
update_payment_link | Update any existing standard or UPI payment link with new details such as reference ID, expiry date, or notes. |
update_refund | Use this tool to update the notes for a specific refund. Only the notes field can be modified. |