# Razorpay AI integration on Definable

> Payment gateway and financial services platform for businesses in India

## What this connects

Payment gateway and financial services platform for businesses in India

Vendor: https://razorpay.com

## Tools available

**42** tools available. First 12:

- `RAZORPAY_CANCEL_INVOICE` — Cancel Invoice — Tool to cancel an existing Razorpay invoice. Use this when you need to cancel an invoice that has been issued but not yet paid. Only invoices in 'issued' status can be cancelled.
- `RAZORPAY_CANCEL_PAYMENT_LINK` — Cancel Payment Link — Tool to cancel a specific payment link. Use when you need to cancel an active payment link before it expires. The payment link cannot be used after cancellation.
- `RAZORPAY_CREATE_AN_ORDER` — Create an Order — Tool to create a Razorpay order with specified amount and currency. Use when you need to initiate a payment order before collecting payment from a customer. Amount and currency are mandatory parameters; receipt and notes are optional for internal tracking.
- `RAZORPAY_CREATE_CONTACT` — Create Contact — Tool to create a contact for payouts in RazorpayX. Use when you need to add a new contact (employee, vendor, or customer) for making payouts.
- `RAZORPAY_CREATE_CUSTOMER` — Create Customer — Tool to create a new customer in Razorpay. Use when you need to register a customer for recurring payments or saved cards. Returns a customer_id that can be used for future transactions.
- `RAZORPAY_CREATE_INVOICE` — Create an Invoice — Tool to create an invoice for billing customers. Use when you need to generate an invoice with customer details and line items. You can create a blank invoice in draft state, update it later, and issue it when ready.
- `RAZORPAY_CREATE_ITEM` — Create Item — Tool to create an item that can be used in Razorpay invoices. Use when you need to create a new product or service entry for invoicing purposes.
- `RAZORPAY_CREATE_PAYMENT_LINK` — Create Payment Link — Tool to create a payment link for collecting payments via a shareable URL. Use when you need to generate a payment link for a customer to complete payment online.
- `RAZORPAY_DELETE_INVOICE` — Delete Invoice — Tool to delete an invoice in Razorpay. Use when you need to permanently remove an invoice from the system. Note: Only invoices in 'draft' status can be deleted. Invoices in other statuses (issued, paid, cancelled) cannot be deleted.
- `RAZORPAY_DELETE_ITEM` — Delete item — Tool to delete an existing item from Razorpay. Use when you need to permanently remove an item from the system. Items can only be deleted if they are not associated with any invoices.
- `RAZORPAY_FETCH_ALL_CUSTOMERS` — Fetch All Customers — Tool to retrieve a paginated list of all customers from Razorpay. Use when you need to get customer details for multiple customers or iterate through the customer base.
- `RAZORPAY_FETCH_ALL_INVOICES` — Fetch All Invoices — Tool to fetch all invoices with pagination and filtering support. Use when you need to retrieve a list of invoices, optionally filtered by payment ID, customer ID, receipt, or date range.

## Auth

Auth schemes: `API_KEY`, `OAUTH2`.

## How agents use Razorpay

Inside a Definable workflow, Razorpay is one of the tools the **Distributor specialist** can call. Example coordination patterns:

- **Researcher → Razorpay** — the Researcher (GPT-5.5) pulls context from Razorpay (records, threads, documents), synthesises findings, and briefs the rest of the team.
- **Writer → Distributor → Razorpay** — the Writer (Claude Opus 4.7) drafts copy in brand voice, the Verifier passes it, then the Distributor writes the result into Razorpay (create record, post message, draft email).
- **Designer / Engineer → Distributor → Razorpay** — the Designer ships an asset or the Engineer ships a code change, the Distributor delivers it via Razorpay (attach file, open PR comment, post status).

The Verifier checks every Razorpay call. On rate limit, schema drift, or auth refresh it self-heals and retries — the workflow completes without manual intervention.

## Categories

- payment processing — https://definable.ai/apps/category/payment-processing/

## Related

- HTML page: https://definable.ai/apps/razorpay/
- Same category (payment processing): https://definable.ai/apps/category/payment-processing/
- All integrations: https://definable.ai/apps/
- Workflow (multi-agent loop): https://definable.ai/workflow/
- Apps llms.txt index: https://definable.ai/llms-apps.txt
