Case study

Cash App, PicPay and Coins.ph cut core data jobs from 5.5 hours to 50 minutes

Scattered data stacks left fraud signals and business reports hours behind, in a business where minutes matter.

Underwriting and risk

85%faster processing on core data jobs

The workflow before#

This work spanned three payment companies with more than 100 million customers between them. Cash App, part of Block, had data spread across Redshift, EMR, Glue and S3, and folding in data from Afterpay, which Block acquired, added another layer. Fraud signals and business reports ran hours behind. At PicPay, which serves 60 million customers in Brazil, overnight analytics jobs ran into the next business day, data scientists spent about 70% of their time maintaining infrastructure, and the cash-back program cost far more than it needed to. In the Philippines, Coins.ph waited weeks for each round of ML experiments, so it was slow to respond to new fraud patterns. All three faced tighter regulatory scrutiny at the same time.

What we built#

We built each company a lakehouse on Databricks that brings scattered data into one governed place, with fraud models and analytics running on the same data. The core design was shared across all three: reliable storage with built-in quality checks, one catalog that controls who sees what, and a standard path for building, deploying and retraining models. We moved in phases so payments never stopped.

Quality checks before data moves on

Delta Lake gives each company transaction-safe storage, which matters when the data is money. Automated checks validate more than 200 business rules as data lands and catch anomalies before they reach a report or a model. Analysts stop discovering problems in a dashboard after an executive has already seen it.

One catalog for access and compliance

Unity Catalog sets access, lineage and audit trails in one place, with role-based permissions for more than 500 users across data science, analytics and engineering. Metadata tags detect personal data automatically and apply encryption. We put governance in the catalog rather than in each pipeline, so a new dataset picks up the rules the moment it's registered and project approvals no longer wait weeks on manual sign-off.

Fraud models that score in milliseconds

We migrated more than 50 existing models onto MLflow and set up automated retraining, which cut model drift by 60%. Fraud models read more than 200 features and score each transaction in under 100 milliseconds, across more than 10TB of transaction data a day. Detection accuracy reached 90%, and data scientists now run an experiment in hours instead of weeks.

Self-serve analytics for the business

The last phase put governed self-serve tools and more than 50 dashboards in front of business users. Self-serve users grew 25%, and fewer routine requests landed on the data teams. We built the dashboards on the same governed tables the models use, so the business and the fraud team never argue over whose numbers are right.

How we delivered it

We ran the work in four phases over six months, starting with fraud detection because it carried the most risk and the fastest payback. Phase two unified customer data, phase three tuned the analytics pipelines and phase four opened self-serve access. There was no single big cutover, and the first results showed up inside 30 days. Weekly training sessions and a center of excellence at each company meant the internal teams could run and extend the work themselves.

Before and after#

MeasureBeforeAfter
Core data job runtime5.5 hours50 minutes
ML experiment cycleWeeksHours
Analytics infrastructure costBaseline50% lower
PicPay cash-back program costBaseline$10M a year saved
Fraud detection accuracyFragmented signals across systems90%

What's next#

With governed data and a standard model path in place, each company can push further into personalization and cross-sell. PicPay's sharper segmentation has already lifted customer lifetime value 15%, and Cash App can now put Afterpay data to work in cross-sell. New models reuse the same features and controls without new infrastructure.

ShareLinkedInEmail

Each company runs a Databricks lakehouse with Delta Lake as the storage layer, replacing a mix of Redshift, EMR, Glue and S3 at Cash App and legacy analytics infrastructure at PicPay and Coins.ph. Delta Lake's ACID guarantees protect transaction integrity, and more than 200 automated data quality rules run as data lands, with failures quarantined before they reach downstream tables. The combined estate processes more than 10TB of transaction data a day.

Unity Catalog is the governance layer: access policies, lineage and audit logs for more than 500 users, with role-based access control by team. Custom metadata tagging detects PII automatically and applies encryption to support GDPR and local privacy rules in each market.

MLflow standardizes the ML lifecycle, from experiment tracking to model registry and deployment. More than 50 existing models were migrated, with automated retraining pipelines to control drift. Fraud models score 200+ features per transaction in under 100 milliseconds.

Next step

Let's build the case study we tell next.