Inspiration
Group trips are fun. The money around them isn't. A Harris Poll for CIT Bank (May 2026) found that 82% of people who took a group trip would rather pay more than their share than argue about money, and 45% have had money conflict on a trip. We've all been in that group chat: Who's buying what? Who already paid? Who owes whom?
Checklist apps track tasks, and payment apps move money. Nothing connects the two, so "is this actually done, and who paid for it?" is always answered by memory. We wanted one shared list that goes from what we need to everyone settled up, with proof at every step.
What it does
Type one sentence ("photo trip this weekend for 3 people") and AI writes the shopping list, priced at real stores (Kroger for food, Walmart and Target for the rest). Mark what you already own and it drops off the budget. Share a link and friends join with just a name: no app, no sign-up. Then:
- An AI shopping assistant finds real products and builds a cart that fits the budget. You approve it and pay once with PayPal, Venmo or Pay in 4.
- Snap a receipt after buying in a store. AI reads every line, matches it to the list, takes coupons off the right item, and checks that the prices add up to the receipt's own total.
- Settle up. HeyList knows what each person really paid, including tax, and works out who owes whom. It writes a friendly reminder, and one tap sends the money straight to the person owed with PayPal.
Every item shows how we know it's done: Paid with PayPal, On a receipt, Marked bought by hand, or Already had.
How we built it
- Frontend: Next.js 16, mobile-first, with live updates between phones over Supabase Realtime.
- Backend: FastAPI, Supabase (Postgres, storage, auth), deployed on Render with a cron job that finishes pending payments.
- PayPal: the Python Server SDK for Orders v2 and Payments v2 (refunds), JS SDK v6 buttons for PayPal, Venmo and Pay Later, and signature-verified webhooks. Prices are set on the server, never taken from the browser.
- AI: an Ollama vision model (
gemma4:31b) writes lists, checks store matches, matches receipts and drafts reminders. AWS Textract reads receipts. Channel3 and Kroger's API supply real products and prices.
Our core rule: the AI proposes, code decides. Budgets, the cart fit, tax and the split are plain code, and a person confirms every AI suggestion.
All money is integer cents. Sales tax is stored as a rate r in basis points (825 = 8.25%) and charged per unit, rounded exactly the way PayPal checks it, where c is the unit price in cents:
$$\text{tax}(c) = \left\lfloor \frac{c \cdot r + 5000}{10000} \right\rfloor$$
To settle up, every member gets a balance: what they paid minus their fair share. The balances always add up to zero:
$$b_i = \text{paid}_i - \text{share}_i, \qquad \sum_i b_i = 0$$
Whoever owes the most pays whoever is owed the most, until everyone is at zero. That takes at most n − 1 payments for n people.
=== SPONSORS ===
Best Use of PayPal + AI
PayPal handles all of HeyList's money, and AI handles the planning around it. Every payment, refund and settle-up goes through PayPal's sandbox: Orders API v2, Payments API v2, JS SDK v6 and webhooks.
Paying for items. When someone taps Pay with PayPal, the server builds the order from the list's own prices, never from the browser. Each item's sales tax goes in PayPal's item tax and tax_total, so PayPal's page shows Items + Tax = Total like a real store checkout. The buyer approves in the JS SDK v6 pop-up, with PayPal, Venmo and Pay Later buttons and PayPal's Pay Later messages; PayPal's hosted page is the fallback. An item is checked off only when the capture status is COMPLETED, not the order status, because an order can complete while its payment is still PENDING or DECLINED. The PayPal order becomes the item's proof: "Paid with PayPal · Ann".
Finishing pending payments. Signature-verified webhooks finish captures that come back pending, and a Render cron job asks PayPal again every 15 minutes in case a webhook was missed.
Refunds. If a PayPal payment goes through for an item that a receipt already checked off, Payments API v2 refunds that charge automatically. The refund's idempotency key is per order and item, so the same charge can never be refunded twice.
Settling up. Code works out who owes whom to the cent. Each settle-up payment is a PayPal order whose payee is the friend who is owed, so the money goes person to person and never passes through HeyList.
Where AI fits. Ollama gemma4:31b writes the starting list from one sentence, checks that store products really are the item, matches receipt lines (read by AWS Textract) to list items, and drafts a friendly reminder with the exact amount and a link to pay. Our rule is that the AI proposes, and code and PayPal decide. The AI never sets a price PayPal charges without a person seeing it, and it never approves a payment.
[Screenshot: an item marked "Paid with PayPal · Ann", next to PayPal's checkout showing Items + Tax = Total]
Best Use of Agentic Commerce
"Shop this list for me" is HeyList's shopping agent. It does the shopping, and you approve one PayPal payment.
You tick the items you want it to shop for. The agent searches Channel3 for each one, 10 at a time, and the AI keeps only the products that really are that item. Each item gets its closest match, and then code, not the AI, fits the cart into the budget that's left: the list's budget, less what has been spent and what the rest of the list is expected to cost. If the cart is over budget, items switch to their cheapest match, biggest saving first. If it's still over, the most expensive items are left out, so as few as possible are dropped, and the agent says what it skipped and why.
You see real products, real prices and the total, then approve one PayPal payment for the whole cart. The agent never pays on its own. Before the PayPal order is created, every product's price is read again from Channel3. If a price changed, the order is refused and you see the new total first, so PayPal always charges the price you saw.
Channel3's checkout isn't open yet, so today the sandbox payment goes to HeyList's merchant account rather than the store. When it opens, the agent will place the store order too.
[Screenshot: the agent's proposed cart with product cards, the total within budget, and the Pay with PayPal button]
Best Use of Channel3
Channel3 is how HeyList knows what things really cost. It powers three features:
- Find in stores: real products and prices for any item on the list.
- Shop this list for me: the agent's product search, described above.
- Prices on a new list: one Channel3 search per item name, filtered to the big US stores (Walmart, Target, Costco, Kroger, Sam's Club, Amazon) with
website_ids. The item's price is the lower middle of the matching products, and the store is shown beside it.
Channel3 matches words, not meaning. In our live tests, "milk" returned face cleansers and "eggs" returned toys. So every result goes through an AI check before anyone sees it: the item, its note, the list title and up to 10 results go to the model, which names only the products that really are the item, and at most 5 are shown. Food is priced from Kroger's Products API instead, because Channel3 doesn't carry groceries.
When someone picks a product, the server reads its price from Channel3 again, keeps the cheapest in-stock USD offer, and makes that the item's price, which is exactly what PayPal charges. The price is read once more when the PayPal order is created, unless it was read in the last 10 minutes. If Channel3 is down, the saved price is charged, so checkout never breaks. A shared limit of 100 searches an hour keeps usage bounded.
[Screenshot: Find in stores showing checked products from Walmart and Target with prices]
Best Use of APIMatic
Every PayPal Orders and Payments call in HeyList's backend goes through paypal-server-sdk 2.4.0, PayPal's official Python Server SDK, generated by APIMatic (apimatic-core). We chose the SDK over raw REST because it handles the OAuth client-credentials tokens for us and gives typed models for everything we send: OrderRequest, PurchaseUnitRequest, ItemRequest with per-item tax, AmountWithBreakdown, PayeeBase for settle-up payments to a friend, and RefundRequest.
The SDK's paypal_request_id is how we made every call idempotent:
- Creating an order uses a fresh UUID.
- Capturing uses the order ID, so a retry or a double tap can never capture twice.
- Refunds use a key per order and item, so a charge can never be refunded twice.
Captures and refunds ask for return=representation, so we read the capture status straight from the response. The client is pinned to Environment.SANDBOX.
While building, we used APIMatic's Context Plugins in our coding assistant, so its suggestions matched the SDK's real 2.4.0 method and model names instead of guesses.
Best Use of Render
HeyList runs entirely on Render from one Blueprint, render.yaml, so one sync deploys everything:
heylist-api: the FastAPI backend (Python 3.14.9). Its health check,GET /api/health, answers without touching Supabase or PayPal, and a deploy gets traffic only once it passes.heylist-web: the Next.js frontend, with a health check on/.heylist-shared: an environment group holding the URLs both services need (APP_URLfor PayPal's return links andBACKEND_URL). Every secret issync: false, so no key ever lives in the repo.heylist-sweep: a cron job that runs every 15 minutes. It callsPOST /api/cron/sweepwith aCRON_SECRETthat Render generates once and shares fromheylist-apithroughfromService. That route asks PayPal again about up to 50 list payments and settle-up payments stillPENDINGper run, using the same code as the "Check again" button. It's the safety net behind PayPal's webhooks: even if a webhook is missed, a pending payment finishes within 15 minutes. It makes only free PayPal sandbox calls and needs nothing but Python's standard library.
Free instances sleep after 15 idle minutes, so both web services run on always-on plans. That way the live demo answers right away when a judge comes back from PayPal's checkout.
Challenges we ran into
- "Completed" doesn't mean paid. A PayPal order can be
COMPLETEDwhile its capture is stillPENDINGorDECLINED. We check items off only on a completed capture, use idempotency keys so a retry never charges twice, and refund automatically if two people buy the same item. - LLMs ignore schemas. Our model wrapped its JSON in code fences and dropped fields. We now pull out the JSON, repeat the schema in the prompt, and validate every field in code with a safe fallback.
- Never guess a price. The receipt reader's confidence score alone caught few wrong prices. What worked was checking the receipt against itself: the lines must add up to the receipt's own subtotal. In our tests, every receipt with a wrong price failed that check. A price that can't be read surely is left blank for a person to type, never invented.
- Real prices are hard. Our product search had no real groceries (searching "hot dogs" returned plush toys), so food is priced from Kroger's API instead.
- Keeping the agent safe. The shopping assistant proposes a cart but can never pay on its own. A person approves every payment on PayPal's page.
The receipt check, where each line's price is p:
$$\sum_{\text{lines}} p_\ell = \text{subtotal}$$
Accomplishments that we're proud of
- The whole loop works end to end: one sentence becomes a priced list, the list gets shared, items are bought with PayPal or proven with a receipt, and everyone is settled up to the cent.
- Payments a real group could trust: checked off only on a completed capture, no double charges, automatic refunds for double purchases, and money going straight to the friend who's owed, never through us.
- AI we measured instead of assumed: our 30-case evaluation finds 96 of 98 list items with zero invented ones. Across 289 real receipts, Textract shows a wrong price on 2.5% of lines on the 189 English ones, and reads the tax correctly 97% of the time.
- Real-world money details: sales tax on PayPal orders (Items + Tax = Total), coupons taken off the right item, and tips and fees counted in the split like on a real receipt.
- No app, no sign-up: anyone with the link can join from their phone's browser.
What we learned
- Measure the AI instead of trusting it. Our evaluation showed that adding example lists to the prompt made results worse (91/98 vs 96/98), the opposite of what we expected.
- Money code needs a different mindset: integer cents, idempotency, checking payment status twice, and handling failure paths (pending, declined, refunds) as first-class features.
- The best AI features are small and checkable: AI suggests, code verifies, people confirm.
What's next for HeyList
- Placing the real store order once Channel3's checkout opens, so the agent buys as well as finds.
- Weighted shares, for when one person covers two people or a couple splits as one.
- Recognising several items in one photo, like a packed bag, to check them all off at once.
- Testing with real groups to measure whether HeyList actually ends the money arguments.
Built With
- apimatic
- aws-textract
- boto3
- channel3
- fastapi
- httpx
- next.js
- ollama
- paypal
- paypal-js-sdk
- paypal-orders-api
- paypal-pay-later
- paypal-payments-api
- paypal-server-sdk
- paypal-webhooks
- python
- react
- render
- supabase
- typescript
- uvicorn
- venmo
- web-speech-api