WhatsApp Bot & Conversational Checkout: Sending Dynamic UPI Payment Links & Receipts

How Indian agencies, clinics, wholesalers, and digital creators automate WhatsApp UPI payment links, instant UTR verification, and Rule 46 GST receipts.

Why WhatsApp Commerce Loses Revenue on Manual Bank Details

Across India, service freelancers, wholesale distributors, coaching institutes, and local D2C stores close customer deals inside WhatsApp chat. Sending raw UPI IDs or static QR images creates high friction: buyers forget to add remarks, bookkeepers struggle to match multiple ₹499 bank credits to specific chats, and customers wait hours for official GST invoices.

By automating conversational checkout with dynamic UPIGateway.dev payment links (`https://upigateway.dev/pay/...`) and live receipt URLs (`/receipt/:orderId`), every WhatsApp inquiry turns into a tracked, verified payment settled directly in your bank account at 0% MDR.

Two Ways to Power Automated WhatsApp Payments

  1. No-Code Saved Payment Links: Create reusable fixed or open-amount checkout pages directly inside your UPIGateway.dev Dashboard (`30` saved pages on Growth ₹499/mo, `100` pages on Business Plus ₹600/mo, Unlimited on Enterprise ₹999/mo) and share via 1-tap WhatsApp dispatch.
  2. Programmatic Bot Links via REST API: When a buyer completes an order flow inside a WhatsApp chatbot (for example, WAPI or Node.js/Python automation), call `POST /api/create-order` with `customer_mobile`, unique `order_id`, INR `amount`, and `remark1`, then reply directly with `result.payment_url`.

Generating Per-Conversation Checkout Links (Node.js)

async function buildWhatsAppPayLink({ customerPhone10Digit, invoiceId, amountInr, title }) {
  const resp = await fetch("https://upigateway.dev/api/create-order", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      user_token: process.env.UPIGATEWAY_USER_TOKEN,
      amount: String(amountInr),
      order_id: invoiceId,
      customer_mobile: customerPhone10Digit,
      redirect_url: `https://yourdomain.com/thanks?invoice=${encodeURIComponent(invoiceId)}`,
      remark1: title,
    }),
  });
  const data = await resp.json();
  if (!data.status || !data.result?.payment_url) {
    throw new Error(data.message || "Payment link creation failed");
  }
  return {
    paymentUrl: data.result.payment_url,
    receiptUrl: `https://upigateway.dev/receipt/${encodeURIComponent(invoiceId)}`,
  };
}

Handling Webhook Confirmation & Customer Receipt Dispatch

// Confirm via POST /api/check-order-status before triggering WhatsApp receipt message
async function verifyAndGetReceiptUrl(orderId) {
  const check = await fetch("https://upigateway.dev/api/check-order-status", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      user_token: process.env.UPIGATEWAY_USER_TOKEN,
      order_id: orderId,
    }),
  });
  const res = await check.json();
  if (res.status && res.result?.status === "SUCCESS" && res.result?.utr) {
    return {
      paid: true,
      utr: res.result.utr,
      receiptLink: `https://upigateway.dev/receipt/${encodeURIComponent(orderId)}`,
    };
  }
  return { paid: false, status: res.result?.status || "PENDING" };
}

Automated GST Invoices, Customer Khata & Tax Breakdowns

Paid transactions sync cleanly across UPIGateway.dev's retail and GST suite (`GET /api/receipt/:orderId`), exposing verified 12-digit UTRs alongside subtotal, discount, CGST, SGST, IGST, business legal name, and GSTIN fields—ready for WhatsApp invoice links, 1-tap Khata credit reminders, and A4/A5/thermal billing.

Choosing the Right Plan for WhatsApp Checkout Automation

Plan TierSaved Payment LinksWhatsApp Invoicing & Khata LedgerMonthly Fee
Growth30 Saved PagesDirect Link + 50 Khata Customers + 300 GST Invoices₹499/mo (0% MDR)
Business Plus100 Saved PagesAutomated + 1-Tap Reminders + 500 Khata + Unlimited Invoices₹600/mo (0% MDR)
EnterpriseUnlimited PagesAutomated + Bulk Reminders + Unlimited Khata & Invoices₹999/mo (0% MDR)

Related Integration Guides & Developer Resources

Explore more technical articles, code examples, and architecture guides on our official blog. Automate your Indian payment collection at zero percent fees with UPIGateway.dev.

We provide comprehensive developer documentation, ready-to-deploy SDKs for PHP and Node.js, and plug-and-play e-commerce plugins for WordPress and WooCommerce. Build modern payment checkout flows with direct bank settlement and full financial autonomy.

Back to Blog Index | Engineering Reports | View API Documentation | Explore Pricing Plans