Inspiration
Across emerging markets like Nigeria (Lagos and Abeokuta), local lifestyle and commerce brands lose money to two quiet leaks:
- The Discovery Leak: Small businesses have no marketing team or paid media budget to bring fresh foot traffic through the door.
- The Collections Leak: Payments are slow, fragmented, and awkward.
When diaspora family members, tourists, international buyers, or remote clients want to buy from these local merchants, domestic bank rails fail. We asked: What happens when you put an autonomous AI agent behind the wheel to not only drive local creator foot traffic, but also let emerging-market merchants get paid globally via PayPal?
What it does
Labari is an autonomous AI business manager accessible over WhatsApp and the web that acts as an end-to-end commerce engine for local merchants:
- Autonomous WhatsApp & Web Business Manager: Onboards merchants conversationally, extracts campaign goals, transcribes incoming voice notes, and matches them with verified local micro-creators.
- Zero-App POS Redemption Logging: Customers bring creator promo codes into the physical shop; the merchant logs redemptions directly in WhatsApp, turning everyday chats into an active foot-traffic POS.
- Global Cross-Border PayPal Checkout: Merchants can generate international PayPal payment links in seconds from their dashboard in US Dollars ($ USD), British Pounds (£ GBP), or Euros (€ EUR).
- Server-Side Capture & Instant Alerts: When a customer abroad pays via PayPal, Labari verifies and captures the payment server-side, updates the ledger, and alerts the merchant's WhatsApp in real time: "Payment received: $80.00 from Jane Smith via PayPal."
How we built it
- PayPal Orders API v2: Integrated
POST /v2/checkout/orderswithCAPTUREintent and idempotentPayPal-Request-Idheaders. On buyer return, Labari completes server-side capture viaPOST /v2/checkout/orders/{id}/capturewith strict error handling and amount verification. - Full-Stack Edge Architecture: Built on TanStack Start v1 (React 19, TypeScript, Vite) with Tailwind CSS v4 and shadcn/ui primitives.
- Conversational AI Engine: WhatsApp Cloud API connected to OpenAI models for voice-note transcription, slot extraction, and intake classification.
- Secure Cloud Backend: Lovable Cloud (Supabase Postgres) with Row-Level Security (RLS) guaranteeing that merchants can only view and manage their own invoices and payouts.
Challenges we ran into
- Low-Bandwidth Mobile Realities: Small merchants live entirely on WhatsApp, not complex desktop SaaS. Marrying enterprise PayPal web checkout with real-time WhatsApp mobile notifications required idempotent server-side capture and resilient webhook state handling.
- Custody and Non-Intermediary Trust: Labari maintains a strict non-custodial philosophy. Ensuring funds flow directly to merchant accounts while retaining verifiable order tracking required strict server-level separation between invoice generation and payment capture.
Accomplishments that we're proud of
- A working, end-to-end live flow: an African local merchant can run a creator discovery campaign, generate a cross-border PayPal payment link in seconds, and receive instant confirmation on WhatsApp when an overseas buyer completes checkout.
- Bridging high-trust global payments (PayPal) with the world’s most accessible conversational interface (WhatsApp).
What we learned
Building autonomous commerce agents for emerging markets requires meeting users where they already work. Adding PayPal removes the cross-border payment barrier that has historically cut African independent merchants off from global diaspora commerce.
What's next for Labari
- Conversational PayPal Link Generation: Allowing merchants to create links directly in chat: "Generate a PayPal link for $120 for my client in New York."
- Global Creator Studio Pass: Expanding our AI Video Creator Studio ($5/mo Pass) to creators across Africa and emerging markets via PayPal checkout.
- Automated PayPal Payouts: Moving from sandbox to live PayPal Payouts for direct automated disbursement to local accounts.
Built With
- openai
- paypal
- paypal-orders-api
- postgresql
- react-19
- tailwind-css
- tanstack-start
- typescript
- whatsapp-cloud-api