> ## Documentation Index
> Fetch the complete documentation index at: https://agent-docs.magicwebs.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Orders and payments

> Track orders and other records your agents file, and send Razorpay payment links that move a record to paid when the customer pays.

## Orders and other records

Each [record book](https://agent-docs.magicwebs.ai/build/record-books.md) has its own entry under **Leads** in the sidebar, for example **Orders**, **Site Visits**, **Unit Bookings** or **Callbacks**.

![Unit Bookings: Suresh Kumar's booking for Tower A, unit 905, at Token pending](https://mintcdn.com/magicwebs/Y5otz65o1vDClhV_/images/console/record-book-booking.png?fit=max\&auto=format\&n=Y5otz65o1vDClhV_\&q=85\&s=e69b258f76cc2d9cc76cb37dd95bcab9)

From a book's **Filed** tab you can:

* search by name, phone or reference, and filter by stage;
* open a record to read every detail and **Move** it to the next stage;
* **Open conversation** to see how it was collected;
* **Add** a record by hand, **Import** a CSV or Excel file, or **Export CSV**.

![Callbacks filed by Arjun and Meera, with the preferred time to call](https://mintcdn.com/magicwebs/Y5otz65o1vDClhV_/images/console/record-book-callback.png?fit=max\&auto=format\&n=Y5otz65o1vDClhV_\&q=85\&s=5ebe4cbf7f3e56e44f8d2fb6c63f2209)

> [!NOTE]
>
> **Orders** is the book for things sold from the catalogue. If the Orders page says the workspace "does not have its Orders book yet", use **Open Record books** and create it there.

## Payments with Razorpay

Once you [connect Razorpay](https://agent-docs.magicwebs.ai/automation/integrations.md#razorpay), agents and your team can send payment links, and **Payments** appears under Leads.

![Payments before Razorpay is connected](https://mintcdn.com/magicwebs/Y5otz65o1vDClhV_/images/console/payments.png?fit=max\&auto=format\&n=Y5otz65o1vDClhV_\&q=85\&s=f87964cb81a510d945ef899966ad483c)

### Send a payment link

1. Choose **New payment link**, or **Send payment link** on a record.
2. Enter the **Amount (₹)**, or an **Order reference**. With a reference, you can leave the amount blank to charge the order's total.
3. Fill in **What it is for** and the customer's name, phone and email.
4. Choose **Create link**. It is copied to your clipboard. Razorpay can also text and email it to the customer.

When the customer pays, the record moves to the stage you chose in the Razorpay settings.

### Track payments

Filter by **All**, **Open**, **Paid**, **Part paid**, **Expired** or **Cancelled**. Each row shows who sent the link (an agent or *Team*), the amount and status. The row menu can copy or open the link, open the conversation, refresh the status or cancel the link.

To let an agent send links on its own, turn on the Razorpay tools for that agent under **Knowledge & tools** in the [agent editor](https://agent-docs.magicwebs.ai/build/agent-editor.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.