Back to Blog
E-commerce & Payments

WhatsApp Payment Gateway Integration India 2026: UPI, Razorpay, Paytm & PhonePe Setup Guide

August 25, 2026 15 min read

WhatsApp payment links in India achieve 35-45% conversion rates (vs 18-22% for email), making WhatsApp the most effective channel for payment collection. This guide covers how to integrate UPI payment gateways (Razorpay, Paytm, PhonePe) with WhatsApp Business API, send payment requests via messages, track transactions, and optimize for conversion.

Why Businesses Are Moving Payment Requests to WhatsApp

Payment collection via WhatsApp has become the preferred method for Indian businesses in 2026 due to higher visibility, instant notifications, and seamless UPI integration.

WhatsApp vs Email/SMS for Payment Collection (India Data)

MetricEmailSMSWhatsApp
Open Rate22%95%98%
Link Click-Through Rate3.5%12%48%
Payment Conversion Rate18-22%25-30%35-45%
Average Time to Payment24-48 hours4-8 hours1-2 hours
Cost per Message₹0.05₹0.25₹0.36

ROI Calculation

For a business collecting ₹1,000 payments: WhatsApp conversion (40%) collects ₹400,000 from 1,000 requests at ₹360 message cost. Email conversion (20%) collects ₹200,000 at ₹50 message cost. WhatsApp delivers 2x revenue for 7x cost — a net 185% higher ROI despite higher message fees.

3 Methods to Accept Payments via WhatsApp

Method 1: UPI Payment Links (Recommended for Most Businesses)

Generate UPI payment links via Razorpay, Paytm, or PhonePe and send them as WhatsApp messages. Customers click the link and pay via any UPI app (Google Pay, PhonePe, Paytm, BHIM).

How It Works:

  1. Customer places an order or requests an invoice
  2. Your system generates a unique payment link via gateway API
  3. Send payment link via WhatsApp Business API or bulk sender tool
  4. Customer clicks link, pays via UPI
  5. Receive webhook notification when payment completes

Pros

  • No WhatsApp API setup required (works with WhatSender, WATI, or manual sending)
  • Highest conversion rate: 40-50% for UPI links vs 25-30% for card links
  • UPI transactions are free (no MDR charges) — only gateway convenience fee applies
  • Works on all devices (Android, iPhone, desktop)

Method 2: WhatsApp Business API with Payment Button Templates

Use WhatsApp message templates with call-to-action (CTA) buttons that link directly to payment pages. Buttons are more visible than plain links and increase click-through rates by 15-20%.

Template Example: Payment Request

Category: Utility
Template Name: payment_request_v2
Body:
Hi {{1}}, your order #{{2}} is ready for payment.

Amount: ₹{{3}}

Click the button below to pay securely via UPI.

Button: Pay Now (URL: {{4}})

Approval time: 24-48 hours. Button URLs must use HTTPS and cannot be shortened (no bit.ly).

Template Variables:

  • {{1}} = Customer name
  • {{2}} = Order number
  • {{3}} = Amount in rupees
  • {{4}} = Dynamic payment link (changes per customer)

Method 3: WhatsApp Pay (Limited to P2P)

WhatsApp's built-in payment feature (WhatsApp Pay) allows person-to-person UPI transfers directly within WhatsApp. However, as of 2026, WhatsApp Pay in India is still limited to P2P transactions — it does not support business payments (P2M) for most merchants.

WhatsApp Pay Business Limitations

WhatsApp Pay for Business (P2M) is available only to select large merchants approved by Meta in India. Small and medium businesses cannot use WhatsApp Pay to accept payments as of August 2026. Use payment gateway links (Method 1) or payment button templates (Method 2) instead.

Payment Gateway Integration Guides

Razorpay Payment Links + WhatsApp

Razorpay is the most popular payment gateway for WhatsApp integration in India (2026). It offers UPI, cards, netbanking, and wallets.

Setup Steps:

  1. Sign up for Razorpay: Create a business account at razorpay.com
  2. Get API keys: Dashboard → Settings → API Keys → Generate Test/Live Keys
  3. Create payment link via API:
