Razorpay

Razorpay

Razorpay's Official MCP Server.

10K+

45 Tools

Packaged by
Requires Configuration
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

Tools

NameDescription
capture_paymentUse this tool to capture a previously authorized payment. Only payments with 'authorized' status can be captured
close_qr_codeClose a QR Code that's no longer needed
create_instant_settlementCreate an instant settlement to get funds transferred to your bank account
create_orderCreate 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_linkCreate a new standard payment link in Razorpay with a specified amount
create_qr_codeCreate a new QR code in Razorpay that can be used to accept UPI payments
create_refundUse 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_linkCreate a registration link (auth link) for subscription registration in Razorpay to set up recurring payments via card, emandate, NACH, or UPI.
detect_stackDetect 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_settlementsFetch all instant settlements with optional filtering, pagination, and payout details
fetch_all_ordersFetch all orders with optional filtering and pagination
fetch_all_payment_linksFetch 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_paymentsFetch all payments with optional filtering and pagination
fetch_all_payoutsFetch all payouts for a bank account number
fetch_all_qr_codesFetch all QR codes with optional filtering and pagination
fetch_all_refundsUse this tool to retrieve details of all refunds. By default, only the last 10 refunds are returned.
fetch_all_settlementsFetch all settlements with optional filtering and pagination
fetch_instant_settlement_with_idFetch details of a specific instant settlement using its ID
fetch_multiple_refunds_for_paymentUse this tool to retrieve multiple refunds for a payment. By default, only the last 10 refunds are returned.
fetch_orderFetch an order's details using its ID
fetch_order_paymentsFetch all payments made for a specific order in Razorpay
fetch_paymentUse this tool to retrieve the details of a specific payment using its id. Amount returned is in paisa
fetch_payment_card_detailsUse this tool to retrieve the details of the card used to make a payment. Only works for payments made using a card.
fetch_payment_linkFetch 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_codeFetch all payments made on a QR code
fetch_payout_with_idFetch a payout's details using its ID
fetch_qr_codeFetch a QR code's details using it's ID
fetch_qr_codes_by_customer_idFetch all QR codes for a specific customer
fetch_qr_codes_by_payment_idFetch all QR codes for a specific payment
fetch_refundUse this tool to retrieve the details of a specific refund using its id.
fetch_settlement_recon_detailsFetch settlement reconciliation report for a specific time period
fetch_settlement_with_idFetch details of a specific settlement using its ID
fetch_specific_refund_for_paymentUse this tool to retrieve details of a specific refund made for a payment.
fetch_tokensGet 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_paymentInitiate 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_checkoutComplete 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_notifySend or resend notification for a payment link via SMS or email.
payment_link_upi_createCreate a new UPI payment link in Razorpay with a specified amount and additional options.
resend_otpResend OTP to the customer's registered mobile number if the previous OTP was not received or has expired.
revoke_tokenRevoke 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_otpVerify and submit the OTP received by the customer to complete the payment authentication process.
update_orderUse this tool to update the notes for a specific order. Only the notes field can be modified.
update_paymentUse 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_linkUpdate any existing standard or UPI payment link with new details such as reference ID, expiry date, or notes.
update_refundUse this tool to update the notes for a specific refund. Only the notes field can be modified.
Related servers