n8n WhatsApp Integration: Accept Payments and Send Payment Status Automatically
Description and use
This recipe demonstrates how to integrate n8n with Kelviq to send a payment link via WhatsApp, receive a webhook on payment completion, verify the signature, and notify the customer of success or failure.
Problem
How to accept payments inside an n8n workflow and notify customers via WhatsApp when the payment succeeds or fails.
Outcome
The workflow allows a WhatsApp bot to send a Pay Now button, automatically detect successful payments via Kelviq webhooks, and inform the customer of success or failure without requiring a custom server.
Workflow
- Create a payment link by calling Kelviq’s checkout API via an HTTP Request node.
- Send the returned checkoutUrl to the customer through WhatsApp.
- Set up an n8n Webhook node to receive Kelviq’s checkout.completed event.
- Verify the webhook’s authenticity using the secret key and signature headers.
- If the webhook is valid, send a success message to the customer; otherwise, query Kelviq for the payment status and send a failure message.
Evidence
Kelviq handles the payment. n8n handles the steps. Webhooks connect the two.
Kelviq does not send a message when a one-time payment fails.
Add a Code node after the Webhook node and paste this in. It checks the stamp using your secret key:
- Record date: 2026-10-26T07:26:30.884Z