The central bank as overseer: switching licences and payment-system oversight
A bank is supervised for its own safety. A switch is overseen because everyone else's safety runs through it. Run an oversight review's checks against one week and see which findings a switch's own tables can show: 3 of 12
The lab week plants 12 kinds of problem: a participant over its limit, a bank outage, a switch incident, customers reversed after a late success or twice, fees and levies not charged, the same account number at two banks, a credit with no settlement, two postings at the payment service bank and a trust shortfall at a mobile money operator. A reviewer has only the switch's own tables: participants, name enquiries, transfers, status queries, settlement and outages. How many kinds can that reviewer find?
Modules 6 and 7 have shown the sides of a transfer: the banks, the switch, payment service banks (PSBs), mobile money operators (MMOs) and the telco. This chapter is about the party that is none of them. It does not move the money, hold the customer’s balance or run the switch. It decides who may do those things and watches whether they keep working.
Four jobs that get confused
People say “the regulator” as if one office did one thing. In payments it is at least four jobs, and the review you prepare for is only one of them.
| Job | The question it asks | Looks at | Example in the lab week |
|---|---|---|---|
| Licensing | May this company do this activity at all? | An application, capital, ownership | Which licence points at a wallet that holds customer money |
| Supervision | Is this institution safe and honest? | One institution’s books, controls, customers | A bank’s fee posting, a trust account matching e-money |
| Oversight | Does this system keep working for everyone who depends on it? | A system: its rules, settlement, resilience, access | A switch that settles every session to zero and stays up |
| Operation | Run the system or a piece of it | The thing itself | The central bank as a settlement counterparty |
The last row matters. In the lab, 16 settlement-funding payments in the week go to the Central Bank of Nigeria (CBN), and one of them is B13’s ₦150,000,000 top-up through the real-time gross settlement system (RTGS). The central bank is both a participant in the settlement arrangements and the overseer of the people who use them.
The international standard for the oversight job is short to state.
The Principles for financial market infrastructures (PFMI) were issued in April 2012 by the Committee on Payment and Settlement Systems (now the Committee on Payments and Market Infrastructures, CPMI) and the International Organization of Securities Commissions (IOSCO), as CPMI Paper No 101 on the Bank for International Settlements (BIS) site. The BIS page says they are standards for systemically important payment systems, central securities depositories, securities settlement systems, central counterparties and trade repositories, and that they replace three earlier sets of standards from 2001 and 2004. The PFMI contain 24 principles for the financial market infrastructures (FMIs) and five responsibilities for the authorities, A to E: search results show the headings of Responsibility A (regulation, supervision and oversight of FMIs) and Responsibility E (cooperation with other authorities). The results did not show B, C and Das of 2026-11.
Three things in that standard shape the rest of this chapter. It is aimed at systems that are systemically important, so it asks how much the rest of the economy leans on a switch, not how profitable the switch is. It speaks to the infrastructure and also to the authority, so a regulator is expected to be able to regulate, supervise and oversee, and to cooperate with other authorities. And it is not law: a country adopts it, adapts it or ignores it.
What the CBN says it does
The Central Bank of Nigeria publishes a page on its oversight function and a strategy that mentions it.
Search results of the CBN’s Oversight page say it exists to perform monitoring and oversight functions, onsite and offsite, on the payments system, with particular reference to switching companies, mobile payment operators, payment terminal service providers and card schemes. The CBN’s Payments System Vision 2025 page extends the list to payment solution service providers, terminal aggregators and other payment service providers, says the strategy was launched on 24 November 2022 as a five-year roadmap, and says an Oversight and Compliance Division was set up in the Payments System Management Department. The Oversight page itself names a Payment System Policy and Oversight Office as doing this work, so the unit’s name differs between CBN pagesas of 2026-11.
The strategy has a successor. Search results of the CBN’s Payments System Vision 2028 page say the CBN launched it on 1 June 2026 in Abuja, and press coverage reports a target of 95% adult financial inclusion by 2028. The results did not show what it says about oversight, so read it before citing either visionas of 2026-11.
Note what the Oversight page’s list contains: switching companies come first. Banks are not on the list the results show: the page is about the infrastructure and the providers around it, and banks are supervised under their own regime (the NDIC and CBN pages in the search results do not describe it).
Two further facts from the CBN’s own pages explain how the work is framed.
Search results of the CBN’s payments page say the CBN, complemented by the Nigeria Deposit Insurance Corporation (NDIC), provides the oversight function; that the CBN Act as amended in 2007 gives the Bank implicit powers to oversee and regulate the payments system (Section 47(2), as CBN pages cite it, says the Bank shall promote and facilitate efficient and effective systems for the settlement of transactions); and that a Payments System Management Bill was drafted to fill the gap of a law dealing explicitly and exclusively with payments systems. A ThisDay report of February 2025 (press, quoting a speaker) says the bill had been pending before the National Assembly for more than a decade, and the results showed nothing newer. The results did not show whether the CBN publishes any PFMI assessment, or whether the Nigeria Inter-Bank Settlement System (NIBSS) or any other system has been formally designated as systemically important. The Act’s section text was not shown, so check the gazetted Actas of 2026-11.
Oversight in Nigeria rests on the Bank’s general powers and on guidelines it issues, not on a statute written for payment systems. A review therefore leans on licence conditions and published guidelines: the rules the overseer can point to.
Who supervises whom
A review begins with a map: which kind of participant holds which licence, and who answers for it. Step 2 of the lab builds one for the week’s 32 participants.
Search results of the CBN’s “Approved New Licence Categorization Requirements, Consolidated – 2021” and of law-firm notes on a CBN circular of December 2020 (commentary, not the rule) say payments licences are sorted into switching and processing, mobile money operations (the operators are MMOs), payment solution services and a regulatory sandbox; the CBN document’s own headings also show a payment terminal service provider licence. The licences chapter covers the categories and their sources, including where sources disagree about the figures. Payment service banks (PSBs, see payment service banks) have their own CBN guidelines (revised 27 August 2020) and a Supervisory Framework dated July 2021. Search summaries say a PSB may not grant loans, advances or guarantees, directly or indirectly, must keep at least 75% of deposits in government securities (press headlines only), has a ₦5 billion minimum capital and not less than 25% of touchpoints rural (one news report says 50%), and that the guidelines bar a name that links it to its parent company; the full texts were not read here. Search results of the mobile money regulatory framework name the CBN and the Nigerian Communications Commission (NCC) as its regulators; the results did not make clear whether that wording is in the 2015 or the 2021 textas of 2026-11.
The telco sits outside that map. Unstructured Supplementary Service Data (USSD) pricing is the NCC’s business, and in practice the two regulators have had to act together.
Press reports (TechCabal and others, labelled press, not a rule) say the CBN and the NCC directed banks to settle ₦212.5 billion, put at 85% of about ₦250 billion owed to telcos for USSD, and that telcos were told in January 2025 to disconnect the USSD codes of nine banks that had not paid. They say customers were told that from 3 June 2025 session charges would come from airtime, and reports disagree on whether that was an NCC directive or a joint CBN and NCC arrangement. Totals conflict between outlets. The NCC’s and the CBN’s own texts were not found; the USSD chapter goes into the dispute, and the NCC’s own determination on USSD pricing is where to checkas of 2026-11.
The map has an uncomfortable cell. One regulator wrote the rules for the bank, another for the telco, and the customer’s USSD transfer crosses both. Responsibility E in the PFMI is about exactly this: authorities cooperate. The press account of the USSD dispute shows it arriving late: a joint instruction, as the press tells it, after a public argument over debt.
The switch is overseen as infrastructure
The PFMI group their principles into families. A review of a payment switch draws on these, with the numbers as the standard gives them.
Search results of the PFMI’s principle headings and one-line summaries show: Principle 1, legal basis; Principle 2, governance (clear and transparent arrangements); Principle 4, credit risk (measure, monitor and manage credit exposures to participants and those arising from payment, clearing and settlement); Principle 5, collateral (low credit, liquidity and market risks, from a secondary summary); Principle 7, liquidity risk; Principle 8, settlement finality (clear and certain final settlement, at a minimum by the end of the value date); Principle 13, participant-default rules and procedures; Principle 17, operational risk (identify sources of operational risk and mitigate them with appropriate controls); Principle 18, access and participation requirements (objective, risk-based and publicly disclosed criteria, from a secondary summary); Principle 19, tiered participation arrangements (the results showed the heading only); and Principle 23, disclosure of rules, key procedures and market data. These are summaries; read the key considerations in the PDF before you rely on anyas of 2026-11.
Here is the useful translation. Each principle becomes a question you can ask of the lab’s week.
| Principle | The question | Where the week answers it |
|---|---|---|
| 8, settlement finality | Does every settlement session net to zero, and does every settled transfer belong to one? | settlement_positions, transfers |
| 17, operational risk | Was the switch up? Did success rates hold? Did one receiver drag? | outages, transfers |
| 4 and 5, credit and collateral | Did anyone owe the system more than they had posted? | settlement_positions, participants |
| 19, tiered participation | How much of the week rides on a sponsor? | participants, transfers |
| 18 and 23 | Are access criteria and the rules published? | no table |
| 1 and 2 | Is the legal basis clear, and who governs the switch? | no table |
The last two rows cannot be answered from traffic at all.
The governance row has a Nigerian detail worth knowing.
Search results of NIBSS’s own About page say the company was incorporated in 1993, is owned by all licensed banks including the CBN, and has a board chaired by the CBN’s Deputy Governor responsible for financial system stability. The About page text was seen only through a search summary, and the board detail came from a truncated snippet, so check the pageas of 2026-11.
When the overseer sits on the board of the overseen, the review’s governance questions are not rhetorical: how are conflicts managed, and who decides on a participant that cannot pay? The lab’s switch is a model and has no board. The question is for the real one, and the answer is a document.
June 2026: systemic oversight in writing
A recent circular changes the picture for the people the chapter is about.
A regulatory-database copy and law-firm and press commentary (Aluko & Oyebode, Vanguard, BusinessDay and others) describe a CBN circular of 15 June 2026, reference PSS/DIR/PUB/CIR/001/004, on market structure, data localisation, ultimate beneficial ownership disclosure and systemic oversight measures. It applies to banks, microfinance banks, mobile money operators, switching and processing companies, terminal and solution providers and super agents. Commentary says market-structure compliance is due by 31 December 2026 and data localisation from 1 January 2027, that payment transaction data generated in Nigeria must be stored and managed domestically, and that an institution above 25% in one activity may not hold more than 15% in a paired one. Outlets disagree on the pair: card issuing against merchant acquiring, or the reverse. Commentary also says the systemic oversight measures could put certain providers under enhanced supervision according to their importance to the payments infrastructure; the results did not show the criteria. The CBN’s own text was not read here: check the circular, and the CBN’s list of publications for amendmentsas of 2026-11.
Two points for a reviewer, kept to what that commentary supports. First, “systemic oversight” in the title is the language of this chapter’s subject: the biggest providers may be treated as infrastructure and not as startups, on the commentary’s reading. Second, the data rule reaches switching logs, if the commentary’s reading is right. That affects the review in a plain way: the week’s tables you ran for this chapter are the evidence an overseer would want to see, and where they live is now a compliance question.
What a desk review finds in a week
Step 3 runs seven checks and two placeholders against the lab’s week. Every threshold is a lab input, not a rule. The result is five FLAGs, one INFO, one PASS and two NOT TESTABLE, and the most useful lesson is what each FLAG turns out to be.
Sessions net to zero: PASS. The 21 settlement sessions all net to zero and every settled transfer sits in exactly one session. This is arithmetic. Clearing and settlement at the switch builds the netting that makes zero the expected answer; zero is necessary and not sufficient, since a session can net to zero and still carry a participant that cannot pay.
Switch availability: FLAG. The switch was degraded for 14 of the week’s 7 × 24 × 60 = 10,080 minutes. 14 ÷ 10,080 is 0.139% down, which is 99.861% up. Against a lab target of 99.9% that is a flag. B07’s 47-minute outage is not in the sum, because it is a participant’s. An overseer wants both numbers and wants them kept apart.
Hourly success: FLAG. Seven busy hours (at least 50 transfers) fall under a 97% first-response rate. Thursday 15:00 is the switch incident at 89.8% of 205, with 20 timeouts. Wednesday 11:00 is B07’s outage at 95.9% of 195, and four of its eight failures are 91s from B07. The other five are 3 to 8 failures in 80 to 255 transfers: noise. B13’s four declines do not show here at all: Friday 12:00 holds 97.0% of 236, a little above the floor, so the collateral check below has to find them. A threshold alert needs a minimum volume and a human who can say “that one is nothing” (see running a switch). The break step shows the effect of removing the minimum.
Net debit against collateral: FLAG. Of 256 net-debit positions, one is over 100% of collateral and one is between 50% and 100% (B14 in 20260618-1, 55.5%). The worst is B13 in session 20260619-3: ₦69,572,405 on ₦40,000,000, which is 174%. It looks like a breach. It is a question, because the RTGS table shows B13 funding ₦150,000,000 at 12:19 that day, and ₦40,000,000 + ₦150,000,000 = ₦190,000,000, against which the position is 36.6%, if a top-up counts as cover, which is a rule to read. The lab’s four declines (response 51) run from 12:16 to 12:18 and all fall before the 12:19:00 top-up. The generator refuses a transfer when B13’s net debit in the open session, at the recorded time, would pass its collateral: the rule is “would the net debit pass collateral”, not a percentage of it, and after the top-up nothing is refused. A real review has to find the real rule, and whether a top-up counts.
Dependence on sponsors: INFO. 9.0% of the week’s value has a sponsored institution on one side, and the largest sponsor carries ₦8,199,082 for one institution. Nothing to flag. The check exists because a sponsor that fails takes its sponsored with it: Principle 19 (tiered participation) is the one that points the reviewer at it. The module 6 chapter on direct and sponsored access covers how a sponsor carries its institutions.
One receiver times out far more: FLAG. The network’s timeout rate is 0.43% on the six days other than Thursday; B19 sits at 3.09% and P01 at 1.44%. Nine timeouts out of 291 and three out of 208 are small counts. A reviewer asks B19’s operator what it is doing about it, and asks for more weeks before calling P01 a pattern.
Timeouts followed by a requery: FLAG. 101 transfers got a first response of 97 (the lab’s timeout code; other platforms define it differently); 11 were never requeried by the sender. The status of those eleven is unknown to the switch. In this model that is a sender’s duty; in a real review it is a rule to look up.
These are questions an overseer would put to an operator. None is a finding until someone has read the rule that applies and the evidence behind it, and a consultancy’s role is to arrive with the answers, not with a ruling.
Where oversight stops
Step 4 reruns twelve detectors, one for each kind of problem planted in the week, once on the switch’s own tables and once on the participants’ records. The scoreboard is blunt: 3 of 12 from the switch’s tables, 9 of 12 from the participants’.
The three the switch sees are the ones that cross it. B13’s four declines come back as response 51. The outage and the incident are in its own outages table, and the outage also leaves four 91s on transfers and eleven on name enquiries, though about a third of transfers reuse a saved beneficiary’s enquiry and have none, so name enquiries alone undercount it. The rest cannot be seen from the switch at all.
- A bank that reverses a customer after the switch has reported success: the switch shows a settled transfer and the sender’s log shows a reversal.
- A credit with no settlement: the switch’s record of the transfer shows a failure and the receiving bank’s log shows a credit.
- Fees and levies not charged, customers reversed twice: only the bank’s log shows what it charged.
- The same ten-digit account number at two banks: accounts live at the banks.
- A trust shortfall at a mobile money operator, and two postings at the payment service bank: those are their own ledgers.
That is the edge, and it is where an overseer hands over to someone else. Reviewing a bank’s own posting and a payment service bank’s ledger is supervision, not oversight. A telco’s USSD session log is a telco’s. A customer’s complaint about a debit that was never credited is a conduct matter, and the failed-transfer complaints chapter in this module takes it up. An overseer of the switch can ask for the participants’ records, and Responsibility E says authorities should cooperate on exactly this, but a switch’s review that does not say who holds the other nine is incomplete.
A second limit is temporal. The week is one week. A single week cannot show seasonality, a month-end peak or a December outage.
Where this goes wrong
- Treating a switch like a bank. Asking the switch for its loan book or its customers’ deposits shows the reviewer has not understood the licence. Its risk is operational and systemic.
- A flag is not a finding. Five of nine rows flagged does not mean five failures. The B13 case is the example: 174% before the top-up and 36.6% after it.
- Averaging a participant’s failure into the operator’s. 47 minutes of B07 plus 14 of the switch is 61 minutes, and 61 is nobody’s number.
- An old source. The PFMI are from 2012 and the June 2026 circular’s commentary disagrees on its wording. Date every quotation.
- Reading a threshold as a rule. The 99.9%, the 97%, the 50% and 100% of collateral in step 3 are lab inputs. No source in this chapter gives a real target. Look up the real one in the licence conditions and the guidelines, and write down which version.
- A consultancy that certifies. A consultancy prepares the operator for a review and does not take the regulator’s place. Say in the file what was checked, by whom and against which text.
None of this is legal advice, and it does not say which licence or switch any company should use.
This is a desk lab on the rails week (Monday 15 to Sunday 21 June 2026). You work in labs/finance and create three files there: oversight_map.py, oversight_review.py and oversight_limits.py. Every script opens data/rails.sqlite read-only, and no sqlite3 program is needed. Codes, cut-offs, fees, limits, timeouts and collateral in the data are illustrative, as are all the thresholds in the scripts: they are not the CBN’s, NIBSS’s or any scheme’s. The authority column in step 2 is the chapter’s reading of the dated sources above; change a row if you find the text says otherwise.
1. Generate the week and check it. The week is its own database and does not touch the Owoleaf ledger.
cd labs/finance
python3 rails.py
python3 check.py --rails-only32 participants, 22,835 accounts, 17,998 transfers, 12,158 name enquiries, 136 status queries
21 settlement sessions, 125 batch files, 193 RTGS payments, 3,412 USSD sessions, 3,453 PSB postings
planted (answers/rails_truth.csv): credited_without_settlement 4, customer_fee_not_charged 6, customer_reversed_twice 3, levy_not_charged 5, mmo_trust_shortfall 1, participant_limit 4, participant_outage 1, psb_cash_out_fee_not_posted 1, psb_cash_out_posted_twice 1, reversed_after_late_success 4, same_number_two_banks 8, switch_incident 1, telco_record_missing 12
rails week: 17,998 transfers, 21 settlement sessions, 22,835 accounts; checks 21-25 run
OK: all invariants holdThe 32 participants are the 24 banks B01 to B24, two payment service banks, three microfinance banks, two mobile money operators and Owoleaf as P01. check.py proves invariants 21 to 25: account numbers pass their check digit, every session nets to zero, exactly the successful transfers settle, status changes follow a requery, and S01’s ledger agrees with the switch except for the planted breaks.
2. Map the participants to a licence and a supervisor. Save this as oversight_map.py. The AUTHORITY table is your reading. The SOURCED column keeps you honest about what you actually checked.
"""Step 2: who licenses and who supervises each kind of participant in the lab week, and how much of
the week each kind carries. The AUTHORITY column is the chapter's reading of dated sources;
SOURCED says whether this chapter's search results showed it. Read-only: mode=ro. Money is integer kobo."""
import sqlite3
db = sqlite3.connect("file:data/rails.sqlite?mode=ro", uri=True)
naira = lambda k: f"₦{k // 100:,}"
# kind -> (what the lab calls it, licence or category, who licenses and supervises it, SOURCED)
AUTHORITY = {
"DMB": ("deposit money bank", "bank licence", "CBN; the NDIC complements it in oversight", "yes"),
"PSB": ("payment service bank", "PSB licence", "CBN (PSB supervisory framework, July 2021)", "yes"),
"MFB": ("microfinance bank", "microfinance licence", "CBN (not checked in this chapter)", "no"),
"MMO": ("mobile money operator", "mobile money operation", "CBN, and the NCC (mobile money framework)", "partly"),
"FINTECH": ("Owoleaf, a wallet", "depends on activities: see licences-in-nigeria", "CBN (the licence follows its activities)", "partly"),
}
print(f"{'kind':8} {'who':22} {'n':>2} {'access':10} {'sent (value)':>16} {'share':>6} licensed and supervised by")
total = db.execute("SELECT SUM(amount_kobo) FROM transfers").fetchone()[0]
for kind, (who, lic, auth, src) in AUTHORITY.items():
n, access = db.execute("SELECT COUNT(*), GROUP_CONCAT(DISTINCT access) FROM participants WHERE kind = ?", (kind,)).fetchone()
sent = db.execute("""SELECT SUM(t.amount_kobo) FROM transfers t JOIN participants p ON p.code = t.src
WHERE p.kind = ?""", (kind,)).fetchone()[0]
print(f"{kind:8} {who:22} {n:>2} {access:10} {naira(sent):>16} {sent / total:>6.1%} {auth} [sourced: {src}]")
# The parties that are not rows in `participants` but appear in the week's tables.
telcos = db.execute("SELECT telco, COUNT(*) FROM accounts GROUP BY 1 ORDER BY 1").fetchall()
ussd = db.execute("SELECT COUNT(*), SUM(charge_kobo) FROM ussd_sessions").fetchone()
cbn_rtgs = db.execute("SELECT COUNT(*), SUM(amount_kobo) FROM rtgs WHERE receiver = 'CBN'").fetchone()
print()
n_transfers = db.execute("SELECT COUNT(*) FROM transfers").fetchone()[0]
print(f"{'switch':8} carries {n_transfers:,} transfers: a switching licence, overseen by the CBN [sourced: yes]")
print(f"{'telcos':8} {len(telcos)} networks in `accounts.telco`, {ussd[0]:,} USSD sessions charged {naira(ussd[1])}: USSD pricing is the NCC's, with the CBN [sourced: press]")
print(f"{'CBN':8} {cbn_rtgs[0]} RTGS settlement-funding payments to it ({naira(cbn_rtgs[1])}): in this model the CBN is also a counterparty, not only the overseer")python3 oversight_map.pykind who n access sent (value) share licensed and supervised by
DMB deposit money bank 24 direct ₦331,219,060 93.7% CBN; the NDIC complements it in oversight [sourced: yes]
PSB payment service bank 2 direct ₦6,787,408 1.9% CBN (PSB supervisory framework, July 2021) [sourced: yes]
MFB microfinance bank 3 sponsored ₦8,982,160 2.5% CBN (not checked in this chapter) [sourced: no]
MMO mobile money operator 2 sponsored ₦2,892,100 0.8% CBN, and the NCC (mobile money framework) [sourced: partly]
FINTECH Owoleaf, a wallet 1 sponsored ₦3,726,928 1.1% CBN (the licence follows its activities) [sourced: partly]
switch carries 17,998 transfers: a switching licence, overseen by the CBN [sourced: yes]
telcos 4 networks in `accounts.telco`, 3,412 USSD sessions charged ₦73,178: USSD pricing is the NCC's, with the CBN [sourced: press]
CBN 16 RTGS settlement-funding payments to it (₦490,390,000): in this model the CBN is also a counterparty, not only the overseerBanks send 93.7% of the week’s value, but five kinds of participant, a telco and the CBN all have a regulator. The microfinance row says no under SOURCED: this chapter did not check it, and a reviewer should not pass it on. The switch is in the table only as a row you wrote, because it is not in participants.
3. Run the review’s checks on the week. Save this as oversight_review.py. Each check reads only the switch’s own tables. The thresholds at the top are lab inputs; change one and rerun.
"""Step 3: a desk review of the switch, run against the week. Each check reads the switch's own tables
and returns PASS, FLAG or NOT TESTABLE. Every threshold is a lab input (ILLUSTRATIVE), not a rule.
The principle column is the chapter's mapping to the CPMI-IOSCO headline standards. Read-only. Integer kobo."""
import sqlite3
db = sqlite3.connect("file:data/rails.sqlite?mode=ro", uri=True)
q = lambda sql, *p: db.execute(sql, p).fetchall()
naira = lambda k: f"₦{k // 100:,}"
MIN_PER_WEEK = 7 * 24 * 60
AVAIL_TARGET = 99.9 # % of the week the switch itself is up (lab input)
HOURLY_FLOOR = 97.0 # % first-response success in an hour with at least 50 transfers (lab input)
HOURLY_MIN_N = 50
AMBER, RED = 0.50, 1.00 # net debit as a share of the settling participant's collateral (lab input)
TIMEOUT_MULTIPLE = 3 # a receiver whose timeout rate is over 3x the network's (lab input)
results = []
def check(name, principle, status, detail):
results.append((name, principle, status, detail))
# 1. Settlement finality: does every session net to zero, and does every settled transfer sit in one?
bad = q("SELECT session FROM settlement_positions GROUP BY session HAVING SUM(net_kobo) <> 0")
orphans = q("SELECT COUNT(*) FROM transfers WHERE (final_status = '00') <> (settlement_session <> '')")[0][0]
n_sess = q("SELECT COUNT(*) FROM settlement_sessions")[0][0]
check("sessions net to zero", "P8 settlement finality", "PASS" if not bad and not orphans else "FLAG",
f"{n_sess} sessions, {len(bad)} not at zero, {orphans} transfers settled wrongly")
# 2. Availability of the switch itself (not of a participant)
mins = q("""SELECT who, CAST(ROUND((julianday(end_at) - julianday(start_at)) * 1440) AS INT) FROM outages""")
sw = sum(m for w, m in mins if w == "switch")
avail = 100 * (1 - sw / MIN_PER_WEEK)
check("switch availability", "P17 operational risk", "PASS" if avail >= AVAIL_TARGET else "FLAG",
f"{sw} min degraded of {MIN_PER_WEEK:,}: {avail:.3f}% against a lab target of {AVAIL_TARGET}%")
# 3. Hourly success rate
hrs = q("""SELECT substr(at, 1, 13), COUNT(*), 100.0 * SUM(first_response = '00') / COUNT(*) FROM transfers
GROUP BY 1 HAVING COUNT(*) >= ? ORDER BY 3""", HOURLY_MIN_N)
low = [h for h in hrs if h[2] < HOURLY_FLOOR]
check("hourly success rate", "P17 operational risk", "FLAG" if low else "PASS",
f"{len(low)} busy hours under {HOURLY_FLOOR}%: " + "; ".join(f"{h[0][5:]}h {h[2]:.1f}% of {h[1]}" for h in low))
# 4. Credit exposure: net debit against collateral, rolled into whoever settles
pos = q("""SELECT sp.session, sp.settles_via, -SUM(sp.net_kobo), p.collateral_kobo
FROM settlement_positions sp JOIN participants p ON p.code = sp.settles_via
GROUP BY 1, 2 HAVING SUM(sp.net_kobo) < 0""")
red = [r for r in pos if r[2] > RED * r[3]]
amber = [r for r in pos if AMBER * r[3] < r[2] <= RED * r[3]]
worst = max(pos, key=lambda r: r[2] / r[3])
check("net debit against collateral", "P4 credit risk, P5 collateral", "FLAG" if red else "PASS",
f"{len(pos)} net-debit positions: {len(red)} over {RED:.0%}, {len(amber)} between {AMBER:.0%} and {RED:.0%}; "
f"worst {worst[1]} in {worst[0]}: {naira(worst[2])} on {naira(worst[3])} ({worst[2] / worst[3]:.0%})")
# 5. Access and tiering: how much of the week rides on a sponsor
sp = q("""SELECT p.sponsor, COUNT(DISTINCT p.code), SUM(t.amount_kobo)
FROM transfers t JOIN participants p ON p.code IN (t.src, t.dest) AND p.access = 'sponsored'
GROUP BY 1 ORDER BY 3 DESC""")
tot = q("SELECT SUM(amount_kobo) FROM transfers")[0][0]
touched = q("""SELECT SUM(t.amount_kobo) FROM transfers t WHERE t.src IN (SELECT code FROM participants WHERE access='sponsored')
OR t.dest IN (SELECT code FROM participants WHERE access='sponsored')""")[0][0]
check("dependence on sponsors", "P19 tiered participation", "INFO",
f"{touched / tot:.1%} of value has a sponsored party; largest sponsor {sp[0][0]} carries {naira(sp[0][2])} for {sp[0][1]} institution(s)")
# 6. Tail behaviour of one receiver (leave out the switch incident day)
rows = q("""SELECT dest, COUNT(*), SUM(first_response = '97') FROM transfers
WHERE substr(at, 1, 10) <> '2026-06-18' GROUP BY 1 HAVING COUNT(*) >= 100""")
net_rate = sum(r[2] for r in rows) / sum(r[1] for r in rows)
slow = [(d, 100.0 * t / n, t, n) for d, n, t in rows if t / n > TIMEOUT_MULTIPLE * net_rate]
check("one receiver times out far more", "P17 operational risk", "FLAG" if slow else "PASS",
f"network timeout rate {100 * net_rate:.2f}%; over {TIMEOUT_MULTIPLE}x: " + (", ".join(f"{d} {t} of {n} ({r:.2f}%)" for d, r, t, n in slow) or "none"))
# 7. Status resolution: every first-response 97 should end with a requery answer
unres = q("""SELECT COUNT(*) FROM transfers t WHERE first_response = '97'
AND NOT EXISTS (SELECT 1 FROM tsq WHERE tsq.session_id = t.session_id)""")[0][0]
n97 = q("SELECT COUNT(*) FROM transfers WHERE first_response = '97'")[0][0]
check("timeouts followed by a requery", "P17 operational risk", "FLAG" if unres else "PASS",
f"{n97} timeouts; {unres} never requeried (the sender never asked)")
# 8-9. What this week's tables cannot show
check("legal basis and governance", "P1, P2", "NOT TESTABLE", "needs the licence, the board papers and the rulebook: no table holds them")
check("disclosure of rules and fees", "P23 disclosure", "NOT TESTABLE", "needs the published rules: switch_fee_kobo is a number, not a rule")
print(f"{'check':36} {'principle':30} {'result':13} detail")
for name, pr, st, d in results:
print(f"{name:36} {pr:30} {st:13} {d}")
print()
print(f"{sum(r[2] == 'PASS' for r in results)} PASS, {sum(r[2] == 'FLAG' for r in results)} FLAG, "
f"{sum(r[2] == 'INFO' for r in results)} INFO, {sum(r[2] == 'NOT TESTABLE' for r in results)} NOT TESTABLE")python3 oversight_review.pycheck principle result detail
sessions net to zero P8 settlement finality PASS 21 sessions, 0 not at zero, 0 transfers settled wrongly
switch availability P17 operational risk FLAG 14 min degraded of 10,080: 99.861% against a lab target of 99.9%
hourly success rate P17 operational risk FLAG 7 busy hours under 97.0%: 06-18T15h 89.8% of 205; 06-15T20h 95.0% of 80; 06-17T11h 95.9% of 195; 06-20T11h 96.0% of 100; 06-21T15h 96.6% of 87; 06-17T08h 96.9% of 255; 06-20T10h 96.9% of 97
net debit against collateral P4 credit risk, P5 collateral FLAG 256 net-debit positions: 1 over 100%, 1 between 50% and 100%; worst B13 in 20260619-3: ₦69,572,405 on ₦40,000,000 (174%)
dependence on sponsors P19 tiered participation INFO 9.0% of value has a sponsored party; largest sponsor B14 carries ₦8,199,082 for 1 institution(s)
one receiver times out far more P17 operational risk FLAG network timeout rate 0.43%; over 3x: B19 9 of 291 (3.09%), P01 3 of 208 (1.44%)
timeouts followed by a requery P17 operational risk FLAG 101 timeouts; 11 never requeried (the sender never asked)
legal basis and governance P1, P2 NOT TESTABLE needs the licence, the board papers and the rulebook: no table holds them
disclosure of rules and fees P23 disclosure NOT TESTABLE needs the published rules: switch_fee_kobo is a number, not a rule
1 PASS, 5 FLAG, 1 INFO, 2 NOT TESTABLEFive FLAGs and one PASS. The arithmetic you can redo: 14 ÷ 10,080 = 0.139% down, so 99.861% up; 69,572,405 ÷ 40,000,000 = 174%, but 69,572,405 ÷ (40,000,000 + 150,000,000) = 36.6%. Of the seven low hours, two are real events (Wednesday 11:00 and Thursday 15:00). The two NOT TESTABLE rows are the ones no table can answer.
4. Find where it stops. This is the last step of the lab and the only one that opens the answer key (answers/rails_truth.csv); steps 1 to 3 never read it. Save this as oversight_limits.py. It counts, for each kind of planted problem, what the switch’s tables find and what the participants’ records find. A dash means no query on that side’s tables identifies that kind.
"""Step 4: where a review of the switch stops. For each kind of planted problem in the week, find it
twice: once using only the tables a switch holds, once using the participants' own records, then
score both against the answer key. Opening answers/rails_truth.csv is allowed now. Read-only."""
import csv
import sqlite3
db = sqlite3.connect("file:data/rails.sqlite?mode=ro", uri=True)
q = lambda sql, *p: db.execute(sql, p).fetchall()
# kind -> (switch-side finder, participant-side finder); None means that side's tables cannot show it
FIND = {
"participant_limit": (
"SELECT COUNT(*) FROM transfers WHERE first_response = '51'", None),
"participant_outage": (
"SELECT COUNT(*) FROM outages WHERE who <> 'switch'", None),
"switch_incident": (
"SELECT COUNT(*) FROM outages WHERE who = 'switch'", None),
"reversed_after_late_success": (
None, """SELECT COUNT(*) FROM bank_log b JOIN transfers t ON t.session_id = b.session_id
WHERE b.direction = 'out' AND b.status = 'reversed' AND t.final_status = '00'"""),
"credited_without_settlement": (
None, """SELECT COUNT(*) FROM bank_log b JOIN transfers t ON t.session_id = b.session_id
WHERE b.direction = 'in' AND t.final_status <> '00'"""),
"customer_reversed_twice": (
None, "SELECT COUNT(*) FROM (SELECT session_id FROM bank_log WHERE direction = 'out' AND status = 'reversed' GROUP BY 1 HAVING COUNT(*) > 1)"),
"customer_fee_not_charged": (
None, """SELECT COUNT(*) FROM transfers t JOIN bank_log b ON b.session_id = t.session_id AND b.direction = 'out'
WHERE t.final_status = '00' AND b.customer_fee_kobo = 0 AND t.src <> 'S01'"""),
"levy_not_charged": (
None, """SELECT COUNT(*) FROM transfers t JOIN bank_log b ON b.session_id = t.session_id AND b.direction = 'in'
WHERE t.amount_kobo >= 1000000 AND b.levy_kobo = 0"""),
"same_number_two_banks": (
None, "SELECT COUNT(*) FROM (SELECT account_no FROM accounts GROUP BY 1 HAVING COUNT(DISTINCT institution) > 1)"),
"psb_cash_out_posted_twice": (
None, """SELECT COALESCE(SUM(n - 1), 0) FROM (SELECT COUNT(*) n FROM psb_ledger
GROUP BY at, kind, wallet, counter_wallet, amount_kobo, ref HAVING COUNT(*) > 1)"""),
"psb_cash_out_fee_not_posted": (
None, "SELECT COUNT(*) FROM psb_ledger WHERE kind = 'cash_out' AND fee_kobo = 0"),
"mmo_trust_shortfall": (
None, "SELECT COUNT(*) FROM mmo_daily WHERE trust_balance_kobo < emoney_outstanding_kobo"),
}
key = {}
for r in csv.DictReader(open("data/answers/rails_truth.csv")):
key[r["kind"]] = key.get(r["kind"], 0) + 1
print(f"{'planted kind':30} {'in key':>6} {'switch tables':>14} {'participants':>13}")
sw_found = pt_found = 0
for kind, (sw, pt) in FIND.items():
a = q(sw)[0][0] if sw else "-"
b = q(pt)[0][0] if pt else "-"
sw_found += a == key[kind] if sw else 0
pt_found += b == key[kind] if pt else 0
print(f"{kind:30} {key[kind]:>6} {a:>14} {b:>13}")
print(f"\nfound in full from the switch's tables: {sw_found} of {len(FIND)}; from the participants' own records: {pt_found} of {len(FIND)}")python3 oversight_limits.pyplanted kind in key switch tables participants
participant_limit 4 4 -
participant_outage 1 1 -
switch_incident 1 1 -
reversed_after_late_success 4 - 4
credited_without_settlement 4 - 4
customer_reversed_twice 3 - 3
customer_fee_not_charged 6 - 6
levy_not_charged 5 - 5
same_number_two_banks 8 - 8
psb_cash_out_posted_twice 1 - 1
psb_cash_out_fee_not_posted 1 - 1
mmo_trust_shortfall 1 - 1
found in full from the switch's tables: 3 of 12; from the participants' own records: 9 of 12Three kinds are found in full from the switch’s tables, nine from the participants’ records. For the account number, the same full ten-digit number is held at two banks in all 8 cases, each time with B01 and another bank. That is possible only because the check digit depends on the bank’s code, and B03 and B04 have codes that give B01’s check digit. Account numbers are the subject of account numbers and identifiers in module 6.
Remove the volume floor. In oversight_review.py change HOURLY_MIN_N = 50 to HOURLY_MIN_N = 20 and run it again. What to look for: the hourly row now flags 12 busy hours under 97% where it flagged 7 before, and the two real events are still the same two. The alert has nearly doubled its noise without finding anything new. Then change AVAIL_TARGET to 99.8 and watch the availability row become a PASS. The switch’s availability did not change: only the lab input did. Write down in one sentence where you would look for the real target and which version of it you would cite.
Template
# Oversight self-assessment: <switch or participant>, <period>
Prepared by <author> · Reviewed by <reviewer> · Signed by <role> · Date <date>
Scope: <what is covered and what is not>. Evidence used: <tables or records>. Thresholds are <lab inputs or cited rules, with source and date>.
## Questions and evidence
| Question | Evidence (script, table, line) | Answer: pass / flag / question / not testable |
|---|---|---|
## Findings, most severe first
1. <finding>: <figure>. Why it ranks here: <one sentence>.
Could a rule explain it? <rule to read, or none>. Owner: <role>. Action and date: <action, date>.
## What this review cannot see
<Evidence held elsewhere, who holds it, and when it will be asked for.>
## How this note could be wrong
<One way, and what would show it.>
## Decision needed
<What the signer decides, and by when.> WORKED EXAMPLE
Omobolanle drafts this note for the switch operator’s chief operating officer, who signs the reply to the reviewer; Okiemute reviews it first. It is dated Monday 22 June 2026 and covers 15 to 21 June, from the switch’s own tables, with lab inputs as thresholds.
| Question | Evidence | Answer |
|---|---|---|
| Do sessions settle finally? | 21 sessions, 0 not at zero | Pass |
| Was the switch up? | 14 min degraded of 10,080: 99.861% against a lab target of 99.9% | Flag |
| Did anyone owe more than they posted? | B13 in 20260619-3: ₦69,572,405 on ₦40,000,000 (174%) | Question |
| Did one receiver drag? | B19 9 of 291 (3.09%); network 0.43% | Flag |
| Are the rules published? | No table | Not testable |
Findings, most severe first:
- B13 at 174%. It ranks first because it looks like a breach. Four declines ran from 12:16 to 12:18, then a ₦150,000,000 RTGS top-up posted at 12:19; against ₦190,000,000 the position is 36.6%. Whether a top-up counts as cover is a rule to read. Owner: Okiemute. Action: find the rule by Wednesday 24 June.
- Nine of 12 planted kinds of problem sit only in participants’ records. Owner: the operator’s head of participant relations. Action: send the request for records by Friday 26 June.
- The 14-minute Thursday degradation. B07’s 47 minutes are reported apart. Owner: the operator’s engineering lead. Action: incident timeline by Wednesday 24 June.
- Eleven of 101 timeouts never requeried. Owner: the head of participant relations. Action: ask the senders by Friday 26 June.
Not testable: legal basis, governance and disclosure need documents. This note could be wrong because it holds one week and our thresholds: the written rule for B13, or a second week, would show it.
Decision needed: the chief operating officer signs the reply by Friday 26 June, or asks for a second week first.
Now you
Owoleaf is at 200 people, and four weeks have passed since the rails week. Owoleaf is P01 in the lab, a sponsored participant whose sponsor is B05, Northmere, its partner bank. B05 has asked each sponsored institution for a self-assessment, so that it can answer a reviewer’s questions about the traffic it sponsors. You are Owoleaf’s head of payments operations.
Use the lab’s own lines. Step 2 shows Owoleaf sending ₦3,726,928, 1.1% of the week’s value, and step 3 shows 3 of the 208 transfers sent to P01 timing out (1.44%) against a network rate of 0.43%. Step 3 also says 9.0% of value has a sponsored party. Step 4 shows which problems only a participant’s own records can reveal. B05’s own requirements are not in the lab: write them as questions to ask, not as rules. Owoleaf’s own records are not printed either, so mark those rows not run.
Your reader is Owoleaf’s chief operating officer, who signs and sends the note to B05. It supports one decision: send it now with the gaps named, or wait for a second week of figures.
Self-check
Okiemute and Omobolanle have five working days before the operator answers the central bank's oversight request. The consultancy has the week's tables and a client checklist of forty documents. The step 3 results show five flags, one of them B13's 174% that the top-up explains, and two rows that no table can answer. The client's chief operating officer wants one clear priority. None of the options is advice on how to treat a real regulator.
- DOC Principles for financial market infrastructures (CPSS-IOSCO, April 2012) CPSS and IOSCO (BIS), 2012
The standard an overseer measures a payment switch against, with the five responsibilities of the authorities. Read the introduction, the principles for credit risk, settlement finality, operational risk, access and disclosure, and Responsibilities A and E.
- DOC Principles for financial market infrastructures: disclosure framework and assessment methodology CPSS and IOSCO (BIS), 2012
How an assessment is done and what a system should publish. Read it to see what a real review asks for beyond numbers: it is the document behind the NOT TESTABLE rows.
- DOC Responsibility E: a compilation of authorities' experience with cooperation CPMI and IOSCO (BIS), 2019
Real cases of authorities sharing oversight of one system. Read it where the chapter says an overseer hands over to another authority, and note how the cases handle information sharing.
- DOC Payments System Oversight (CBN) Central Bank of Nigeria
The CBN's own statement of what oversight covers and which providers it names. Read the list of providers and check whether the page, or the unit's name, has changed since this chapter was written.
- DOC Payments System Vision 2025 (CBN) Central Bank of Nigeria, 2022
The strategy behind the oversight function, its launch and its recommendations. Read the recommendations on oversight and on the PFMI, and check whether a successor has been published.
- DOC Approved New Licence Categorization Requirements, Consolidated 2021 Central Bank of Nigeria, 2021
The switching and processing licence and the other categories, with their conditions. Read the switching section for the conditions an overseer can point to, and compare with the licences chapter.
- DOC Supervisory Framework for PSBs (CBN, July 2021) Central Bank of Nigeria, 2021
What supervision of a payment service bank looks like, as opposed to oversight of a switch. Read the sections on lending, security of customers' funds and reporting.
- DOC CBN circular of 15 June 2026 on market structure, data localisation and systemic oversight (database copy) CBN (copy on a regulatory database), 2026
A regulatory database's copy of the circular this chapter cites through commentary. Read the oversight and data sections and compare them with the commentary. It is a third-party copy, so check it against the CBN's own text.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.