WhatsApp Pay and order reconciliation
WhatsApp Pay closes the loop between conversation and revenue. Setting it up takes about 20 minutes. Reconciliation is automatic from there.
Connecting your PSP
WAPI → Settings → Payments → Add PSP. Native connectors for:
- Razorpay (UPI + cards + wallets)
- Stripe (cards + Apple/Google Pay)
- Cashfree (UPI + cards + EMI)
You connect with your PSP API keys; payouts route to your PSP-configured account. Flaxxa never holds funds.
Generating a checkout link
From inside a conversation, the agent (or bot) types the order summary and clicks "Generate checkout". The order card renders inline as a native WhatsApp interactive message — line items, total, one-tap pay button.
What gets reconciled
When the PSP fires its payment-success webhook, Flaxxa captures the transaction and ties it to four entities:
- The conversation the checkout link was sent in
- The agent who sent it (or "AI" if a bot)
- The campaign the conversation came from (if it traces to a broadcast)
- The customer record in the kernel
All four reconciliations land on a single kernel order entity — the source of truth for finance + marketing reports.
Refunds in chat
From the conversation, the agent clicks Refund. PSP fires the reversal; the conversation auto-tags "refunded"; the customer gets a confirmation message; the kernel order is marked refunded.
Per-tenant payout routing
Multi-tenant SaaS using WAPI for their own customers can configure per-tenant PSP routing — each tenant's payouts go to their own PSP account, with platform-level fees split automatically. Standard agency / marketplace setup.
Tax and invoicing
Each transaction generates a tax-compliant invoice for the buyer (configurable per tenant for GST / VAT / sales tax). Invoices are stored in the kernel and exportable; bookkeeping integrations push them into your accounting system.
Was this article helpful?
