Xendit
Connect Xendit and your customers get a WhatsApp thank-you as soon as they pay a Xendit invoice. The message is sent for successful payments only. Xendit sends a verification token with every event, so only real payments from your account can send a message.
Before you start
- A Xendit account.
- An approved WhatsApp template for the message. See Create a WhatsApp template. Most templates are approved within 24 hours.
- The customer's mobile number on each invoice. Pass it when you (or your website) create the invoice, or there is no number to send to.
Where to find your Xendit key
Connect Xendit
Open Xendit in the app
In the left sidebar, click Integrations. Under Payments, find Xendit and click Connect.
Add your Xendit key
Choose the WhatsApp message
Click Connect Xendit
Click Connect Xendit in the bar at the bottom. You will see Xendit is connected.
Add the webhook in Xendit
Under Paste this URL in Xendit, click the copy button. In the Xendit Dashboard, open Settings, then Webhooks, paste the URL next to Invoices paid, and save.
Check that it works
Pay a test invoice. On the Xendit page in our app, open the Activity tab. You should see Sent, Message sent.
Check where the phone number is
After the first real payment, open the Activity tab and click the event. What Xendit sent shows the exact data. If the customer's number is not where Send it to looks, ask your developer to add the payer's mobile number when creating the invoice, or use a Generic webhook, where you can pick any field.
Successful payments only
If Xendit sends an expired or failed invoice, no message goes out. Activity shows it as Skipped, Failed or cancelled payment. The message is only sent for successful ones.
The ₹ button in chats (for accounts in India) sends payment links through Razorpay, Cashfree, PayU or Zoho Payments. It does not use Xendit.
What you can put in the message
Change, pause or disconnect
- Change the message: make your change, then click Save changes at the bottom.
- Pause: switch Active off on the right.
- Disconnect: click the ⋮ button at the top right, then Disconnect, and confirm.
If a message did not go out
More fixes are in Troubleshooting.

