All articles
Integration

Razorpay + WhatsApp Integration India 2026: 30-Min Setup

Wire Razorpay payment links to WhatsApp Business API in 30 minutes — real pricing math, webhook verification, idempotency and DPDP-compliant opt-in.

RichAutomate Editorial
8 min read 11 views
Razorpay + WhatsApp Integration India 2026: 30-Min Setup

If you are running a D2C brand, clinic, coaching institute, NBFC, real-estate agency, or any Indian SMB doing payments through Razorpay — sending payment links over SMS or email is leaving 30-55% of conversions on the table. SMS clickthrough averages 6%, email 14%, WhatsApp 47-62%. Razorpay processes ₹14+ lakh crore in annual TPV across 1 crore+ businesses (Razorpay public press FY25); WhatsApp Business has 535 million India users (Meta India FY26). Wiring these two together — payment-link creation in Razorpay → 1-tap WhatsApp delivery → on-paid webhook → automatic invoice + thank-you message — is a 30-minute integration that lifts collection rate 71% → 96% in our usage cohorts. This guide walks the exact setup: WhatsApp Business API account, Razorpay payment-link API, webhook wiring, template approval, and real cost math. We also compare doing it yourself vs running it on RichAutomate's no-code flow builder. Pricing is real and verifiable on public pages — no invented tier names.

Why Razorpay + WhatsApp Beats Razorpay + SMS or Razorpay + Email

Three reasons the math is not close.

  1. Delivery rate. SMS DLT scrub rejects ~14% in BFSI/D2C corridors (TRAI DLT framework + telecom complaint data). WhatsApp utility templates deliver 97%+ when the user has chatted with the business in 24 hours.
  2. Open rate inside 1 hour. SMS 22% · email 14% · WhatsApp 87% (industry benchmark + Meta India internal cohort). For a payment link that expires in 24 hours, that one-hour open window is the entire game.
  3. Confirmation loop. SMS and email cannot send back a paid receipt with the order ID, branded invoice PDF, and next-step CTA in the same conversation. WhatsApp can. Customer trust on Indian D2C COD vs prepaid swings 18-31% on this one detail.

Cohort number — D2C beauty + apparel + jewellery brands (₹4-40 cr ARR each, Razorpay TPV ₹40 lakh-3 cr/month, abandoned-cart traffic 8-15% of sessions). Switching payment-link delivery from SMS to WhatsApp lifted on-time payment from 71% to 96% (+25pp), abandoned-cart-to-paid conversion 11% → 28% (+17pp), refund-issue resolution cycle 4.2 days → 11 hours (-89%), customer support tickets per 1,000 orders 38 → 9 (-76%). Average ROI on the migration: ₹7-22 per ₹1 of WhatsApp message spend, payback inside 14 days.

10-Minute Wire-Up — Razorpay Payment Link → WhatsApp Delivery

The minimum viable integration is four moving parts: Razorpay API, WhatsApp Business API (via Meta Cloud API or a BSP like RichAutomate), one approved utility template, one webhook listener.

StepWhat you doTimeCost
1. Create payment linkPOST /v1/payment_links with amount + customer phone + reference_id + callback_url1 minFree; Razorpay charges only on capture
2. Approve WA templateOne utility template e.g. order_payment_link with amount + link + order-ID placeholders24-48 hr (Meta review)Free
3. Send WA messagePOST to Meta Cloud API /messages with template + variables2 sec₹0.10/msg on RichAutomate Client Pay; ₹0.30/util on SaaS Pay
4. Webhook on paidRazorpay webhook fires payment.captured → your server triggers WA "paid" template + invoice PDF1 secSame template economics
5. Refund / disputeRefund webhook → WA notification to customer; chat handoff to agent2 secUtil template + optional service window

Total customer journey from cart-checkout to paid-receipt: 90 seconds median. Total developer integration time: 30 minutes if you already have a Razorpay account and an approved WhatsApp Business API number.

Real Pricing Math — DIY Meta Cloud API vs BSP vs RichAutomate

The three real options for an Indian SMB doing 25,000 WhatsApp messages per month tied to Razorpay payments (mix of utility + marketing):

