Skip to content

Concept map· 6 connected terms

WhatsApp Payments

Also called: WhatsApp Pay for business · Payments API India · In-chat payments · WhatsApp checkout

In one line
The ways a customer can pay a business from a WhatsApp chat — in India an in-chat bill paid by UPI, card or netbanking, and everywhere a gateway payment link.

Reviewed

What is WhatsApp Payments?

WhatsApp Payments is the umbrella name for collecting money from a customer inside or from a WhatsApp chat. It is not one product but a set of routes. In India, Meta's Payments API lets a business send an order details message (order_details) — an itemised bill with a Review and pay button — that the customer pays without leaving WhatsApp. Everywhere, a business can send a payment link: a hosted checkout page from its payment gateway, delivered as a URL or a call-to-action button.

The Payments API in India runs in two modes. In Deep Integration (payment-gateway) mode the business links a supported gateway to its WhatsApp Business Account — Meta currently lists Razorpay, PayU, BillDesk and Zaakpay — and customers can pay by UPI, cards, netbanking or wallets inside WhatsApp; WhatsApp sends a payment status webhook and refunds can be issued through the API. In UPI Intent mode any gateway that can generate a UPI intent works: the bill carries that intent, the customer completes a UPI payment in WhatsApp or any other UPI app on the phone, and payment status comes from the gateway's own webhooks. A third option, a gateway payment link carried inside the bill (a payment_settings entry of type payment_link), is not generally available and is offered only to businesses Meta enables. Outside India, Meta runs separate, market-specific flows (Brazil's uses Pix codes, boleto and payment links), and a gateway payment link sent as an ordinary message works in every market.

In every route the money moves between banks through the gateway; WhatsApp never holds it, and settlement, KYC, refunds and disputes follow the gateway's agreement. The business confirms each payment from the gateway or Meta's payment lookup API, then sends an order status update (order_status) so the bill in the chat stops showing pending. The message carrying the bill is billed like any other message — a service message inside an open window, or a template such as the order details template when no window is open.

Key takeaways

  • WhatsApp Payments is a set of routes, not one product: in-chat bills in India, and gateway payment links in every market.
  • In India the Payments API runs in Deep Integration mode with Razorpay, PayU, BillDesk or Zaakpay, or in UPI Intent mode with any gateway that generates UPI intents.
  • India's in-chat checkout needs an Indian business, a customer on a +91 number and INR; other markets have separate flows, and links work everywhere.
  • WhatsApp never holds the money: settlement, KYC, refunds and disputes follow your payment gateway agreement.
  • Confirm each payment by reference_id before fulfilling, then send order_status so the bill in the chat stops showing pending.

Which payment route fits your chat?

Question 1 · up to 3

Where is the customer, and what currency are they paying in?

Your answers

None yet — pick an answer to start down the tree.

Path map

Depth 0 of up to 3. Circles are questions, squares are outcomes.

All possible outcomes (4)
  • order_details, Deep Integration

    The customer pays by UPI, card, netbanking or wallet inside WhatsApp. WhatsApp sends a payment status webhook, the lookup API confirms it, and refunds go through the API.

    Path: “India, in rupees (INR)” → “Yes, in-chat checkout” → “Yes, and we want cards too”

  • order_details, UPI Intent mode

    The customer picks WhatsApp or any UPI app on the phone. Payment status comes from your gateway's webhooks; add a payment link for customers who want to pay by card.

    Path: “India, in rupees (INR)” → “Yes, in-chat checkout” → “No, but it can generate UPI intents”

  • Payment link in a CTA URL button

    A hosted checkout page from your gateway: works on phones, WhatsApp Web and desktop, and confirmation arrives through the gateway's webhook.

    Path: “India, in rupees (INR)” → “A link to our checkout is enough”

  • Gateway payment link

    Meta's in-chat payment flows are market-specific (Brazil's uses Pix, boleto and payment links, with its own rules), so outside India a link to a hosted checkout in the customer's currency is the route that works everywhere.

    Path: “Outside India, or another currency”

