AI reordering for café suppliers
An agent proposes each café's next order, the café approves it, and PayPal keeps a fingerprint of that approval.
The RelayPay console for café orders
Pick a charged order to see the café's sealed approval, its SHA-256 fingerprint and the checks RelayPay runs against PayPal's own record.
Open the receipts- CBCoffee beans 40lb bag2 × $42.00 · $84.00Approved2m
- OMOat milk case (12)2 × $24.00 · $48.00Approved9m
- SUSugar 10lb bag2 × $12.00 · $24.00Verified1h
- CSCoffee beans 5lb bag2 × $18.50 · $37.00Disputed2h
- OMOat milk case (12)5 × $24.00 · $120.00Verified3h
- CBCoffee beans 40lb bag3 × $42.00 · $126.00Verified1d
- SUSugar 10lb bag3 × $12.00 · $36.00Verified1d
- OMOat milk case (12)4 × $24.00 · $96.00Verified2d
- CSCoffee beans 5lb bag1 × $18.50 · $18.50Verified3d
Approval receipts sealed into each PayPal order
When the café approves, RelayPay seals what, how much, who and when into a receipt. Its SHA-256 fingerprint rides on the PayPal order as custom_id.
- Orders over $100 need the café's extra tick
- One edit breaks the fingerprint
const hash = hashReceipt(receipt);
const order = await createOrder({
amount: "84.00",
custom_id: hash,
vault_id: cafe.vaultId,
});
// PayPal keeps custom_id
await capture(order.id);
Why it holds up
Dispute tools argue after the fact. RelayPay seals the café's approval before the purchase, and PayPal keeps an independent copy of its fingerprint.
PayPal disputes answered from the receipt. You decide what is sent.
New cases arrive by signed webhook, or paste any PayPal dispute ID.
Drafts the PayPal dispute reply
It reads the case and the café's receipt, then writes the response.
Checks 4 facts with PayPal
Receipt, fingerprint, amount and capture, re-read live.
- Receipt unchanged
- custom_id matches
- Amount is $37.00
- Capture completed
Attaches the receipt as a PDF
Receipt, timeline and PayPal IDs in one file.
Evidence packet.pdfPDF
Approval receiptReceipt
Capture recordPayPal
TimelineLog
Works with PayPal and your tools
RelayPay calls Vault, Orders, Payments, Disputes and Webhooks from its own server, plus Transaction Search for reconciliation when it is enabled. The agents never hold credentials or move money.
Channel3 checks market prices, owner alerts arrive by email, Discord, Slack or ntfy, AG Grid draws the tables.