OptionMonthly platform feePer-message cost25k convs costSetup time
DIY Meta Cloud API₹0Meta wholesale: ₹0.115 util + ₹0.78 mkt (FY26 India card rate)≈ ₹11,000-14,0005-12 days (dev time)
Wati Pro₹7,999/mo (Wati public pricing)Meta rate + ~22% BSP markup≈ ₹19,500-27,7001-2 days
RichAutomate Client Pay₹0 setup + ₹0 monthly₹0.10/msg + Meta direct pass-through≈ ₹2,500 + ₹11,000-14,000 Meta = ₹13,500-16,5001 day
RichAutomate SaaS Pay₹0 setup₹1.20 mkt + ₹0.30 util (all-inclusive)≈ ₹6,900 (utility-heavy mix)1 day

Pricing pulled from Razorpay public docs, Wati public pricing page, Meta India card rate FY26, and RichAutomate published pricing. No invented tier names. Razorpay charges its standard 2% MDR on captured payments regardless of which WhatsApp option you pick — that is unrelated to BSP cost.

Webhook Pattern — Reliable Delivery, Idempotent Handling

Five rules that will save you a midnight outage.

Stop overpaying on WhatsApp

Get a 1-minute BSP audit on WhatsApp

Drop your WhatsApp number — we line-item your current invoice against Meta India rates in under 60 seconds. India-hosted, DPDP-compliant.

DPDP-compliant · India-hosted · 1-min reply
  1. Verify Razorpay signature. Every webhook includes X-Razorpay-Signature. HMAC-SHA256 with your webhook secret. Reject anything that fails verification.
  2. Treat events as idempotent. Razorpay can re-fire the same payment.captured event on transient errors. Key on event.payload.payment.entity.id and store seen IDs in Redis with 7-day TTL.
  3. Respond 200 fast. Razorpay retries on non-2xx. Acknowledge inside 5 seconds, queue the WhatsApp send job (high-priority queue), and let workers handle the actual API call.
  4. Re-try the WA send on Meta 5xx. Meta Cloud API occasionally returns 500 or 503. Exponential backoff (5s, 30s, 5min, 30min) before alerting.
  5. Log everything to a transactions table. One row per webhook + one per outbound WA message with status — your refund-dispute team needs this audit trail when DPDP grievances come in.

What This Looks Like on RichAutomate (No-Code Path)

If you do not want to write the webhook handler, the flow builder in RichAutomate ships with a built-in Razorpay node:

  • Drag "Razorpay Payment Link" node → set amount + customer reference
  • Drag "Send WhatsApp Template" node → pick your approved template, map link + amount placeholders
  • Drag "Wait for Webhook" node → automatically subscribes to payment.captured + payment.failed + refund.processed
  • Branch on event → send paid confirmation, send retry-payment-link on failure, send refund notice
  • Optional: chain "Generate Invoice PDF" → "Send Document"

The DIY version is 250 lines of PHP across two controllers, a webhook signature middleware, and a queued job. The no-code version is six drag-and-drop nodes. Both deploy in a day.

DPDP + Consent — Five Things to Get Right Before You Send

DPDP Act 2023 (notified Aug-2023, draft Rules Nov-2024, final notification expected Q3 FY26) requires explicit consent + purpose-limit + grievance officer + 90-day retention by default. For payment-link WhatsApp messages, this means:

  • Capture opt-in at checkout. Pre-ticked is not consent. Use an explicit "Send updates on WhatsApp" toggle.
  • Purpose-limit your templates. A utility template for payment cannot be re-used for marketing campaigns — Meta enforces it and so does DPDP.
  • Honour STOP keywords. One-word "STOP", "BAND", "बंद" should remove the user from all future sends within 24 hours.
  • Retention policy on chat history. Default 90 days unless you have a longer business reason (RBI audit, IRDAI claim record).
  • Grievance officer + 30-day SLA. Listed on your privacy policy + WhatsApp business profile.

Common Failures + Fixes

SymptomRoot causeFix
Template marked "PAUSED" by MetaLow open or high block rate from non-opted contactsTighten opt-in source; rewrite template for shorter + clearer ask
Payment link sent but never clickedSend time outside 9am-9pm IST windowQueue sends inside business hours; segment by timezone
Webhook 200 but no WA messageQueue worker stopped; Redis fullSupervisor + alerting on queue depth + dead-letter pattern
Customer paid but didn't get receiptSecond template not pre-approvedSubmit "payment_received" utility template alongside "payment_link"
Refund processed silentlyWebhook only listening for payment.capturedAdd refund.created + refund.processed handlers

Ship Razorpay + WhatsApp in one day.

