-
-
Official PayPal Legal Dossier: Formulating Seller Protection §11.2 evidence briefs and direct submission to PayPal Disputes API.
-
Pre-Dispute AI Customer Mediation: Autonomously negotiating courtesy credits with buyers to intercept claims before $20 chargeback fees.
-
Multi-Modal Forensic Vision Lab: Cross-checking carrier drop-off GPS & imagery against buyer photos to detect staging & tampering.
-
Live Dispute War Room: Real-time merchant queue powered by AG Grid with PayPal fraud risk scoring & 1-click autonomous swarm defense.
Inspiration
Over 70% of small businesses and merchants on PayPal forfeit legitimate revenue because contesting fraudulent chargebacks and "Item Not Received" claims requires 4 to 6 hours of collecting carrier tracking logs, unboxing photos, and drafting legal rebuttals. Friendly fraud drains over $100 Billion annually from honest sellers. We built PaySentry AI to give merchants an enterprise-grade autonomous defense swarm that protects their capital at machine speed.
What it does
PaySentry AI listens to incoming PayPal Sandbox dispute webhooks (CUSTOMER.DISPUTE.CREATED) and immediately deploys a 3-agent autonomous swarm:
- Agent 1 (Forensic Auditor): Cross-examines carrier GPS coordinates, delivery timestamps, manifest weights, and runs multi-modal vision to detect photo staging or serial number tampering.
- Agent 2 (Legal Policy Counsel): Cites specific statutory clauses under PayPal Seller Protection Policy §11.2 and drafts an authoritative 10-page evidence rebuttal.
- Agent 3 (PayPal Submission): Submits the evidence package directly through the PayPal Disputes API (
POST /v1/customer/disputes/{id}/provide-evidence), locking in Seller Protection in under 15 seconds. - Pre-Dispute Mediation: Intercepts customer inquiries before bank escalation, offering automated courtesy credits to eliminate costly chargeback fees.
How we built it
- Backend: Node.js, Express, Axios with PayPal Sandbox OAuth2, Disputes API, and Orders v2 API.
- Frontend: React, Vite, Tailwind CSS, and an enterprise data grid powered by AG Grid.
- AI Engine: Multi-modal forensic vision pipeline, deterministic JSON schema validation, and multi-agent reasoning.
Challenges we overcame
Handling the nuances of PayPal's Disputes API payload structures and ensuring evidence submissions meet strict Seller Protection criteria (§11.2) automatically while maintaining zero-lag performance in the AG Grid merchant war room.
What we learned
How deeply PayPal's developer platform supports automated merchant operations, and how autonomous agent swarms can eliminate human friction from financial dispute resolution.
What's next for PaySentry AI
Expanding to automated carrier API webhooks for DHL, FedEx, and UPS real-time telematics, and multi-currency cross-border dispute litigation.
Built With
- ag-grid
- ai-agents
- artificial-intelligence
- computer-vision
- express.js
- fintech
- javascript
- multi-agent
- node.js
- paypal
- paypal-sandbox
- postman
- react
- render
- rest-api
- tailwind-css
- vercel
- vite