Payments
Kaanha AI includes a payment links feature that lets you collect payments directly from WhatsApp conversations.Supported Payment Providers
| Provider | Currencies | Regions |
|---|---|---|
| Razorpay | INR | India |
| Stripe | USD, EUR, GBP, and more | Global |
| PayPal | USD | Global |
Setup
- Go to Settings → Payments
- Add credentials for your preferred provider:
- Key ID
- Key Secret
- Secret Key
- Webhook Secret (for payment confirmation webhooks)
- Client ID
- Client Secret
Creating a Payment Link
- Go to Payments → Create Link
- Fill in:
| Field | Description |
|---|---|
| Amount | Payment amount |
| Currency | INR / USD / EUR etc. |
| Description | What the payment is for |
| Contact | (Optional) Link to a specific contact |
| Expiry | (Optional) Link expiry date |
- Copy the link and share via WhatsApp chat
Sending from Chat
While in a conversation:- Click the Payment icon in the chat toolbar
- Create or select an existing payment link
- It’s sent as a message with the payment URL
Tracking Payments
The Payments page shows all links with:- Amount and currency
- Status: Pending / Paid / Expired
- Contact name and phone
- Created date
- By status
- By date range
Payment Webhooks
When a payment is completed:- Razorpay/Stripe/PayPal sends a webhook to Kaanha AI
- Kaanha AI verifies the signature
- The payment link status updates to Paid
- A
payment.completedevent fires to your outgoing webhooks - You can automate follow-up messages via sequences or webhooks
Revenue Attribution
Revenue from payment links is tracked in Analytics → Revenue:- Total attributed revenue
- Conversion rate (links paid / links created)
- Revenue by day chart
- Per-broadcast revenue contribution