PayPal AI Hackathon · AI + real PayPal sandbox
Durin reads the evidence with AI, verifies it with a deterministic engine against real PayPal activity, and leaves the authorization to the merchant.
A Tuesday night, any small business
PDFs, forwarded threads, a photo of a paper invoice from a supplier's phone.
Due dates, currencies, discounts, who exactly gets paid and where.
Payouts, fees, refunds, pending items: the only record of what actually happened.
The real problem
The hard part is not the Pay button.
It is knowing whether the obligation, the PayPal operation and the money actually match.
Is this invoice new, duplicated, or already paid? Does the recipient match our records? Is the amount within policy? What needs a human before any payout?
What goes wrong today
The same invoice forwarded from two mailboxes, two weeks apart. Both looked new.
"We changed our payment email." One line in a thread, and the money goes somewhere new.
"You still owe us for March." Scrolling hundreds of PayPal rows by amount and date, hoping to recognize one.
Every one of these is a reading problem first and a money problem second. That is exactly where AI helps, and exactly where it must not decide.
Durin, in one sentence
Durin lets a merchant pay suppliers from their invoices, with every extracted fact cited to its source, every check reproducible, and every payout signed by a person before PayPal ever hears about it.
One journey per batch of invoices
Every source hashed. Nothing enters without a fingerprint.
Supplier, amount, recipient, due date, each with its literal excerpt.
Two sources disagree on a field? Both are shown. Nobody picks silently.
Only ready rows, totals as strings, one SHA-256 digest.
Signed against that digest. Change a cent and the signature breaks.
Real Payouts batch, item by item, refreshed from the provider.
Step 2 · what the AI read
The model fills a strict schema and must quote the exact text behind every value. A value it cannot quote is flagged for a person, not accepted.
Step 3 · what the engine verified
Same input, same output, every time. No float in the decision path; every total is a string the engine produced.
Every invoice ends in one of three places
Every field cited, nothing contradicts, policy holds. It still waits for your signed approval.
A contradiction, a duplicate, an unapproved recipient, an amount over the limit. It never enters a proposal.
A value without a literal excerpt, or a source the AI could not read. Nothing is decided by default.
An exception always reads as an exception, whichever check produced it. Exceptions are never mixed into what is reconciled.
Steps 5 and 6 · what you authorized
PayPal stays the source of truth for what happened to the money. Durin never claims a payment it did not read back from the provider.
And the question every merchant gets
"Did we pay Acme around $450
a few months ago?"
Turns the question into search hints: months back, counterparty, amount, keywords.
Real history, queried in PayPal's own date windows, filtered by deterministic matching.
Explains only what was found. An empty result is an honest "nothing matched".
No more scrolling hundreds of rows by hand. The model proposes what to search for, never the answer itself.
The architecture, in one line
Structured output with evidence excerpts, validated against the source text.
Checks, contradictions, proposal digest, signed authorization. Pure Python, reproducible, tested.
Payouts and Transaction Search, sandbox today, same code path for live.
Puts a sealed result into words. Cannot change a value that is already fixed.
Swap the model and only the wording changes. The verdict, the seal and the chain of custody stay identical. That is the test the design is built to pass.
Built on
Payouts API for supplier payments, built only from a signed proposal. Transaction Search API behind the chat, chunked into PayPal's 31-day windows. Sandbox merchant and personal accounts, exercised end to end.
Structured extraction with mandatory evidence excerpts, and query interpretation plus narration for the chat. Always a proposal, never a decision.
Python, standard library at the core: canonical serialization, SHA-256 seals, HMAC authorization, a durable authorization ledger, MCP tools for the agent, and a test suite for every module.
Next.js frontend that never holds a credential: one journey per batch, decision summary with exactly one next step, CSV and PDF export, English and Spanish.
Proof, not promise
Everything in the video runs live on the real pipeline. The hosted demo is an unedited recording of those same runs.
The Doors of Durin open only for the right word
AI that reads everything, an engine that forgets nothing, and a merchant who signs every payment knowing exactly why.