Inspiration

Duplicate UPI payments can happen because of repeated clicks, network delays, or confusion about payment status. We wanted to explore how AI could help identify suspicious duplicate payments while keeping financial decisions safe and controlled.

What it does

UPIRescue AI detects potential duplicate UPI payments using deterministic rules and AI-assisted reasoning. Suspicious cases go through policy verification and human approval before entering a simulated recovery workflow. Every important action is recorded in an audit trail.

How we built it

We built UPIRescue AI as a web application using AI-assisted development. The project combines a React and TypeScript frontend with deterministic detection logic, policy checks, Gemini-powered AI reasoning, recovery workflows, and an audit trail using synthetic transaction data.

Challenges we ran into

One major challenge was making AI decisions reliable for a financial-related workflow. We addressed this by ensuring AI does not directly control financial actions. We also faced API availability and quota limitations, so we designed deterministic fallback behavior and clear manual-review paths.

Accomplishments that we're proud of

We are proud of building a complete workflow instead of just an AI chatbot or simple classifier. The project includes duplicate detection, confidence-based manual review, stopping rules, human approval, simulated recovery, and a detailed audit trail.

What we learned

We learned that using AI is not only about getting an intelligent answer. For sensitive workflows, AI needs boundaries, confidence thresholds, policy checks, human oversight, failure handling, and auditability.

What's next for UPIRescue AI

Next, we would improve the detection model with larger realistic datasets, add stronger fraud and anomaly detection, integrate secure payment-provider APIs in a sandbox environment, improve explainability, and build more advanced monitoring and analytics for payment operations.

Built With

  • audit-trail
  • deterministic-rule-engine
  • github
  • google-ai-studio
  • google-gemini-api
  • human-in-the-loop-workflow
  • policy-verification
  • react
  • risk-scoring
  • synthetic-transaction-data
  • tailwind-css
  • typescript
Share this project:

Updates

Submission history