Inspiration
Every group dinner ends the same way. One person pays, everyone squints at the receipt, and the group chat turns into "who had the extra fries?" and "I'll send you mine later" (nobody ever does). Splitwise tracks who owes what, but people still don't actually pay. I wanted to go from receipt to everyone paid in under a minute.
What it does
You snap a photo of the receipt and AI reads every item, price, tax and total. You add your friends and tap who had what. Shared items split evenly and tax and tip are split fairly based on what each person ordered. Hit "Explain the split" and the AI tells everyone in plain English who owes what and why. Then each person pays their exact share with their own PayPal button, and the bill is settled right there at the table.
How I built it
I built it with Next.js and Tailwind, using Cursor as my AI pair programmer, and deployed it on Vercel. Google Gemini handles reading the receipt photo and writing the split explanation. PayPal's Orders API (in sandbox) creates and captures a separate payment for each person on the server, so no secrets ever reach the browser.
Challenges
Receipts are messy, so getting clean data out of a photo took work. I validate the AI's output, retry if it's off, and keep every item editable. The maths was trickier than expected too: splitting tax and tip proportionally leaves stray cents, so I made sure everyone's shares always add up exactly to the bill. Wiring up PayPal properly, including cancelled and failed payments, was a big learning curve.
What I learned
This is my second hackathon project and my first one that handles payments. I learned how to use an AI vision model to pull structured data from images, how online payments work end to end, and how fast you can ship a real product with AI tools.
What's next
Shareable bill links so friends can pay from their own phones, custom splits, more currencies, and going live with real payments.
What it does
Built With
- cursor