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.
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
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.
| Dataset | Before | After |
|---|---|---|
| Production transactions DB | Ireland | Lagos |
| Nightly backups | Ireland | Lagos |
| Disaster-recovery replica | Germany | Abuja (second site) |
| Data warehouse and BI | United States | Lagos |
| Fraud monitoring data | UK vendor | Lagos |
| Security and system logs | United States | Lagos |
| Archives (7 years) | Ireland | Lagos |
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.
| Layer | What happened | Result |
|---|---|---|
| 1. Legacy SQL Server | Four stored procedures: settlement, fees, reversals, chargebacks | Source of truth |
| 2. Bronze | Every transaction loaded exactly as it was | 1,000,000 rows |
| 3. Silver | Types fixed, duplicates flagged, times set to WAT | 37 duplicates flagged |
| 4. Gold | Settlement and fee logic rebuilt on Databricks | ₦4.81bn settled |
| 5. Reconciliation | Legacy and new outputs compared row by row | 0 records lost |
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.
| Check | Legacy | Databricks | Result |
|---|---|---|---|
| Row count | 1,000,000 | 1,000,000 | Match |
| Settlement total | ₦4,812,903,517.40 | ₦4,812,903,517.40 | Match |
| Fee total | ₦38,503,228.14 | ₦38,503,228.14 | Match |
| Unique transaction IDs | 1,000,000 | 1,000,000 | Match |
| Field-level checks | 42 columns | 42 of 42 pass | Match |
Four faults caught before cutover
| Fault | What we found | Outcome |
|---|---|---|
| Dropped rows | 1,284 rows missing after load | Restored |
| Duplicate transfers | 37 transfers posted twice | Flagged and removed |
| Rounding drift | ₦0.01 gaps on 9,112 fee rows | Fixed |
| Timezone shift | 2,406 transactions on the wrong settlement day | Corrected 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.
Hand over: the Proof Pack
The fintech received six documents its team, its auditors and the regulator can read without us in the room.
- Reconciliation report5 checks passed, 4 faults logged and fixed
- Data location map7 of 7 copies confirmed in Nigeria
- Data contract register12 feeds, each with agreed fields and rules
- QA rule catalogue42 automated checks that run every day
- Lineage mapEvery column traced from SQL Server to Gold
- 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.