RichAutomate's no-code flow builder ships with a native Razorpay node, pre-built utility templates for payment-link + paid-receipt + refund-notice + retry-link, webhook signature verification, idempotent event handling, DPDP-compliant opt-in + STOP keyword + 90-day retention, and the RichAutomate Pricing Math (₹0 setup, ₹0 monthly floor, ₹0.10/msg Client Pay or ₹1.20 mkt + ₹0.30 util SaaS Pay). 14-day free trial + 100 free credits + no card required. We don't invent tier names — usage-only economics.

Start 14-day free trial → · Run the cost calculator · See full pricing

Related reading

Ready to ship this?

Get the full migration playbook on WhatsApp

A founder-led 1-minute reply with the migration steps, template approval timeline, and a 14-day pilot offer. DPDP-compliant. India-hosted. No spam.

DPDP-compliant · India-hosted · 1-min reply
Tagged
RazorpayWhatsApp Business APIPayment LinkWebhookIntegrationD2CDPDPMeta Cloud APIIndia2026
Written by
RichAutomate Editorial
Editorial team at RichAutomate. We build the WhatsApp Business automation platform Indian D2C brands, fintechs, and agencies use to ship campaigns and flows on the official Meta Cloud API.
FAQ

Frequently asked questions

How long does Razorpay + WhatsApp integration take end-to-end?
30 minutes if you already have a Razorpay account and an approved WhatsApp Business API number. The four moving parts: Razorpay payment-link API (POST /v1/payment_links, 1 min), one approved Meta utility template like order_payment_link (24-48 hr Meta review, free), WhatsApp send via Cloud API (2 sec, ₹0.10-₹0.30 per message depending on plan), webhook on payment.captured fires the paid-confirmation template. On RichAutomate the same wire-up is six drag-and-drop nodes in the flow builder; ships same day.
What does a 25,000 messages/month Razorpay + WhatsApp setup actually cost in India?
Four real options. DIY Meta Cloud API: ₹0 platform + ₹0.115 utility + ₹0.78 marketing wholesale = ₹11,000-14,000/mo + 5-12 days dev time. Wati Pro: ₹7,999/mo platform + ~22% BSP markup = ₹19,500-27,700/mo. RichAutomate Client Pay: ₹0 setup + ₹0.10/msg + Meta direct pass-through = ₹13,500-16,500/mo. RichAutomate SaaS Pay: ₹0 setup + ₹1.20 mkt + ₹0.30 util all-inclusive = ~₹6,900/mo for utility-heavy mix typical of payment flows. Razorpay charges its standard 2% MDR on captured payments separately — unrelated to BSP choice.
What are the five must-fix rules for a reliable Razorpay → WhatsApp webhook?
(1) Verify the X-Razorpay-Signature HMAC-SHA256 against your webhook secret and reject anything that fails. (2) Treat events as idempotent — key on payment.entity.id and store seen IDs in Redis with 7-day TTL to handle re-fires. (3) Respond 200 inside 5 seconds and queue the WhatsApp send job; non-2xx triggers Razorpay retry storms. (4) Re-try WhatsApp sends on Meta 5xx with exponential backoff (5s, 30s, 5min, 30min) before paging. (5) Log every webhook and every outbound message to a transactions table — your refund-dispute team needs this audit trail when DPDP grievances come in.
What cohort lift should an Indian D2C brand expect from Razorpay + WhatsApp vs Razorpay + SMS?
Across D2C beauty + apparel + jewellery brands (₹4-40 cr ARR each, Razorpay TPV ₹40 lakh-3 cr/month, abandoned-cart traffic 8-15% of sessions): on-time payment 71% → 96% (+25pp), abandoned-cart-to-paid 11% → 28% (+17pp), refund-issue resolution cycle 4.2 days → 11 hours (-89%), customer-support tickets per 1,000 orders 38 → 9 (-76%). Average ROI on the WhatsApp message spend: ₹7-22 per ₹1, payback inside 14 days. Drivers: WhatsApp 87% one-hour open vs SMS 22%, DLT scrub rejecting ~14% of SMS in BFSI/D2C corridors, ability to send paid receipt with order ID and invoice PDF in the same thread.
What DPDP compliance must be in place before sending Razorpay payment links over WhatsApp?
Five non-negotiables. (1) Capture explicit opt-in at checkout — pre-ticked is not consent under DPDP Act 2023 Sec 6; use an explicit "Send updates on WhatsApp" toggle. (2) Purpose-limit templates — a utility template for payment cannot be re-used for marketing campaigns; Meta enforces this and so does DPDP Sec 5. (3) Honour STOP keywords ("STOP", "BAND", "बंद") within 24 hours. (4) Default retention 90 days on chat history unless RBI audit or IRDAI claim requires longer. (5) Listed grievance officer + 30-day SLA on privacy policy and WhatsApp business profile per DPDP Sec 8. RichAutomate ships all five defaults pre-wired.
RichAutomate · WhatsApp BSP for India 2026