// Node.js example
const Razorpay = require('razorpay');
const instance = new Razorpay({
  key_id: 'YOUR_KEY_ID',
  key_secret: 'YOUR_KEY_SECRET'
});

const paymentLink = await instance.paymentLink.create({
  amount: 50000, // ₹500 in paise
  currency: 'INR',
  description: 'Order #12345',
  customer: {
    name: 'Rahul Sharma',
    email: 'rahul@example.com',
    contact: '+919876543210'
  },
  callback_url: 'https://yoursite.com/payment/callback',
  callback_method: 'get'
});

console.log(paymentLink.short_url);
// Output: https://rzp.io/i/AbC123Xy
  1. Send link via WhatsApp: Use WhatSender or WhatsApp API to send paymentLink.short_url
  2. Handle webhooks: Set up webhook endpoint to receive payment status updates

Razorpay Pricing (India 2026):

  • UPI: 0% MDR (free for merchants) + ₹2 convenience fee per transaction
  • Credit/Debit Cards: 2% + GST
  • Netbanking: ₹10 flat fee
  • Wallets: 2% + GST

Paytm Payment Links + WhatsApp

Paytm offers payment links with UPI, Paytm Wallet, cards, and netbanking. Paytm is preferred by businesses with existing Paytm merchant accounts.

Setup Steps:

  1. Sign up for Paytm Business: business.paytm.com
  2. Get API credentials: Dashboard → API Keys → Generate
  3. Create payment link via API:
// Node.js example
const axios = require('axios');

const response = await axios.post('https://securegw.paytm.in/link/create', {
  body: {
    linkType: 'GENERIC',
    linkName: 'Order Payment',
    linkDescription: 'Order #12345',
    amount: 500, // ₹500
    customerName: 'Priya Singh',
    customerPhone: '9876543210',
    notifyCustomer: true
  },
  head: {
    clientId: 'YOUR_CLIENT_ID'
  }
}, {
  headers: {
    'Content-Type': 'application/json',
    'x-mid': 'YOUR_MID',
    'x-checksum': generateChecksum() // see Paytm docs
  }
});

console.log(response.data.body.shortUrl);
// Output: https://paytm.me/xYz-123

Paytm Pricing (India 2026):

  • UPI: 0% MDR (free) + ₹2 convenience fee
  • Paytm Wallet: 1.99% + GST
  • Cards: 1.99-2.3% + GST
  • Netbanking: ₹10 flat fee

PhonePe Payment Links + WhatsApp

PhonePe is the largest UPI app in India (2026) with 47% market share. PhonePe payment links have the highest UPI conversion rates (50-55%) due to brand trust.

Setup Steps:

  1. Sign up for PhonePe Business: business.phonepe.com/payment-gateway
  2. Get API credentials: Merchant Dashboard → Developers → API Keys
  3. Create payment link: PhonePe offers both API and no-code link generation

PhonePe UPI Deep Links

PhonePe supports UPI deep links that open directly in the PhonePe app (not web browser). Format: phonepe://pay?pa=merchant@ybl&pn=Store&am=500&tn=Order123. Deep links have 10-15% higher conversion than web links because they skip the browser step. However, they only work on Android devices with PhonePe installed.

PhonePe Pricing (India 2026):

  • UPI: 0% MDR (free) + ₹0 convenience fee (lowest in market)
  • Cards: 1.99% + GST
  • Wallets: 2% + GST

Complete WhatsApp Payment Flow (Step-by-Step)

Scenario: E-commerce Order Payment

  1. Customer places order: Customer checks out on your website or app
  2. Order confirmation: Your backend creates an order record in the database
  3. Generate payment link: Call Razorpay/Paytm/PhonePe API to create a unique payment link with order ID, amount, customer details
  4. Send WhatsApp message: Send payment link via WhatsApp Business API or bulk sender tool

Example Message

Hi Rahul, your order #12345 is confirmed! 🎉

Items: 2x Wireless Mouse, 1x Keyboard
Total: ₹2,499

Pay now to confirm delivery:
https://rzp.io/i/AbC123Xy

