# Take the fee when patients book

> Patients pay your consultation fee online when they book, straight into your own Razorpay account. Nimo takes no cut.

Patients who book on your [clinic page](/help/clinic-owner/online-booking) can pay the consultation fee before the booking is confirmed. Fewer no-shows, and no chasing payments over chat.

The money goes **straight into your clinic's own Razorpay account**. Nimo never holds it and takes no cut. Razorpay's usual fee for each payment applies, as it would anywhere else.

> **Note:** > Online payments are in **early access**. Until your clinic is switched on, **Clinic settings → Payments** shows **Coming soon**. To join, [message us on WhatsApp](https://wa.me/919633136196?text=Hi%20Nimo%20%E2%80%94%20I%27d%20like%20online%20payments%20for%20my%20clinic.) and we'll turn it on for you.

## What you need

- **Online booking switched on.** See [Online booking & your free clinic page](/help/clinic-owner/online-booking).
- **A Razorpay account** for your clinic. No account yet? Sign up at razorpay.com. Activation usually takes 2–5 working days. Until then you can connect **Test** keys and try the whole flow yourself.

Nimo shows a short checklist at the top of **Clinic settings → Payments**: **Online booking is on**, **Razorpay is connected**, **A consultation fee is set**, **Fee collection is switched on**. Each line ticks itself off as you go.

## Connect your Razorpay account

1. Open **Clinic settings → Payments**.
2. In Razorpay, open **API Keys** and generate a key. Choose **Live** to take real payments, or **Test** to try it out first.
3. Paste the **Key ID** (it starts with rzp_live_ or rzp_test_) and the **Key Secret** into Nimo.
4. Tap **Connect Razorpay**.

Nimo checks the keys with Razorpay, then stores them encrypted. The secret is never shown again, not to you and not to Nimo's support team. A **Live** or **Test mode** badge shows which kind you connected.

> **Warning:** > Never share your keys over WhatsApp or Instagram. Paste them only into Nimo's Payments page.

With **Test** keys, nobody can pay real money. While Test keys are connected and patients are booking, Nimo shows an amber reminder to switch to Live.

## Set your fees

Under **Patients pay when they book**:

- **Consultation fee (₹)** is the clinic's fee. Nimo uses it on bills at check-in too.
- Each doctor can have their own fee. Leave it empty for **Same as clinic**.

A doctor with no fee at all is booked for free. Nimo never asks a patient to pay ₹0.

## Switch it on

Turn on **Collect the fee when patients book**. The switch stays greyed out, with the reason beside it, until Razorpay is connected and a fee is saved.

Patients now see the fee on the doctor cards, in their booking summary and above the pay button. Tap **Preview booking page** to see it as they will.

## What patients see

1. They pick a doctor and a time, and fill in their name and mobile, as usual.
2. They tap **Pay ₹500 & confirm**. Razorpay's own payment screen opens, with UPI first on phones.
3. Nimo holds the time for 15 minutes while they pay, so nobody else can take it.
4. Once Razorpay confirms the money, they see **You're booked · Paid ₹500**, with a payment reference.

If they close the payment screen, Nimo shows how long the time is still held, and a button to pay again. If they already paid in their UPI app, Nimo notices within a few minutes and books them. If the time was taken while they paid, Nimo refunds them in full straight away.

## Refunds

- **You cancel** a paid booking: the patient always gets a full refund. Nimo asks you to confirm first.
- **The patient cancels** from their booking link: they get a full refund if they cancel at least your **Refund window** before the appointment. Choose **Any time**, 12, 24 or 48 hours. Their booking page explains this before they cancel.
- **No-show:** the clinic keeps the fee.

Refunds go back through Razorpay to the way the patient paid. Razorpay usually takes 5–7 working days to return the money.

## Faster confirmations (optional webhook)

Nimo confirms every paid booking without this. A webhook just makes it instant when a patient closes the page early. Under **Faster confirmations (optional webhook)**, Nimo shows a **Webhook URL** and **Secret**. In Razorpay, go to **Account & Settings → Webhooks → Add new webhook**, paste both, and tick **payment.captured** and **payment_link.paid**.

## Disconnect

Tap **Disconnect** on the Razorpay card. Nimo wipes the keys and switches fee collection off, so patients book without paying online again. Payments already taken stay in your Razorpay account.

## Related

- [Send a payment link](/help/front-desk/payment-links), for bookings made by phone or DM
- [Bills, payments & Books](/help/front-desk/billing-books)
- [Online booking & your free clinic page](/help/clinic-owner/online-booking)
