Watch: the video, under 3 minutes · Run it: github.com/Josanoforo/Proofie, then docs/JUDGE-RUN.md · Hosted copy (optional): address and access code are in the testing instructions. The screens in the video were captured from Proofie by an AI session; the illustrations are drawn in code, and the narration and music are AI-generated. Built and tested in the PayPal sandbox. Independent project, not affiliated with or endorsed by PayPal.

MXN 169,002.76 more kept by the seller, across 58 disputed sales. We answered the same 58 PayPal sandbox disputes twice. When an AI model wrote each answer and sent it as written, the seller kept MXN 127,641.14 of MXN 313,601.14 and lost MXN 185,960.00 in 38 sales. When the same answers went through Proofie's checks and her approval, she kept MXN 296,643.90 and lost MXN 16,957.24 in 6 sales. Every outcome comes from PayPal's record of the dispute, and every amount is computed by code. The results are in docs/impact-1/.

What a lost dispute costs a small seller

Marisol is a composite seller we wrote for this story. She sells handmade ceramics from home in Mexico. She sold a coffee set for 500 pesos, and the buyer says it never arrived. She knows she shipped it, but the tracking number is in one email, the receipt she finds may belong to another order, and she is not sure which documents PayPal will accept.

If she loses, PayPal takes the 500.00 MXN back, the fee she paid on that sale is not returned, and the coffee set is gone.

  • She has little time. PayPal's US merchant guide gives a seller 10 days to respond to a claim, and a claim without a response closes in the buyer's favour. While PayPal reviews, it holds the disputed amount.
  • Each dispute has its own cost. PayPal's US fee page lists a standard dispute fee of 15 USD (300 MXN for peso transactions), rising for sellers with many disputes. Its Mexico page lists a chargeback fee of 110 MXN, waived when Seller Protection covers the sale.
  • Unanswered disputes are lost money. Stripe reports that businesses that never responded to their disputes lost 1.3 billion dollars in 2025 (Stripe Sessions 2026).
  • Decided cases lean against the seller. PayPal does not publish how often sellers lose. In the last outcome data published from inside eBay and PayPal (2012, from before 2011), 29 % of buyers who opened a dispute ended with the seller found at fault and 15 % with the buyer at fault (Colin Rule).

The same disputes, answered twice

We designed sales and disputes in pairs: one sale design sold twice, with one dispute opened on each sale. One member of each pair was answered by a local AI model on its own, sent as written. The other went through Proofie: the same model drafts, Proofie's checks run, and a simulated seller follows what the screen shows before she approves and sends.

58 disputed sales in pesos Kept Lost Sales lost
The AI model alone, no checks MXN 127,641.14 MXN 185,960.00 38
With Proofie's checks and her approval MXN 296,643.90 MXN 16,957.24 6
  • In dollars, 12 more pairs: the model alone kept USD 442.14 of USD 4,557.37; with Proofie she kept USD 3,881.99, a difference of USD 3,439.85. Pesos and dollars are never converted or added.
  • With PayPal's fees counted, the peso difference is MXN 176,154.10.
  • If she ignored every warning and just Proofie's hard stops applied, she would still keep MXN 107,891.79 more.
  • How outcomes were read: 161 dispute members closed; 154 were resolved on PayPal's record and 7 were scored by a written rule. docs/impact-1/score.md shows every line, including the pairs closed before their send.

Proofie stops the wrong answer before it leaves

Each statement in her answer names its source: a document, a PayPal field, or her own words, labelled as hers.

  • Her deadline is on top. Her case opens with the due date PayPal returns, "nine days left" in the video; when PayPal gives none, the page says "No verified deadline available".
  • A document that disagrees is shown with both values. Her receipt says 03100, PayPal says 06600, and the page says "Does not match" beside the two. The answer cannot be approved until she fixes it.
  • Her documents are checked before anything is sent, against what PayPal's Mexico program publishes (tracking number, delivered status, matching address, signed proof of delivery above a limit) and a few checks of Proofie's own; each check shows which kind it is.
  • A claim without a source is blocked. A delivery statement with no source cannot be asserted. If the AI wants to send without proof of delivery, Proofie asks her instead.
  • Numbers and dates are checked by code, never left to the model.

She approves the exact answer, and sends it herself

She reads every statement in full beside its source, then gives one approval that names how many statements it covers.

  • Change one word and the approval clears.
  • There is no approve-all. Approving sends nothing; sending is a separate click.
  • Proofie sends once, then reads the dispute back from PayPal. The page says "Received by PayPal (confirmed by reading the dispute back)", with the time, when PayPal's record lists the same evidence type, tracking number and file names.
  • If the result is uncertain, the case stays pending with a "Check again" button that reads and changes nothing. Proofie never re-sends on its own.

Proofie calls four PayPal sandbox APIs