Need help? Reply to this message.

  1. Customer clicks link: Opens payment page in browser or UPI app
  2. Customer completes payment: Pays via UPI/card/wallet
  3. Webhook notification: Payment gateway sends webhook to your server with payment status
  4. Update order status: Mark order as paid in your database
  5. Send confirmation: Send WhatsApp message confirming payment received and shipping details

Optimizing WhatsApp Payment Conversion Rates

Best Practices for Higher Conversion

  • Send within 5 minutes of order: Payment links sent within 5 minutes of order placement have 55% conversion vs 35% for links sent after 1 hour
  • Use customer's name: Personalized messages have 12% higher conversion than generic messages
  • Add urgency: "Pay within 24 hours to confirm delivery" increases conversion by 8-10%
  • Show order details: Include items, quantity, and total amount in the message (not just the link)
  • Use HTTPS short links: Short links (rzp.io, paytm.me) have 15% higher click-through than long URLs
  • Send payment reminder: If unpaid after 2 hours, send a gentle reminder (increases conversion by 10-15%)

Handling Payment Failures & Refunds

Common Payment Failure Reasons:

  • Insufficient balance: Customer's bank account or UPI balance is low
  • Transaction timeout: Customer did not complete payment within 15 minutes
  • Bank server down: Issuing bank's UPI server is temporarily unavailable
  • Incorrect UPI PIN: Customer entered wrong PIN 3+ times

Retry Strategy:

  1. Immediate retry: If payment fails, send a new payment link within 5 minutes with a message like: "Payment did not go through. Please try again: [new link]"
  2. 24-hour reminder: If still unpaid after 24 hours, send a reminder with urgency: "Your order will be cancelled in 12 hours if payment is not received."
  3. Cancel or convert to COD: After 48 hours, either cancel the order or offer Cash on Delivery as an alternative

Refund Process:

Use payment gateway refund APIs to process refunds directly. Refunds to UPI are instant (within 1-2 minutes). Refunds to cards take 5-7 business days.

// Razorpay refund example
const refund = await instance.payments.refund('pay_ABC123xyz', {
  amount: 50000, // ₹500 in paise (full refund)
  notes: {
    reason: 'Product out of stock'
  }
});

console.log(refund.status); // 'processed'

Compliance: DPDP Act & RBI Guidelines

When collecting payments via WhatsApp in India, you must comply with:

  • Data Protection: Under DPDP Act 2023, you must obtain consent before sending promotional payment links (e.g., "Pay now and get 10% off"). Transactional payment links (order payments) do not require explicit consent if implied via checkout.
  • Payment Security: All payment links must use HTTPS. Never send card details or OTPs via WhatsApp messages (violates PCI-DSS and RBI norms).
  • UPI Limits: UPI transactions are capped at ₹1,00,000 per transaction (RBI limit as of 2026). For higher amounts, use netbanking or card payments.

Cost Comparison: WhatsApp vs Other Channels

For a business collecting 1,000 payments of ₹1,000 each per month:

ChannelConversionPaymentsMessage CostGateway FeeTotal Cost
WhatsApp40%400₹360₹800₹1,160
Email20%200₹50₹400₹450
SMS28%280₹250₹560₹810

Result: WhatsApp collects ₹4,00,000 revenue at ₹1,160 cost (0.29% cost-to-revenue). Email collects ₹2,00,000 at ₹450 cost (0.23% cost-to-revenue). WhatsApp delivers 2x revenue for 2.5x cost — a net 80% higher absolute profit.

Key Takeaways

  • WhatsApp payment links achieve 35-45% conversion vs 18-22% for email in India
  • UPI payment links have the highest conversion (40-50%) and lowest fees (₹0-₹2 per transaction)
  • Razorpay, Paytm, and PhonePe all integrate with WhatsApp via payment links or API
  • Send payment links within 5 minutes of order for 55% conversion (vs 35% after 1 hour)
  • WhatsApp API charges ₹0.36/message for payment requests (utility category)

Send Payment Links via WhatsApp

WhatSender integrates with Razorpay, Paytm, and PhonePe. Send personalized payment links via WhatsApp with one-click checkout. Start with 50 free messages/day.

Try WhatSender Free

Related Articles