Case study

Cashback Platform and Receipt Recognition for ZipZero

A UK cashback platform that turned shopping receipts into money for household bills: custom OCR, product recognition and fraud detection.

Industry
Cashback & Fintech
Country
United Kingdom
Timeline
2019 – 2023
Team
8-12 Employees
ZipZero: Intelligent Cashback Platform
01 Starting point

Where we started

ZipZero is a UK startup that, after raising funding, set out to build a cashback platform: users scan receipts with their phone or share their online shopping data, and the money they earn goes towards household bills. The aggregated data on shopping habits was at the same time a valuable source of insight for retail chains. In 2019 the client had funding, a product vision and a plan in which everything started with a receipt. A photo had to be turned into text, the merchant and the product abbreviations recognised, the items matched to a database of products and EAN codes, and only then could cashback be paid, thousands of times a day. The client needed a team to design the architecture and build it from scratch. From 2019 to 2023 we were ZipZero's engineering partner. We designed the architecture, built the backend, the mobile app and the admin panel, and as the platform grew we added a custom OCR, receipt product recognition, a data warehouse and machine-learning fraud detection. Hundreds of thousands of people used it every day.

A funded startup needed a system that could process thousands of transactions a day, a simple mobile app for users and an admin panel for managing it all. Over time further requirements came in: recognising products from the receipts of different chains, an in-house database of products and EAN codes, a data warehouse for retailer analytics, and protecting the rewards budget from abuse.

02 What we did

What we delivered

01

Custom receipt OCR

Receipt photos from phones are rarely clean. We built a custom OCR that turned such photos into text.

02

Merchant and product recognition

An algorithm that recognised product abbreviations on receipts and expanded them into full names, separately for different store chains. We tested and optimised its configuration.

03

Product and EAN database

We built and maintained a database of products with EAN codes gathered from various sources, which recognised items were matched against. It tied purchases to specific products and let purchase data be aggregated for retail chains.

04

Microservices and transaction processing

A Java and Spring backend split into microservices, so independent teams could work in parallel and the platform processed thousands of transactions a day.

05

Database and data warehouse

A database and data flow designed to hold millions of transactions, products and purchases, plus an analytics panel on Snowflake for the ZipZero team and retail chains.

06

Mobile app and admin panel

An Android app for scanning receipts and managing rewards, and a comprehensive admin panel for managing the system.

07

Partner network integrations

Connecting the platform to external affiliate networks.

08

Fraud detection

Machine learning that scored every receipt before payout: altered amounts, duplicates across accounts, shopping patterns that could not be real. Suspicious cases went to human review. We described it in a separate case study.

03 What changed

ZipZero when we started and when we handed over

SystemBeforeA product idea and an MVP planAfterA microservices platform processing thousands of transactions a day, with a mobile app and an admin panel
ReceiptBeforeA photo someone would have to type up by handAfterText from a custom OCR, a recognised merchant and products matched to the EAN database
AbuseBeforeManual spot checks that could not keep up with the volumeAfterML scoring of every receipt before payout, with unclear cases sent to a person
DataBeforePurchase data scattered across servicesAfterA Snowflake warehouse with an analytics panel for the team and retail chains
04 How we worked

How the work was run

The project began with many hours of planning and analysis of the domain and the architecture of the new system. The main goals were clear: process thousands of transactions a day, give users a simple and transparent mobile app, and give the ZipZero team an admin panel to manage it all. As the platform grew, the weight of the work shifted to receipt data. We built a custom OCR, a merchant and product recognition algorithm and a database of products and EAN codes, and we tested and tuned the recognition configuration. On that data we stood up a Snowflake warehouse with an analytics panel. Over time came protection of the rewards budget: machine-learning models scored every receipt before payout, and unclear cases went to a person. The engagement ran from 2019 to 2023.

A cashback platform built from the MVP plan through to fraud detection: custom OCR, product recognition, an EAN database and a data warehouse, used every day by hundreds of thousands of people.

Scope of work

We were responsible for ZipZero's engineering from the MVP plan through to fraud detection.

Planning and domain analysis sessions, the technical MVP roadmap and the initial system architecture.

Implementing the microservices architecture, so independent teams could work in parallel on different parts of the system.

Designing the database, warehouse and data flow able to hold millions of transactions, products and purchases.

Custom receipt OCR and merchant and product recognition algorithms, with a flexible, tuned configuration.

Building and maintaining the database of products with EAN codes from various sources, which recognised items were matched against.

The Android app for users and a comprehensive admin panel for system management.

Integration with external affiliate networks.

Machine-learning risk scoring of every receipt before payout, with human review of unclear cases.

Technologies

Java
Spring
Kubernetes
Redis
Elasticsearch
Angular
Android
PostgreSQL
Snowflake
What our clients say
The expertise of the leaders, coupled with the diverse skill sets of their teams, truly sets them apart. Their vast experience across a myriad of projects ensures that they can adeptly handle virtually any project you envision. Furthermore, their deep involvement in the process is palpable; it's as if they seamlessly integrate and become an intrinsic part of your in-house development team.
Marcin WalaszczykCTO, ZipZero

Let's Talk About Your Project

Get In Touch
Maciej Roman|CEO & Co-founder

Not sure where to start? Begin with the AI Readiness Audit