Work  /  Case study · Fintech

Moving a Nigerian fintech's payment data without losing a single record

Legacy SQL Server settlement logic migrated to Databricks, every offshore copy brought home, every record reconciled.

Client name withheld. Published November 2026.

1,000,000transactions migrated
4 / 4planted faults caught before cutover
0records lost
7 / 7copies of payment data now in Nigeria
The problem

Legacy logic, offshore data and a fixed deadline

The fintech's settlement ran on four SQL Server stored procedures: settlement, fees, reversals and chargebacks. They worked, but nobody could easily test, audit or change them.

Its payment data also lived abroad: the production database, backups, disaster-recovery replica, data warehouse, fraud data, logs and archives.

The CBN's circular of 15 June 2026 requires payment transaction data generated in Nigeria to be stored and managed in Nigeria from 1 January 2027. Its FAQ counts backups, disaster-recovery copies, archives, warehouses, fraud monitoring data and logs, so moving the main database alone would not have been enough.

CBN compliance date

1 January 2027

Copies of payment data abroad at the start

7 of 7

Legacy stored procedures

4

Step 1

Find it: every copy, and where it lived

We found seven copies of the fintech's payment data, and all seven were abroad. The fraud vendor and the log service were the easiest to miss: neither appeared in the fintech's own system inventory.

Where each copy of the payment data was stored before and after the migration
DatasetBeforeAfter
Production transactions DBIrelandLagos
Nightly backupsIrelandLagos
Disaster-recovery replicaGermanyAbuja (second site)
Data warehouse and BIUnited StatesLagos
Fraud monitoring dataUK vendorLagos
Security and system logsUnited StatesLagos
Archives (7 years)IrelandLagos
Step 2

Move it: from stored procedures to Databricks

Each layer was checked before the next was built, and the legacy system kept running until the numbers matched.

Migration layers and what each one checked
LayerWhat happenedResult
1. Legacy SQL ServerFour stored procedures: settlement, fees, reversals, chargebacksSource of truth
2. BronzeEvery transaction loaded exactly as it was1,000,000 rows
3. SilverTypes fixed, duplicates flagged, times set to WAT37 duplicates flagged
4. GoldSettlement and fee logic rebuilt on Databricks₦4.81bn settled
5. ReconciliationLegacy and new outputs compared row by row0 records lost
Step 3

Prove it: the reconciliation report

Every check passed on the final run, and all four faults planted to test the process were caught before cutover.

Settlement reconciliation, legacy against Databricks, final run: passed
CheckLegacyDatabricksResult
Row count1,000,0001,000,000Match
Settlement total₦4,812,903,517.40₦4,812,903,517.40Match
Fee total₦38,503,228.14₦38,503,228.14Match
Unique transaction IDs1,000,0001,000,000Match
Field-level checks42 columns42 of 42 passMatch

Four faults caught before cutover

Faults planted to test the process, and how each was resolved
FaultWhat we foundOutcome
Dropped rows1,284 rows missing after loadRestored
Duplicate transfers37 transfers posted twiceFlagged and removed
Rounding drift₦0.01 gaps on 9,112 fee rowsFixed
Timezone shift2,406 transactions on the wrong settlement dayCorrected to WAT

Why it matters. A sample check would have missed most of these. A duplicate transfer looks valid on its own; only a full count against the legacy system exposes it.

Step 4

Hand over: the Proof Pack

The fintech received six documents its team, its auditors and the regulator can read without us in the room.

  1. Reconciliation report5 checks passed, 4 faults logged and fixed
  2. Data location map7 of 7 copies confirmed in Nigeria
  3. Data contract register12 feeds, each with agreed fields and rules
  4. QA rule catalogue42 automated checks that run every day
  5. Lineage mapEvery column traced from SQL Server to Gold
  6. RunbookDaily operations and recovery steps

Is your payment data really in Nigeria?

If your production database has moved but your backups, logs or fraud data haven't, the job isn't finished. We find every copy, move it, and prove every record arrived. We don't sell servers or hosting, so our checks are independent.