Inspiration

In consumer and retail banking, card disputes and wire scams create tremendous anxiety for customers and massive operational friction for institutions. Investigating unauthorized transactions usually takes days or weeks under rigid Federal Regulation E (12 CFR § 1005.6) rules. Worse, on modern instant payment rails like FedNow and RTP, authorized push payment (APP) scam wires settle in minutes—once finalized, funds are lost forever.

We were inspired to build CLAIMRAIL (Model CR-1005E) as an autonomous AI banking support bot and digital twin for Meridian Bank: adjudicating card claims against statutory liability rules in seconds, isolating compromised credentials, and triggering emergency pre-settlement hold locks on scam wires before irrevocable clearing.

What it does

CLAIMRAIL provides an end-to-end autonomous customer support console that evaluates disputes and interacts with bank payment rails:

Automated Regulation E Card Adjudication (12 CFR § 1005.6): Analyzes unauthorized card-not-present transactions where the cardholder retained physical possession, calculates statutory liability ($0.00), issues an immediate $142 provisional credit, and logs compliance receipt #REGE-8841-A. FedNow Scam Wire Containment (UCC 4A-211): Detects social-engineering impersonation scams inside the 18-minute clearing window. Fires Hold Lock #HL-992 to halt outbound wire settlement and enforces Meridian Bank’s $2,000 APP Scam Protection Pledge. Credential Security & Token Rotation: Automatically quarantines compromised debit card numbers and provisions clean shielded virtual card tokens (•••• 9904) with zero consumer disruption. Level-2 Forensic Dossier Handoff: Compiles verified customer identity, transaction audit tape, and containment proof into an exportable fraud investigator dossier. AI Safety Governance Guardrails: Automatically detects and refuses out-of-scope inquiries (such as IRS Form 4684 casualty deduction advice) with transparent regulatory boundary notices and simulated 503 fallback resilience. Multi-Experience Interface: Features an Executive Fintech Console (Stripe/Mercury institutional style with Bree Serif typography), an interactive Framer Bento Studio, and an analog 19-inch synthesizer hardware rack. How we built it Frontend & UI System: Next.js 16 (App Router), React 19, TypeScript, and Tailwind CSS. Customized with Bree Serif typography and clean glassmorphism. AI Integration: Designed to interface with eGain Hybrid AI via standard REST webhooks (/api/ledger/action) and multi-document RAG compliance retrieval. Edge Gateway & Rails: Next.js dynamic serverless route handlers handling real-time balance calculations, audit logs, and instant FedNow pre-settlement countdown timers. State Management: Zero-config in-memory ledger with automatic fallback to Vercel KV / Upstash Redis for multi-region serverless persistence. Challenges we ran into Translating complex statutory legal frameworks (12 CFR § 1005.6 liability tiers based on reporting timeliness and card possession) into deterministic, real-time banking logic. Simulating instant wire pre-settlement clearing windows and ensuring hold locks fail gracefully with idempotent state management. Designing a frontend that avoids the cluttered, neon "AI template" look and instead delivers an institutional, trustworthy commercial banking experience. Accomplishments that we're proud of Delivering a working, end-to-end digital twin where clicking dispute actions mutates live balances, issues provisional credits, and updates audit tapes instantaneously. Zero TypeScript errors, zero lint warnings, and full Vercel deployment readiness. Providing three distinct user experiences (Executive Fintech, Framer Studio, and Analog Rack) catering to executives, operators, and engineers alike. What we learned How instant payment networks (FedNow, RTP) fundamentally shift fraud prevention from post-settlement chargebacks to pre-settlement real-time intervention. The vital importance of strict AI guardrails that keep autonomous customer service agents within regulatory and compliance boundaries. What's next for CLAIMRAIL Direct integration with core banking API sandboxes (e.g., Plaid, FedLine direct connectors). Expanding statutory coverage to Regulation Z (credit card dispute adjudication) and cross-border SWIFT gpi pre-clearing stop-payment protocols. Voice-first real-time phone support bot powered by the eGain conversational engine.

Built With

  • ai-support-bot
  • egain
  • fednow
  • fintech
  • next.js
  • react
  • regulation-e
  • rest-api
  • tailwind-css
  • typescript
Share this project:

Updates

Submission history