---
title: "Razorpay Integration"
description: "Run payments in India end to end with Razorpay. Agents create orders and capture payments, issue refunds, send payment links and UPI QR codes, generate invoices, manage plans and subscriptions, and reconcile settlements across 70 actions."
url: https://flowrunner.ai/integrations/razorpay
date_modified: 2026-08-01T02:40:32-07:00
---

# Razorpay

[Payments](https://flowrunner.ai/integrations/category/finance-accounting)

Run payments in India end to end with Razorpay. Agents create orders and capture payments, issue refunds, send payment links and UPI QR codes, generate invoices, manage plans and subscriptions, and reconcile settlements across 70 actions.

[Verified](https://flowrunner.ai/integrations/verified "What does verified mean?") · 70 actions · Basic auth · available

[Razorpay website](https://razorpay.com/) · [Platform Documentation](https://razorpay.com/docs/api/) · Capability data verified 2026-08-12

1.  A closed deal or completed checkout arrives from the upstream system
2.  Agent reads the customer, amount, and billing details
3.  Create Order, then Create Payment Link delivers a checkout URL by SMS and email
4.  Agent polls Get Payment Link and resends reminders while the link sits unpaid
5.  On payment, the captured amount is verified against the order
6.  Finance channel gets the paid confirmation with the payment ID and settlement context
7.  Any refund request against the payment waits for a named approver before Create Refund moves money back

## What This Integration Enables

Razorpay is where the money actually moves for a business selling in India: UPI, cards, netbanking, payment links, QR codes, subscriptions, and the settlements that land it all in the bank. FlowRunner agents run that entire loop. They create orders and capture payments, generate and chase payment links, stand up UPI QR codes and virtual accounts for collections, enroll customers in subscription plans, issue invoices built from reusable billing items, and pull the combined settlement reconciliation report that ties every bank deposit back to its component payments, refunds, and fees.

The through line is a simple division of labor: agents own the collection and reconciliation grind, and humans own the moves that push money out or shut revenue off. Refunds, subscription cancellations that cannot be reactivated, and on-demand settlements that carry extra fees are exactly the operations FlowRunner routes to a person before they run.

### Without FlowRunner

**Payment chasing by hand**: Unpaid links and invoices tracked in inboxes and spreadsheets, followed up when someone remembers

**Refunds on trust**: Money returned to customers with no consistent record of who approved the reversal

**Settlement mystery**: Bank deposits reconciled against payments in a month-end scramble

### With FlowRunner

**Links tracked to paid**: Every payment link created, reminded, and closed inside the flow

**Refunds with sign-off**: Irreversible money movement happens only after a named approver says so

**Settlements reconciled daily**: Each settlement broken into component payments, refunds, and fees automatically

## Use Case Scenarios

### Deal closed to payment collected

A deal closes in [HubSpot](https://flowrunner.ai/integrations/hubspot). The agent calls Create Customer with the buyer's details, Create Order for the amount, and Create Payment Link with SMS and email delivery so the customer gets a checkout URL immediately. It writes the link's short URL back onto the CRM record, then watches the link. If it sits unpaid, Send Payment Link Notification resends it. When Get Payment Link reports paid, the agent verifies the captured amount, marks the deal, and emails a receipt through [Gmail](https://flowrunner.ai/integrations/gmail-service) with the payment ID.

### Subscription operations without accidental cancellations

The agent manages the recurring side: Create Plan defines the billing cycle, Create Subscription enrolls the customer and returns the authorization URL, and Create Subscription Add-on bills one-off charges on the next invoice. When a customer disputes a charge or asks to stop, the agent reaches for Pause Subscription, not Cancel Subscription, because a cancelled subscription can never be reactivated. Actually cancelling is a proposal it makes to a person, with the subscription's payment history attached.

### Daily settlement reconciliation

Every morning the agent calls List Settlements for new entries, then Get Combined Settlement Recon for the day, which breaks each settlement into its component payments, refunds, and adjustments with fees and taxes. It appends each line to the finance workbook in [Google Sheets](https://flowrunner.ai/integrations/google-sheets) and checks the settled totals against captured payments. A settlement that does not tie out is posted to the finance channel with the UTR reference from Get Settlement, so the person investigating starts with the bank trace already in hand.

## Human-in-Loop Highlight

Create Refund moves money out of the account, and there is no API to take it back. So the refund path in a FlowRunner flow ends at a person, not at the payment gateway. When a refund request arrives, the agent pulls the payment with Get Payment, checks prior refunds with List Payment Refunds so it never double-refunds, and posts to the finance channel: "Refund requested on pay\_MkXq for Rs 12,500, captured 14 days ago, no prior refunds. Approve full refund at normal speed, approve instant refund with the additional fee, or decline?" The speed question is part of the decision because instant refunds cost real money. The approver picks one, and only then does the agent call Create Refund with exactly the approved amount and speed. This is [human-in-the-loop](https://flowrunner.ai/concepts/human-in-the-loop) applied where it belongs: at the moment funds leave.

Agent processes routinely

Detects exception requiring judgment

Clear match Continues automatically

Ambiguous Routes to human via preferred channel

Human decides

Agent resumes with decision

## Agent Capabilities

70 actions

### Orders

5

-   **Create Order** Create the order a payment is made against, the recommended first step of every Razorpay payment flow. Supports partial payments and custom notes.
-   **List Orders** Pull orders by time range or receipt with pagination.
-   **Get Order** Load one order's amount, amount due, status, and attempts.
-   **Update Order** Update an order's notes after creation.
-   **List Order Payments** Read every payment attempt made against an order, including failed and authorized ones.

### Payments

7

-   **List Payments** Retrieve payments by time range for reporting and reconciliation.
-   **Get Payment** Load one payment's full detail: amount, status, method, fees, and customer contact.
-   **Capture Payment** Capture an authorized payment before Razorpay's authorization window expires and auto-refunds it. The step that actually secures the funds.
-   **Update Payment** Update a payment's notes for downstream bookkeeping.
-   **Get Card of Payment** Read the masked card details behind a card payment for support and risk workflows.
-   **List Downtimes** Detect current and scheduled outages across UPI, cards, netbanking, and wallets, so flows can explain payment failure spikes instead of guessing.
-   **Get Downtime** Load one downtime record to check whether an outage window explains a failure cluster.

### Refunds

6

-   **Create Refund** Refund a captured payment in full or in part, at normal or optimum speed. The money-out step a human approval gate sits in front of.
-   **List Payment Refunds** Read the refunds already issued against a payment, the check that prevents double refunds.
-   **Get Payment Refund** Load one refund on a specific payment to verify its amount and status.
-   **List All Refunds** Audit refunds account-wide across all payments.
-   **Get Refund** Load a single refund by ID.
-   **Update Refund** Maintain notes on a refund for the audit trail.

### Payment Links

6

-   **Create Payment Link** Generate a shareable checkout URL with expiry, prefill, SMS and email delivery, and automatic reminders.
-   **List Payment Links** Find links by reference for tracking and follow-up.
-   **Get Payment Link** Read a link's status through created, partially paid, paid, expired, or cancelled.
-   **Update Payment Link** Extend a link's expiry or adjust its reference details.
-   **Cancel Payment Link** Kill a link that should no longer be payable.
-   **Send Payment Link Notification** Resend a link to the customer by SMS or email.

### Invoices and Items

13

-   **Create Invoice** Build an invoice from reusable items or inline lines.
-   **Issue Invoice** Issue a draft invoice to generate the payable URL and notify the customer.
-   **List Invoices** Track invoice status from draft through paid.
-   **Get Invoice** Load one invoice with its lines, amounts, and status.
-   **Update Invoice** Update a draft invoice before it goes out.
-   **Cancel Invoice** Cancel an issued invoice so it can no longer be paid.
-   **Delete Invoice** Permanently delete a draft invoice.
-   **Send Invoice Notification** Resend the payable invoice by SMS or email.
-   **Create Item** Add a reusable billing item invoices are assembled from.
-   **List Items** Browse the item library with pagination.
-   **Get Item** Load one item's name, amount, and tax details.
-   **Update Item** Maintain an item as pricing changes.
-   **Delete Item** Remove an item from the library.

### Customers

4

-   **Create Customer** Create a customer record with contact details and GSTIN.
-   **List Customers** Page through the account's customer records.
-   **Get Customer** Load one customer, referenced across invoices, QR codes, and virtual accounts.
-   **Update Customer** Keep customer contact details current.

### Plans and Subscriptions

13

-   **Create Plan** Define an immutable billing cycle: what is charged, how often.
-   **List Plans** Browse the configured plans.
-   **Get Plan** Load one plan's interval and billing item.
-   **Create Subscription** Enroll a customer in recurring billing and return the authorization URL.
-   **List Subscriptions** Track subscriptions across the account by status.
-   **Get Subscription** Load one subscription's plan, status, and charge schedule.
-   **Update Subscription** Switch plans or change quantities and remaining cycles.
-   **Cancel Subscription** Stop billing permanently. Cancellation is irreversible, which is why flows default to pause and escalate cancel to a person.
-   **Pause Subscription** Suspend billing temporarily without losing the subscription.
-   **Resume Subscription** Restart billing on a paused subscription.
-   **Create Subscription Add-on** Bill a one-time charge on the subscription's next invoice.
-   **Get Add-on** Read an add-on's item and quantity.
-   **Delete Add-on** Remove an add-on before it is billed.

### QR Codes

5

-   **Create QR Code** Stand up a single-use or multi-use UPI QR code with a fixed or open amount.
-   **List QR Codes** Enumerate active and closed codes.
-   **Get QR Code** Read one code's status and payment totals.
-   **Close QR Code** Permanently close a code so it stops accepting payments.
-   **List QR Code Payments** Reconcile everything paid through a code.

### Settlements

6

-   **List Settlements** Track settlements of the Razorpay balance to the bank.
-   **Get Settlement** Load one settlement, including the UTR reference for tracing transfers.
-   **Get Combined Settlement Recon** Pull the daily or monthly reconciliation report that breaks each settlement into component payments, refunds, transfers, and adjustments.
-   **Create On-demand Settlement** Request instant settlement of available balance ahead of the scheduled cycle. On-demand settlements carry additional fees, so flows treat them as an escalation, not a habit.
-   **List On-demand Settlements** Audit past on-demand settlement requests.
-   **Get On-demand Settlement** Track one on-demand settlement's status and fees.

### Virtual Accounts

5

-   **Create Virtual Account** Provision a smart-collect account customers pay into by bank transfer or UPI, optionally linked to a customer.
-   **List Virtual Accounts** Enumerate the provisioned virtual accounts.
-   **Get Virtual Account** Read one account's receivers and status.
-   **Close Virtual Account** Permanently close a virtual account.
-   **List Virtual Account Payments** Reconcile every payment a virtual account received.

## Frequently Asked Questions

### What can FlowRunner do with Razorpay?

FlowRunner agents can run Create Order, List Orders, and Get Order in Razorpay, plus 67 more actions.

### Does connecting Razorpay to FlowRunner require OAuth?

No. Razorpay connects to FlowRunner with basic authentication (a username and password), no OAuth flow required.

### Can Razorpay trigger a FlowRunner workflow automatically?

Razorpay doesn't currently expose triggers in FlowRunner. It connects as an action step inside workflows started by another trigger.

**Work at Razorpay?** This integration exposes Razorpay to AI agents on every FlowRunner plan, including through MCP, at no cost to you. [See what FlowRunner offers integration partners](https://flowrunner.ai/integrations/partners), including how to keep this page current.

---
Markdown version of https://flowrunner.ai/integrations/razorpay. Site index: https://flowrunner.ai/llms.txt
