Skip to main content

Payments

Kaanha AI includes a payment links feature that lets you collect payments directly from WhatsApp conversations.

Supported Payment Providers

ProviderCurrenciesRegions
RazorpayINRIndia
StripeUSD, EUR, GBP, and moreGlobal
PayPalUSDGlobal
Payment method is auto-detected by timezone (India → Razorpay, others → Stripe/PayPal).

Setup

  1. Go to Settings → Payments
  2. Add credentials for your preferred provider:
Razorpay:
  • Key ID
  • Key Secret
Stripe:
  • Secret Key
  • Webhook Secret (for payment confirmation webhooks)
PayPal:
  • Client ID
  • Client Secret
All credentials are encrypted at rest with AES-256-GCM.
  1. Go to Payments → Create Link
  2. Fill in:
FieldDescription
AmountPayment amount
CurrencyINR / USD / EUR etc.
DescriptionWhat the payment is for
Contact(Optional) Link to a specific contact
Expiry(Optional) Link expiry date
  1. Copy the link and share via WhatsApp chat

Sending from Chat

While in a conversation:
  1. Click the Payment icon in the chat toolbar
  2. Create or select an existing payment link
  3. 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
Filters:
  • By status
  • By date range

Payment Webhooks

When a payment is completed:
  1. Razorpay/Stripe/PayPal sends a webhook to Kaanha AI
  2. Kaanha AI verifies the signature
  3. The payment link status updates to Paid
  4. A payment.completed event fires to your outgoing webhooks
  5. You can automate follow-up messages via sequences or webhooks
Webhook URLs:
Razorpay: https://app.kaanha.ai/api/payments/webhook
Stripe:   https://app.kaanha.ai/api/webhooks/stripe
PayPal:   https://app.kaanha.ai/api/webhooks/paypal

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