Answer up to three questions about your customers and your gateway to land on a WhatsApp payment route, with what the customer sees and how confirmation reaches you.

Question 1: Where is the customer, and what currency are they paying in? 2 options.

How does InfiQ help with WhatsApp Payments?

InfiQ connects WhatsApp payment requests to Razorpay, PayU or Cashfree, maps order events to payment templates and confirms orders from the gateway's webhooks. In-chat UPI payments in India are in early access.

WhatsApp Payments on InfiQ

How does WhatsApp Payments work?

  1. Choose the route

    In-chat checkout needs an Indian business, customers on Indian (+91) WhatsApp numbers and INR. Elsewhere, or for the widest device coverage, a payment link from your gateway is the dependable route.

  2. Set up the gateway side

    Deep Integration: link the gateway account to the WhatsApp Business Account to get a payment configuration name. UPI Intent: have your gateway generate a UPI intent per order, carrying the merchant VPA, merchant category code, purpose code and transaction reference. Links: enable hosted checkout.

  3. Send the bill

    An order_details message carries a unique reference_id (up to 35 characters), currency: "INR", total_amount with offset: 100, the items and a payment_settings entry. Outside an open window, use an order details template.

  4. Confirm the payment

    Take the gateway's webhook — and in Deep Integration WhatsApp's statuses webhook of type payment — as a signal, then verify by reference_id before you fulfil anything.

  5. Close the loop in the chat

    Send order_status with the same reference_id (processing, shipped, completed or canceled) so the customer's bill updates, and issue refunds through the gateway or, in Deep Integration, the refund API.

Why does WhatsApp Payments matter?

The gap between "yes, I'll take it" and a paid order is where conversational commerce leaks. Every extra step — copying an amount, opening a browser, finding a card — loses buyers who were ready a moment earlier. Choosing the right payment route for your market, gateway and devices keeps that step inside the conversation, and wiring the confirmation back properly means the customer, your team and your ledger all agree on whether the order is paid.

Key facts at a glance

WhatsApp Payments: key facts and limits

India Payments API
Indian businesses, INR only, customers on +91 numbers
Deep Integration gateways
Razorpay, PayU, BillDesk, Zaakpay
Deep Integration methods
UPI, cards, netbanking, wallets
UPI Intent mode
Any gateway that generates UPI intents; UPI only
reference_id
Up to 35 characters, unique per bill
Amounts
value + offset 100 (paise)
Payment status (lookup API)
pending or captured; each attempt pending, success or failed
order_status values
processing, partially-shipped, shipped, completed, canceled

WhatsApp Payments in code

// The two in-chat routes share one order_details bill; only payment_settings changes.
const deepIntegration = [{
type: "payment_gateway",
payment_gateway: { type: "razorpay", configuration_name: "{PAYMENT_CONFIGURATION}" },
}];
const upiIntent = [{
type: "upi_intent_link",
upi_intent_link: {
// generated by your gateway; only pa, pn, mc, purpose and tr are supported
link: "upi://pay?pa={MERCHANT_VPA}&pn=Lucknow%20Theatre&mc={MCC}&purpose={PURPOSE_CODE}&tr=LKO-1019-0042",
},
}];
function bill(paymentSettings) {
return {
messaging_product: "whatsapp",
to: "919812345678",
type: "interactive",
interactive: {
type: "order_details",
body: { text: "2 seats, Sat 25 Oct, 7 pm. Review and pay to confirm." },
action: {
name: "review_and_pay",
parameters: {
reference_id: "LKO-1019-0042",
type: "digital-goods",
payment_settings: paymentSettings,
currency: "INR",
total_amount: { value: 118000, offset: 100 },
order: {
status: "pending",
items: [{ name: "Balcony seat", amount: { value: 50000, offset: 100 }, quantity: 2 }],
subtotal: { value: 100000, offset: 100 },
tax: { value: 18000, offset: 100, description: "GST 18%" },
},
},
},
},
};
}
// The third route needs no order_details at all: a CTA URL message with a gateway link.
const paymentLinkMessage = {
messaging_product: "whatsapp",
to: "919812345678",
type: "interactive",
interactive: {
type: "cta_url",
body: { text: "2 balcony seats, Sat 25 Oct, 7 pm. Pay within 30 minutes to hold them." },
action: {
name: "cta_url",
parameters: { display_text: "Pay now", url: "https://pay.gateway.example/LKO-1019-0042" },
},
},
};
// POST bill(deepIntegration), bill(upiIntent) or paymentLinkMessage to /{PHONE_NUMBER_ID}/messages

