Payments

Collect payments into your own Razorpay account

Payment links, invoice QR codes and automatic payment recording, set up in a few minutes. See also security.

Setup

Connect Razorpay in five steps

  1. 1

    Get your keys from Razorpay

    In your Razorpay dashboard open Settings, then API Keys, and copy the Key ID and Key Secret.

  2. 2

    Connect in NEXTOSA

    Paste them into the Razorpay card in Settings. The secret is stored encrypted and never shown again.

  3. 3

    Add the webhook

    NEXTOSA shows a Webhook URL and can generate a Webhook Secret. In Razorpay open Settings, then Webhooks, add a new webhook and paste both.

  4. 4

    Choose the events

    Under Active Events tick payment.captured and order.paid, then save.

  5. 5

    Turn on what you want

    Switch on the invoice QR code, and let your Sales Agent send payment links.

What you get

What payments unlock

Your account, never a shared key

Payments go to your own Razorpay account. NEXTOSA does not hold your money and does not use a shared platform key for your customers.

Payment links from the Sales Agent

In a conversation the AI Sales Agent can generate a payment link for what the customer agreed to buy.

QR code on invoices

A toggle puts a Razorpay QR code on your invoices so clients can pay from the PDF.

Paid invoices update themselves

When Razorpay reports a captured payment through the webhook, the matching invoice is marked Paid and the payment is logged, with no manual step.

Restaurant QR ordering

Diners can pay online through your own Razorpay account, or pay at the counter if you have not connected one.

No website needed

If Razorpay asks for a website while you verify your account, you can say you use NEXTOSA to generate invoices and collect payments, or share your Facebook or Instagram page.

Safety

Built to be trusted with money

Webhooks are verified

Each workspace has its own webhook secret. A payment is trusted only when the signature matches, and it is applied to your workspace only.

Amounts are checked

For table orders the amount and currency are compared in the smallest currency unit, and a payment settles exactly once, so a repeat notification cannot count twice.

Regenerating a secret

If you regenerate the webhook secret, the old one stops working at once, so update it in Razorpay too or payments stop being recorded.

Disconnecting

Disconnecting Razorpay stops payment links and invoice QR codes until you reconnect.

Overpayment is refused

Recording more than the balance due is refused with a message telling you the maximum to enter.

Refunds

Refunds and credit notes

Refunds never edit the invoice

A refund creates a credit note. The original invoice and its ledger entries stay as they were, and the credit note nets it to zero in reports.

Table orders

Cancelling a paid online table order triggers an automatic Razorpay refund, and issues a credit note. Counter orders are refunded by hand.

Gateway first

The refund is locked, sent to Razorpay, and only finalised when the gateway accepts it. A gateway failure leaves the order untouched.

Not built yet

Partial credit notes for ordinary invoices and a manual issue-credit-note button outside the table-order and hospital-claim flows.

FAQ

Questions people ask

Does NEXTOSA take a cut of my payments?

No. Payments go through your own Razorpay account under your own agreement with Razorpay.

Do I have to connect Razorpay?

No. Without it you can still create invoices and record payments by hand. Payment links and invoice QR codes need it.

What if the webhook is not set up?

Payments still reach your Razorpay account, but invoices are not marked Paid automatically.

Where do I find my keys?

In Razorpay under Settings, then API Keys.

Ready to run your entire business on one platform?

Join businesses using NEXTOSA to manage billing, staff, and compliance, and automate client communication on WhatsApp — all from one AI operating system.