Enterprise access
Agent Serve is available to teams by invitation. Tell us what you want to build and we will set up your workspace with you.
Agent Serve · Commerce integration
Collect payments in India with Razorpay Payment Links, orders, refunds, and UPI QR
Razorpay is a Commerce integration for Agent Serve, the AI workspace where teams build and deploy AI agents. Agent Serve's Razorpay integration provides 14 Razorpay tools that AI agents can use inside Agent Serve's visual workflow builder. Razorpay connects with an API key. Explore deployment options with the Agent Serve team.
Last updated
Use Razorpay to send Payment Links that customers pay by UPI, card, netbanking, or wallet, with SMS and email notifications and reminders, then check, cancel, or list them. Create orders for Checkout, fetch and capture payments, issue full or partial refunds, create customers, and generate UPI QR codes. Enter amounts in rupees (the major unit); they are converted to paise for Razorpay. The Razorpay webhook trigger runs workflows when a link is paid or expires, a payment is captured or fails, an order is paid, or a refund is processed.
Agent Serve accounts are created by invitation. Request access for your team, or accept an invitation from your workspace admin, then sign in.
Open your workspace, drag a Razorpay block onto the workflow builder, and paste in your Razorpay API key.
Pick the tool you need, wire in an AI agent for reasoning or data transformation, and run. Your Razorpay automation is live.
14 Razorpay tools available in Agent Serve.
Create a Razorpay Payment Link and get a short URL the customer can pay by UPI, card, netbanking, or wallet. Razorpay can send it by SMS and email and remind the customer. ${RAZORPAY_AMOUNT_NOTE}
Get a Razorpay Payment Link by ID, with its status (created, partially_paid, paid, expired, cancelled), amount paid, and captured payments.
List Razorpay Payment Links, optionally only the link with a given reference ID or the link a payment was made on. Use the reference ID to find the link you created for a lead or invoice.
Cancel an unpaid Razorpay Payment Link so the customer can no longer pay it. Paid, partially paid, and expired links cannot be cancelled.
Create a Razorpay Order to pass to Razorpay Checkout. Create a new order for every payment attempt. ${RAZORPAY_AMOUNT_NOTE}
Get a Razorpay Order by ID with its status (created, attempted, paid), amount paid, and amount due.
Get a Razorpay Payment by ID with its status (authorized, captured, refunded, failed), method, amount, refunds, fee, and failure reason. Card details are not returned.
List Razorpay Payments, optionally between two times. Returns up to 100 per call; use skip to page.
Capture an authorized Razorpay Payment so the money is settled to you. Only payments in the authorized state can be captured, and the amount must equal the authorized amount. ${RAZORPAY_AMOUNT_NOTE}
Refund a captured Razorpay Payment, fully or in part. Leave the amount empty for a full refund. Normal refunds take 5-7 working days; optimum tries an instant refund first. ${RAZORPAY_AMOUNT_NOTE}
Get a Razorpay Refund by ID with its status (pending, processed, failed), amount, and whether it was processed instantly.
Create a Razorpay Customer with name, email, and phone number. Turn off failExisting to get the existing customer back instead of an error when one with the same details exists.
Get a Razorpay Customer by ID with their name, email, phone number, and GSTIN.
Create a Razorpay UPI QR code and get its image URL to show or send. Single-use codes collect one fixed amount; multiple-use codes can take many payments. Amounts are in rupees and converted to paise. QR Codes must be enabled on the Razorpay account.
Ready-to-use templates featuring Razorpay. Click any to build it instantly.
Agent Serve's Razorpay integration adds 14 Razorpay tools to the AI agents you build in Agent Serve's visual workflow builder — you build it all visually. Collect payments in India with Razorpay Payment Links, orders, refunds, and UPI QR. Teams often pair Razorpay with Affinity and Linear in the same agent.
Agent Serve is available to teams by invitation. Request access and the team will map out the Razorpay agents, connections, and team access your process needs.