Deep Integration and UPI Intent differ only in payment_settings; a payment link skips the bill entirely. Amounts are in paise (offset 100), and the total must add up exactly.

Common wrong turns

Common mistakes with WhatsApp Payments

  • Taking "I've paid" as proof

    Screenshots and messages can be wrong or forged. Fulfil only after the gateway's webhook or the lookup API confirms the payment for that reference_id.

  • Never sending order_status

    The bill in the customer's chat keeps showing the order as pending until you update it. Send order_status as soon as the payment is confirmed, and again as the order moves.

  • Assuming in-chat checkout works for everyone

    It needs an Indian business, a customer on an Indian number and a payment-capable device. Keep a payment link ready for other countries and for customers on WhatsApp Web or desktop.

  • Totals that do not add up

    The API rejects a bill whose total_amount is not subtotal plus tax plus shipping minus discount, or whose subtotal is not the sum of the items. Compute amounts in paise as integers.

  • Hiding the bill in a promotion

    A payment request wrapped in an offer reads as marketing and is billed at ₹0.94. Keep payment messages transactional and tied to the customer's own order.

Example: Event tickets in Lucknow

A Lucknow theatre sells weekend tickets on WhatsApp. When a customer picks two seats, the bot sends an order_details bill with reference LKO-1019-0042; the customer taps Review and pay and approves with their usual UPI app. The theatre's gateway webhook reports success, the backend checks the reference with the lookup API, marks the seats sold and sends order_status: completed — the bill in the chat now shows the order as complete, and the e-ticket follows. Customers on WhatsApp Web get a payment link instead.

WhatsApp Payments FAQs

Is WhatsApp Payments the same as UPI?+
No. UPI is one way to pay; WhatsApp Payments is the wider set of routes. In Deep Integration mode customers can also pay by card, netbanking or wallet, and a payment link can offer whatever your gateway supports.
Do I need Meta's Payments API to collect money on WhatsApp?+
No. A payment link from any gateway works in every market. The Payments API adds an itemised bill and an in-chat checkout for Indian customers.
Does WhatsApp hold the money?+
No. Funds settle through your payment gateway and banks. Settlement times, KYC, refunds and chargebacks follow your gateway agreement.
Can I send a bill when the customer has not messaged in 24 hours?+
Yes, with an approved template such as the order details template. Inside an open window the interactive bill is a service message, charged in India at ₹0.145 since 1 October 2026.

Good practice

Best practices for WhatsApp Payments

  • Make reference_id your order number plus a sequence suffix, so retries and re-sent bills never collide.
  • Set an expiry on time-sensitive bills such as tickets, and release the stock when it passes.
  • Handle pending payments patiently: UPI can settle minutes later, so do not cancel or refund on the first non-success.
  • Log the gateway transaction ID and the UPI reference with every order for reconciliation.
  • Screen risky orders before you send the bill: Meta rejects order_status: canceled once a payment on that bill is pending or successful, so a paid order can only be refunded.
  • For risky cash-on-delivery orders, an in-chat bill before dispatch is a simple COD-to-prepaid conversion step.

See InfiQ pricing

* Per-message rates for India, ex-GST: marketing, utility and authentication effective 1 July 2026; service messages ₹0.145 since 1 October 2026 after the first 1,000 a month on each WhatsApp number, which are free (all were ₹0 until 30 September 2026). Volume commitments earn discounts — final rate is confirmed on your account; applicable GST extra. Rates for other countries differ (see the international rate table on /pricing).

Try it on the official WhatsApp Business API

InfiQ is an official Meta Business Partner. Start a 7-day free trial — no card needed — and see this running on your own number.