Razorpay

Razorpay

Razorpay's Official MCP Server.

2.4K

42 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), 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 the smallest currency unit (e.g., for ₹295, use 29500)
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 contact number. This tool first finds or creates a customer with the given contact number, then fetches all saved payment tokens associated with that customer 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.
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.

Manual installation

You can install the MCP server using:

Installation for

Related servers