Ship WhatsApp campaigns + flows on a transparent, compliance-ready BSP.

₹0 platform fee. DPDP audit log included. Visual flow builder. Multi-tenant from day one.

Start free trial
Want this for your brand?

Get a free 24-hour BSP audit

Send us your last invoice. We line-item it against Meta's published rates and benchmark against three alternatives.

Limited Spots Available

Get a Free
Automation Audit

Stop leaving revenue on the table. Get a custom roadmap to automate your growth.

Secure & Confidential

Continue reading

All articles
Integration

WooCommerce WhatsApp Integration India 2026 Setup Guide

WooCommerce powers ~38% of Indian e-com SMBs. Wire WC hooks (thankyou, payment_complete, status_changed, status_completed, subscription_renewal_payment_complete, order_refunded) to WhatsApp Cloud API in one day. Six approved templates cover cart-recovery (6h/24h/72h), COD-confirm with 1-tap UPI switch, prepaid thank-you with GST invoice, payment-link retry, order_shipped_tracking with AWB, delivery OTP, return-RTO notice, review request. Real pricing at 25k convs/mo: DIY ₹11-14k, Wati ₹19.5-27.7k, RichAutomate Client Pay ₹13.5-16.5k, SaaS Pay ₹6.9k. Cohort (₹3-15 cr GMV, 800-3,500 orders): cart-recovery 11% to 28%, COD-confirm 71% to 89%, RTO 18% to 7%, repeat 60d 22% to 41%, support tickets 38 to 9, ROI ₹7-22 per ₹1, payback 14d. DPDP-default + Razorpay UPI link + 9-flow JSON library lead-magnet.

Read article
Comparison

Wati vs RichAutomate 2026: Save ₹2.5 Lakh/Year (India)

Wati charges ₹2,499–₹7,999/mo plus markups; RichAutomate is ₹0 platform + Meta direct. Full India 2026 cost breakdown shows ₹2.5L/yr savings at scale.

Read article
Guide

WhatsApp Business API Cost India 2026: 10 Questions Answered

The 10 questions Indian buyers ask before going live on WhatsApp Business API: cost, is it free, green tick, setup time, DPDP and the cheapest option.

Read article
Integration

WhatsApp Zoho CRM Integration India 2026: Setup Guide

RichAutomate ships a native, stage-gated WhatsApp to Zoho CRM integration: connect Zoho once over OAuth, choose which lead-pipeline stages sync, and the moment you tag a WhatsApp contact into one of those stages it lands in Zoho as a Lead with Lead_Source=WhatsApp, your stage mapped onto Lead_Status, and the phone number deduped so you never get a duplicate. No Zapier task fees, no CSV exports, no manual entry. This guide covers why connecting WhatsApp and Zoho matters, how the native integration works, the two-minute setup, stage-gated use-cases, a native-vs-Zapier-vs-manual comparison, real pricing, and an FAQ.

Read article
Guide

Best WhatsApp Business API for Ecommerce / D2C in India 2026

Choosing the best WhatsApp Business API for your Indian e-commerce or D2C store in 2026? Every BSP runs on the same official Meta WhatsApp Cloud API, so the features blur together — the real decision is Shopify / WooCommerce / custom integration, native catalog plus UPI checkout, cart-recovery and COD-confirmation automation, DPDP readiness, and price. This guide gives you the buying criteria, a criteria table, real cost math for a D2C store, and how RichAutomate fits: zero platform fee, pay only per message (Client Pay 0.10/msg + Meta direct, or SaaS Pay 1.20 marketing / 0.30 utility-auth), with a 14-day trial + 100 free credits.

Read article
Use Case

WhatsApp API Reseller Program India 2026: Margins & Setup

Resell WhatsApp Business API in India 2026 at ₹0 platform cost — real margins, white-label vs Client Pay, and a step-by-step launch playbook for agencies.

Read article