Platform
Chatbot Builder Bulk Messaging Team Inbox Mini CRM API & Webhooks AI Integration WhatsApp Flows
Industries
E-commerce & D2C Real Estate Education Healthcare Finance & BFSI Logistics Hospitality Retail
Integrations 📚 Learn 🗂 Codex Compare Pricing About Contact Start Free Trial →

Cashfree + WhatsApp API Integration — Complete Guide 2025

Cashfree processes the payment. WA.Expert tells the customer about it — instantly, on WhatsApp, with 94% open rate. Payment receipts, failed payment recovery, refund confirmations — all automated.

Connect Cashfree + WhatsApp → Talk to an Expert
94%
Payment notification read rate on WhatsApp
Instant
WhatsApp fires within seconds of Cashfree webhook
All events
Success, failed, refund, payout — all covered
Indian
Native Indian payment gateway + WhatsApp stack

Top use cases for Cashfree + WhatsApp API

Cashfree is one of India's leading payment gateways — powering payment links, subscriptions, payouts, and split settlements. WA.Expert connects Cashfree to WhatsApp so every payment event — successful, failed, or refunded — fires an instant WhatsApp notification.

💳
Payment success → WhatsApp receipt
Every successful Cashfree payment fires an instant WhatsApp receipt with amount, transaction ID, and date.
Failed payment → recovery message
Failed Cashfree payment fires WhatsApp with retry link — recovers 35% of failed payments.
↩️
Refund initiated → WhatsApp update
Cashfree refund event fires WhatsApp confirming refund amount and timeline.
💰
Payout completed → WhatsApp alert
Cashfree payout to vendor/seller fires WhatsApp confirmation with transfer details.

How Cashfree events trigger WhatsApp messages

Cashfree triggerWhatsApp action (WA.Expert)Business impact
PAYMENT_SUCCESSInstant WhatsApp receipt with amount + txn ID94% receipt read rate
PAYMENT_FAILEDWhatsApp with retry payment link35% failed payment recovery
REFUND_STATUS_WEBHOOKWhatsApp refund confirmation + timelineReduces refund queries
TRANSFER_SUCCESS (payout)WhatsApp payout confirmation to vendorVendor transparency
SUBSCRIPTION_PAYMENT_SUCCESSWhatsApp subscription renewal receiptReduces churn confusion

How to connect Cashfree to WhatsApp API

1

Connect Cashfree webhook to WA.Expert

In Cashfree Dashboard → Webhooks → Add Webhook URL. Enter your WA.Expert webhook endpoint. Select events: PAYMENT_SUCCESS, PAYMENT_FAILED, REFUND_STATUS_WEBHOOK, TRANSFER_SUCCESS.

2

Map phone number from Cashfree payload

Cashfree payment payloads include customer phone in customerDetails.customerPhone. Map this to WA.Expert's "to" field. WA.Expert normalises Indian numbers automatically.

3

Configure templates per event type

Create separate WhatsApp templates for success, failed, and refund events. Pre-approval from Meta takes 2–24 hours — WA.Expert's template library has pre-approved payment templates.

4

Set up failed payment recovery

For PAYMENT_FAILED events: WA.Expert fires a recovery WhatsApp with a fresh Cashfree payment link generated via the Cashfree Orders API.

5

Test with Cashfree sandbox

Use Cashfree's test environment to simulate payment events. Verify each WhatsApp fires correctly before going live in production.

Sample Cashfree → WhatsApp payload

// Cashfree webhook → WA.Expert // Event: PAYMENT_SUCCESS { "type": "PAYMENT_SUCCESS", "data": { "payment": { "cf_payment_id": "202401011234", "payment_amount": 1499, "payment_currency": "INR" }, "customer_details": { "customer_phone": "9876543210", "customer_name": "Priya Sharma" } } }

WA.Expert handles WhatsApp API authentication, template approval, and delivery. You only pass the trigger data from Cashfree — no WhatsApp API expertise needed on your end.

Cashfree + WhatsApp — common questions

Is Cashfree better than Razorpay for WhatsApp integration?
Both work well with WA.Expert. Cashfree's webhook payload is slightly more structured, making phone number extraction more reliable. Razorpay has a larger installed base. For new integrations, either works — choose based on your existing payment gateway preference rather than WhatsApp compatibility.
What happens if the Cashfree webhook fires but the customer has no WhatsApp?
WA.Expert checks WhatsApp availability before sending. If the number is not on WhatsApp, the message is not sent — you are not charged for undelivered messages. You can configure a fallback SMS notification via WA.Expert for numbers not on WhatsApp.
Can I include a PDF receipt from Cashfree in the WhatsApp?
Yes — WA.Expert can attach a PDF receipt as a WhatsApp document message. The receipt PDF is generated from the Cashfree payment data (amount, txn ID, date, customer name) and sent as a document attachment in the WhatsApp notification.
How do I handle Cashfree split payments (marketplace)?
Cashfree's split payment webhook includes both the customer payment and vendor payout events. WA.Expert handles both: customer gets a payment confirmation WhatsApp, vendor gets a payout confirmation WhatsApp — each with their respective amounts and details.
Can I send WhatsApp payment reminders before a Cashfree payment link expires?
Yes — Cashfree payment links have an expiry time. WA.Expert can be configured to send a reminder WhatsApp 24 hours before the payment link expires: "Your payment link expires tomorrow — complete your payment to confirm your order."
Does this work with Cashfree subscriptions (recurring payments)?
Yes — Cashfree's subscription events (SUBSCRIPTION_PAYMENT_SUCCESS, SUBSCRIPTION_PAYMENT_FAILED) are supported. Successful subscription payments get an instant receipt WhatsApp. Failed subscription payments get a recovery WhatsApp with instructions to update payment details.

More WhatsApp integration guides

Ready to connect Cashfree to WhatsApp?

Payment receipts, failed payment recovery, refund confirmations — all automated on WhatsApp. Every Cashfree event becomes a WhatsApp message your customer actually reads.

Start Free Trial → Talk to an Expert