Production WhatsApp Payment Verification Agent with OCR and StripeProduction WhatsApp Payment Verification Agent with OCR and Stripe
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
WhatsApp Payment Verification AI Agent — n8n + OCR + Stripe + FastAPI (Production, Live Client)
Built and deployed a production-grade WhatsApp AI Agent that automatically verifies payment screenshots against live Stripe data — no manual review, no false approvals, running 24/7.
This was delivered for a real client and is currently live on DigitalOcean.
HOW IT WORKS:
Customer sends a payment screenshot via WhatsApp
Agent downloads and runs OCR (Tesseract) to extract: Amount, Ref ID, Date, Status
Extracted data is verified against live Stripe API — not the screenshot alone
Agent returns one of three decisions instantly via WhatsApp: ✅ Approved — Stripe confirmed exact match ⚠️ Requires Review — no exact match found ❌ Not Approved — verification rules not satisfied
FRAUD RESISTANCE BUILT IN:
Duplicate detection via perceptual image hashing (DUPLICATE_IMAGE_PHASH_RECEIPT_EVIDENCE) — the same screenshot cannot be reused for a second approval
Safe-fail design: visually convincing receipts are NOT auto-approved unless Stripe confirms them
Idempotency at the message level prevents replay attacks
PRODUCTION STACK:
WhatsApp: Node.js + Baileys
Backend & OCR: Python + FastAPI + Tesseract
Workflow Automation: n8n
Payment Verification: Stripe API (Live mode)
Deployment: Docker + DigitalOcean (24/7)
DELIVERABLES: ✔ Fully automated, end-to-end payment verification pipeline ✔ Three-state decision engine (Approved / Review / Not Approved) ✔ Duplicate screenshot detection ✔ Deployed and running in production — not a demo
"My work is done when you no longer need me." — Ibadat Ali
Post image
Post image
Post image
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started