Login

TUTORIAL

How to Connect Razorpay with AiSensy?

Send payment links, invoices, refund and subscription updates on WhatsApp automatically, the moment they happen in Razorpay.

Simply follow the steps below.

Razorpay payment updates sent on WhatsApp via AiSensy

What does the Razorpay integration do?

The Razorpay and AiSensy integration sends a WhatsApp message whenever a Razorpay event happens in your account. You pick the event, pick the template, and AiSensy does the rest.

Payment link created

Send the payment link to your customer on WhatsApp.

Invoice issued

Share the invoice on WhatsApp as soon as it is created.

Payment and refund

Confirm captured payments and processed refunds on WhatsApp.

Subscription halted

Let customers know right away when their subscription stops.

Steps to Connect Razorpay with AiSensy

You need an AiSensy account with a live WhatsApp Business API number and a Razorpay account.

Open Razorpay in AiSensy

In your AiSensy dashboard, go to Integrations and click Razorpay. New to AiSensy? Sign up for free.

Open Razorpay in AiSensy

Get your template messages approved

Create the WhatsApp templates you want to send, like a payment link or refund update, in Manage → Template Message. Add variables such as the customer name and amount, and submit them for approval.

Get your template messages approved

Create an API campaign for each template

Go to Campaigns → Launch → API Campaign, name it, pick the approved template and click Set Live. You will connect this campaign to a Razorpay event.

Create an API campaign for each template

Install the Razorpay app

Back in the Razorpay app in AiSensy, open the Settings tab and click Install App.

Install the Razorpay app

Connect your Razorpay account

Click Connect Razorpay. A new tab opens where you log in to Razorpay and authorise AiSensy. Once you approve, your Razorpay account is connected.

Connect your Razorpay account

Add your first activity

Open the Setup Activities tab and click + Activity. An activity decides which Razorpay event sends which WhatsApp message.

Add your first activity

Pick the event and the campaign

Give the activity a name, like Payment Link. Choose the Razorpay event, like payment link created, and the API campaign that should go out for it.

Pick the event and the campaign

Map the parameters

Fill each template variable with a value. Use Razorpay parameters like $RPAY_Name, $RPAY_Amount or $RPAY_PaymentLinkId, or AiSensy ones like $FirstName. Save the activity, and repeat for every event you want to cover.

Map the parameters

Unlock the Full Potential of WhatsApp

Connect, convert, and scale — all in one powerful platform. Let AiSensy do the heavy lifting.
⚡️Powered by Official WhatsApp Business API 

Razorpay Integration FAQs

Which Razorpay events can trigger a WhatsApp message?

Payment link created, invoice issued, payment captured, refund processed and subscription halted.

Do I need a WhatsApp Business API number?

Yes. The integration sends approved WhatsApp templates, so your WhatsApp Business API number needs to be live on AiSensy.

Should I use $RPAY_Name or $Name?

Both bring in the customer name. $RPAY_Name is recommended when your payment links and invoices already have names in Razorpay.

Can I set up more than one event?

Yes. Add one activity for every event you want, each with its own API campaign.