DisputeX AI – Intelligent PayPal Dispute Investigation Platform
The Problem
Online merchants frequently face payment disputes and chargebacks. Preparing a response requires collecting invoices, transaction details, delivery records, and other supporting evidence. Manually reviewing these documents is time-consuming and can lead to missing or inconsistent information.
Our Solution
DisputeX AI is a PayPal Sandbox-based dispute investigation platform designed to help merchants organize and analyze dispute evidence.
The platform verifies payment transactions through the PayPal Sandbox API, extracts information from invoice and delivery PDF documents, compares extracted evidence against transaction and customer details, and generates an investigation summary with a risk assessment.
How It Works
- Payment Verification: Creates and captures PayPal Sandbox payments and retrieves transaction details.
- Dispute Management: Creates and manages disputes associated with verified transactions.
- Document Processing: Uploads PDF invoices and delivery documents and extracts relevant information.
- Evidence Analysis: Compares invoice, delivery, customer, order, and transaction details to identify inconsistencies.
- Multi-Agent Investigation: Five specialized agents coordinate invoice extraction, delivery extraction, evidence matching, explanation generation, and risk assessment.
- Investigation Report: Presents the investigation results, evidence status, risk level, and supporting information through a dashboard and PDF report.
What Makes It Different
DisputeX AI combines payment verification, document intelligence, evidence comparison, and a specialized agent-based investigation workflow in one platform.
The current prototype uses Python-based extraction and deterministic matching and risk-assessment logic. It is designed to demonstrate how merchants can organize dispute evidence and prepare investigation summaries.
Technology and Implementation
The frontend is built with React, Vite, and Tailwind CSS. The backend uses Python and FastAPI, with MongoDB for storing transactions, disputes, documents, and investigation records. PayPal Developer Sandbox is used for payment integration. PyMuPDF supports PDF text extraction, with OCR support where configured.
Project Status
This is a functional hackathon prototype using PayPal Sandbox. It demonstrates a merchant-side investigation workflow and does not submit or resolve actual PayPal disputes.