PayPal API (sandbox) What Proofie does with it Seen in
Customer Disputes List and read disputes; provide evidence; send an approved offer or message; accept the claim as the seller's last option; the appeal call (below) Video 1:17 (deadline), 1:32 (the mismatch), 1:45 (the answer stopped), 1:54 (approve and send), 2:00 (received); gallery images 3 to 7
Add Tracking Register a tracking number at the sale, after the seller approves the exact request Video 2:31. Code and test: copilot/features/fulfilment/register.py:23 (POST /v1/shipping/trackers, then a GET read-back), copilot/features/fulfilment/routes.py:425, tests/features/fulfilment/test_register.py:38-41
Transaction Search Account counts for the account page, no writes Video 2:36 (the account page and her dispute fee)
Orders Create the test purchases behind the demo disputes The one-command judge case in docs/JUDGE-RUN.md

The PayPal host is fixed to the sandbox in code. Dispute and payment state come from PayPal's responses, never from model text. The appeal call is on; it appears when PayPal's fresh read offers an appeal, it is sent once after the seller approves the exact request, and it has not been exercised against PayPal.

AI drafts. The seller decides.

  • The local model drafts; it does not decide. A local model (Ollama) drafts statements from documents. It has no tools, so it cannot call PayPal, approve or send. Manual mode works without a model.
  • The seller's own AI assistant can read and draft through Proofie's MCP server. The server has read and draft tools, and no approve or accept-claim tool in any configuration. An optional send tool, off by default, sends a package a person already approved, and refuses when the package changed after approval.
  • The MCP server was tested with injected orders. A test puts orders to approve, send and accept the claim into buyer messages, documents and drafts: 8 payloads across 6 tools, 0 PayPal writes, 0 approvals, 0 send attempts. The test uses a stand-in model that obeys the text, so it shows what the server allows, not how a real model reacts.
  • Refunding is her call. If she decides to accept the claim and refund the buyer, she does it herself, on a check page of its own, typing the amount.

Built during the submission period

Proofie was started on October 3, 2026, inside the submission period; the research and all of Proofie's own code were written during the hackathon (third-party packages and PayPal's schema extracts are listed in THIRD-PARTY.md).

Proofie is built with two AI coding agents, Claude Code (Anthropic) and Codex (OpenAI), working from frozen briefs with independent verification steps. Run the tests with the README's command, .\.venv\Scripts\python.exe -m pytest (the offline tests, the default); more than 9,400 automated tests pass (release v1.1.2). Proofie is open source under the Apache-2.0 licence.

How to read these numbers

  • Sandbox, synthetic sales. The 58 disputes are PayPal sandbox disputes on sales we designed. The figures describe this run, not a forecast of live results, and PayPal decides every case.
  • The seller in the Proofie arm is simulated. She follows what the screen shows; a real seller may do more or less.
  • The model is not the judge. On 24 frozen synthetic cases across 3 seeds (2026-10-21), the local model passed every scored check in 52 of 72 runs, and 1 of 9 on contradictory documents. We make no reliability claim, and a person reviews every send; all failures are published in docs/AI-USAGE.md.
  • Accepting a claim is real. On a sandbox case, PayPal showed the refund at once and resolved the case in the buyer's favour within minutes. That is why the page asks her to type the amount and approve the exact request.
  • A repeated message is not deduplicated by PayPal (sandbox, 2026-10-16), so Proofie checks PayPal's listed messages and its own records before sending.
  • The judge case is a card-funded sale with a chargeback, a dispute type PayPal's Mexico Seller Protection program excludes. Proofie shows that rule and says nothing about whether protection applies.
  • The optional hosted copy is a shared demo: manual mode, an access code, one shared sandbox account, data reset on restart.
  • The Mexico rules are context, not legal advice.

What we learned

  • An AI that answers on its own loses money in two ways: it sends the wrong proof, or it sends nothing. Both are caught before the send, not after PayPal decides.
  • Literal validation is not sufficiency: a package can contain nothing false and still show nothing.
  • A local 9B model is useful for extracting and drafting, and not safe to trust without a validator and a person.

What's next

Proofie runs in the PayPal sandbox today. Going live would need a registered PayPal app, each seller's own grant of access and whatever review PayPal asks for; real sellers would come after. Seller Protection rules already live in one dated file per country, each check quoting PayPal's published page: Mexico and the United States ship today. Another country is a new rule file, with its quotes and tests, plus one line in the registry. Next we want more countries, dispute reasons beyond "item not received", and the same measurement with real sellers' consent. For PayPal, our aim is that each case arrives organised and checked against its own record. Because a dispute has two sides, Proofie already offers an optional status page the seller approves, and next we hope to help buyers see what was sent.

Proofie prepares. You decide.

Built With

  • claude-code
  • codex
  • elevenlabs
  • fastapi
  • httpx
  • jinja
  • model-context-protocol
  • ollama
  • paypal-add-tracking-api
  • paypal-customer-disputes-api
  • paypal-orders-api
  • paypal-sandbox-rest-apis
  • paypal-transaction-search-api
  • pillow
  • playwright
  • pypdfium2
  • pytest
  • python
  • qwen3.5-9b
  • render
  • sqlite
Share this project:

Updates

Submission history