Skip to content

A payment provider in Asia maps its card data before the PCI DSS audit

Oxagile found where card data lives in a database monolith and planned how the card domain moves out. AI worked only on obfuscated copies inside the provider’s perimeter.

What the work covered

  • 2,000+stored procedures holding the business logicBound together across domains, with card data in the same database
  • 0card numbers left the provider’s perimeterAI read obfuscated copies only, read-only, in a test environment

At a glance

Client
Payment provider, Asia: card acquiring, a wallet, transfers and bill payments
Objective
Move the card domain out of a database monolith without putting the platform or the PCI DSS certification at risk.
Results
A map of where card data lives, a target architecture that shrinks PCI scope, and a migration plan.
Impact
Most systems will work with tokens and drop out of PCI scope. The platform stays online through each step.

The client is a large payment provider in Asia, certified to PCI DSS. Its platform runs on one database, where most of the business logic lives in stored procedures.

Nobody could say for certain where card numbers sat, which jobs touched them, or which systems really needed them.

Why couldn’t the card domain just move?

  • Stored procedures. More than two thousand of them held the business logic, bound together across domains.
  • Card data on every path. Tables, logs, jobs, scripts and backups, in open, encrypted or tokenized form.
  • A live certification. The platform and its PCI DSS certification had to keep running through each change.
  • The perimeter. No card data could leave the provider, so analysis had to work on obfuscated copies.

How did AI work without seeing card data?

The analysis ran read-only, in a test environment, on obfuscated copies of the database and on the code of the procedures. Live values stayed out of it.

AI read at a scale no team could cover by hand and returned hypotheses with references. Engineers confirmed each one before it went into the plan, and each AI step had the provider’s written approval.

Where does card data live?

The search ran in three layers. A deterministic pre-filter checked samples for card numbers. A model classified columns from metadata and masked samples only. A lineage graph followed the data through procedures, jobs and scripts.

Most systems turned out to need only a token, the BIN and the last four digits.

Card data discovery in three layers: a deterministic pre-filter over sampled columns, contextual classification on metadata and masked samples, and a lineage graph through procedures, jobs and scripts.
Card data is found in three layers. The model sees metadata and masked samples, with no card numbers.

How does the card domain move out?

Calls to each procedure were mapped to the tables they touch and drawn as a dependency graph. The cut lines follow business domains agreed with the provider’s architects, with the card domain first.

Card data moves into an isolated tokenization vault. New records go through it, history moves over in reconciled batches, and consumers switch one at a time behind feature toggles.

What does the provider have now?

  • A map of where card data lives and which systems touch it, built from evidence rather than interviews.
  • Cut lines through the monolith along business domains, with the card domain first.
  • A target architecture where most systems work with tokens and drop out of PCI scope.
  • A step-by-step migration plan that keeps the platform online and the certification in force.
  • An audit preparation pack: confirmed scope, gaps per requirement, and the evidence to collect.

Audit scope comes from the dependency graph, and each gap is tied to a requirement. The scope only shrinks after a repeat scan finds nothing left behind.

Card data locked inside a monolith?

Tell us where it lives today. We’ll show you how to move it without losing the certification.

Or call +1 937 883 5468