In Nairobi, a clean public restroom that is open when you need it is hard to find, and the people who keep restrooms clean are often paid late, in cash. TapFlash is a WhatsApp bot that finds the restroom, takes the payment with PayPal, refunds failed visits, and pays operators and cleaners as soon as their work is approved.
Everything below runs live on this server. Do the four stops in order. Stop 1 is two separate visits, because one payment can only end one way: either the door opens and the hold is charged, or the visit fails and the hold is released.

Visit 1: the door opens.
Niko Kencom, nataka choo safi: Swahili for "I'm at Kencom, I want a clean toilet". Gemini understands and answers in Swahili.Visit 2: the door is locked.
The door was locked. Gemini reviews it and the code releases the hold: you are never charged.


In January 2026 the US CDC reported that public toilets in Kenya that are not cleaned well spread diarrhoeal illness and worsen cholera and mpox outbreaks. It found high turnover and low morale among cleaners, and skipped disinfection, and what worked was checking the work and giving feedback (CDC). Where private operators ran Nairobi's public toilets, each served 500 to 1,000 visitors a day (World Bank WSP).
In Kampala, a busy public toilet takes up to Shs120,000 on a good day, in cash and with no record (Daily Monitor). TapFlash turns that into PayPal payments with a record an operator can show a bank.
TapFlash checks every cleaning with a photo, pays the cleaner at once with PayPal, and shows the next visitor that the restroom was just cleaned.
PayPal Orders, Refunds, Payouts and webhooks (sandbox), Google Gemini, the WhatsApp bot, the QR door check.
PayPal runs in its sandbox, as the hackathon asks. Going live is a settings change, not a code change.
The five Nairobi restrooms and their operators are examples. Payments, refunds and payouts you make here are real sandbox ones.