The receiving bank's side: crediting, refusing and frozen accounts
A receiving bank is handed an instruction by a switch and has seconds to answer. Credit it, refuse it, or stay silent and strand a stranger's customer. Know which accounts may take money, what the levy does to each credit, and how a miss shows up
In the lab's week, receiving banks posted 17,802 inward credits. The CBN's instant-payment regulation, as search summaries describe it, asks a receiving bank to credit within 60 seconds. About how many of the 17,802 credits took longer than 60 seconds from the transfer?
A receiving bank does not ask for a transfer. It is told about one. The sender’s bank has already debited its customer, the switch has carried the instruction, and the receiving bank is asked to put money in an account. The earlier chapter on transfers and virtual accounts showed this from a business’s side. Here you stand where the bank stands, with two other banks and a regulator looking at the answer. Other chapters in this module cover the sending bank, the transfer that times out, and the settlement between banks. This one stays with the receiver and with the levy a receiving bank has to collect.
The lab is rails.py: one invented week on an instant-payment network, seen from the switch, with 32 participants. B05 is Northmere. Every code, cut-off, fee, limit and timing in it is illustrative, and none of it is NIBSS’s, the CBN’s or any bank’s. Where a real rule matters it sits in a dated note with its source, and where this chapter could not confirm a real figure it says what to check.
What a receiving bank is asked, and what it can answer
Follow one transfer. The sender’s customer types an account number and a bank. The sender’s bank sends a name enquiry through the switch, and your bank answers with the account’s name if the account exists (the rails chapter ran one). The customer confirms. The sender’s bank debits its customer and sends the transfer. Your bank now holds an instruction with a session id, an account number and an amount.
There are three answers, and each hands a different problem to someone else.
A credit (00) is the good case. The customer’s balance rises and the bank is now owed that amount by the switch, to be settled later in a net position with the other banks. A refusal hands the money back: the receiving bank says no, the switch tells the sender, and the sender reverses its customer. The lab’s code for a refusal on a frozen account is 57, and for a closed account 07; the sender’s log shows the reversal 40 seconds after the debit. All three numbers are the lab’s. Silence is the worst. The switch times out, the sender is told “I do not know”, and the sender’s customer sees a debit with nothing behind it. A receiving bank that is slow, or credits after the switch has given up, makes silence.
Two properties follow for the code at the receiving end. First, it must answer inside the time the rail allows. Second, it must credit once per session id however many times the instruction arrives. The chapter on idempotency covers the second. In the lab’s bank_log no session id appears twice among the inward credits, which is the property you want, and you can check it in step 2.
The clock: seconds, not minutes
The regulator has views on how fast a receiving bank must be.
Search summaries of the CBN’s Regulation on Instant (Inter-Bank) Electronic Funds Transfer Services in Nigeria (2018) say that an instant transfer is one delivered from sending to receiving entity within 60 seconds, that a receiving entity must apply the proceeds to the customer’s account within 60 seconds, and that where this is impracticable for security, system or other reasons it must notify the sending entity, the beneficiary or the service provider. They say instant transfers settle as the participants agree but no later than T+1, the next business day. A law-firm note reports a ₦10,000 sanction tied to failed instant transfers that are not reversed, which press reports give as ₦10,000 per item for a failed transfer not reversed within 24 hours of a complaint. Summaries also say the sending entity must refund a failed transaction returned by the receiving entity within 10 minutes, and one it was unable to process within one hour after the next settlement closure; they do not reconcile the 10-minute and 24-hour clocks. A wrongly credited transfer is to be reversed within one business day where funds are available. On whether the receiving bank needs the customer’s authorisation for that reversal the sources disagree: one summary says the receiving bank reverses only after the customer’s authorisation, and a law-firm commentary says no authorisation is needed where the credit came from a bank error. Summaries also describe a sending entity that requests a reversal as giving the receiving entity an indemnityas of 2026-11. All of that rests on summaries and a law-firm note: the CBN’s PDF is on its site, and this chapter did not read its text. Sources give the circular’s date as 13 September 2018 and most give an effective date of 2 October 2018, while one entry gives 20 October, and no result said whether the regulation has been amended. Read the sections on receiving and sending entities before you put any figure in a design.
Now look at the lab. Step 2 asks B05’s own log how long its credits took. It credited 965 transfers, the median was 1.00 seconds, and two took longer than 60 seconds, the slowest 107.2. Those are transfers where the switch had already answered “timeout” to the sender and the bank credited a minute or more after. Across the network 42 of 17,802 credits took longer than 60 seconds. Counted against the 60-second rule as the summaries state it, those 42 would need a notice to the parties, and nobody in the lab sends one. The rate is tiny and the damage is not: each is a customer of another bank holding a debit and no news.
When a bank refuses a credit
A bank may refuse a credit for reasons that belong to the account, not to the sender. Four are worth separating, because the lab treats them differently.
| Account state | What it means | What the lab does |
|---|---|---|
| Closed or no such account | Nothing to credit | A name enquiry answers 07 and no transfer is sent. A sender that skipped a fresh enquiry (a saved beneficiary) sends anyway, and the credit is refused with 07 |
| Frozen | A restriction on the account, usually from a legal or compliance order | Enquiry answers 00 if asked; the credit is refused with 57; sender reverses |
| Post no debit (PND) | A restriction that blocks money going out | Credited (167 in the week) |
| Dormant | No customer activity for a long time, so the bank applies extra checks | Credited (549 in the week) |
Post no debit means exactly that: the account may not be debited. Search summaries describe a post-no-debit restriction as blocking debits such as withdrawals and transfers while credits can still arrive. Press reports of a CBN circular of 1 December 2023 on accounts without a bank verification number (BVN) or national identification number (NIN) quote it as ordering “Post No Debit or Credit” on them, which also blocks inflows; reports disagree on the start date (March or April 2024), and this chapter did not read the circular or check whether it was later changedas of 2026-11. So “may we credit a PND account?” has no single answer: it depends on which restriction was applied and by whom. The results gave no list of what a frozen or dormant account may receive and no NIBSS code list, and this chapter did not confirm what a real switch answers for either. When you build against a real switch, get the response codes from your sponsor bank or the scheme, and the account-state rules from your own compliance team.
Step 3 shows how the lab’s refusals look from the other side. There were 86 refusals with 57 in the week, worth ₦1,068,375.00, and 43 with 07, worth ₦745,664.00, spread across the banks (B22 has 8 of the 57s, the most). Every 57 went to a frozen account: 60 followed a name enquiry that answered 00, and 26 went to a saved beneficiary and had no fresh enquiry. Every 07 went to a closed account, and none of them had an enquiry either: the sender reused an old one, and the account had closed since. Northmere’s own four 57s came to ₦48,912.00. The sender’s customer in each case was debited, then reversed 40 seconds later. Notice what that says about design. The enquiry confirms the account exists and whose it is, and only on the day it was asked. It does not say “this account cannot take money”, and a reused enquiry cannot say that the account has changed, so the sender’s customer pays for the bank’s restriction with a minute of uncertainty. Whether the enquiry should reveal more is a question for the scheme and for privacy rules: a frozen status is something a bank may not want to show to a stranger. The 07 case has the opposite lesson for the sender: a saved beneficiary’s old enquiry is not proof that the account is still open.
The names and numbers of those refused credits are synthetic, and one more caveat belongs here. A refusal and a late credit look the same to the sender’s customer for the first seconds. The difference is what comes next: a refusal ends in a reversal, and a late credit ends in a success that the sender must not reverse. That is the next chapter’s subject, debited but not credited.
Tier rules: when size alone is a reason to refuse
An account’s KYC tier, its level of identity verification, limits what it may hold and receive. The wallets chapter gave the tier limits as design inputs and warned that sources disagree. They matter here for a different reason. A credit can be refused because of the receiving account’s tier, which is a decision the receiving bank makes at the moment of credit.
A regulatory database lists CBN circular BPS/DIR/GEN/CIR/04/007, published on 11 September 2017 and addressed to mobile money operators, and search summaries give wallet limits of ₦50,000 a day and ₦300,000 cumulative balance at Level 1 and ₦200,000 and ₦500,000 at Level 2. For Level 3 the sources disagree: the database summary says no daily or balance limit, and two press reports say ₦5,000,000 a day with the balance unlimited. The CBN’s Customer Due Diligence Regulations 2023 have a provision headed “Tiered know-your-customer” (Regulation 16, per the table of contents in search results), and secondary sources disagree on the tier limits they or later circulars setas of 2026-11. Those are wallet limits from one circular. Limits for bank accounts may differ, and this chapter did not find the current table for them. The caps used here are an exercise input, as in the wallets chapter, not what applies to any real account.
The lab has no balances for bank accounts. It has each account’s tier and each credit’s amount. So step 4 tests the one thing that needs no balance: a single credit larger than the whole cap cannot fit, whatever the balance is. It writes the decision as a function, so the rule is visible and testable:
- closed: refuse,
- frozen: refuse,
- a credit above the tier’s cap on its own: refuse,
- otherwise: credit.
Run over the week, the rule agrees with all 129 refusals, the 86 with 57 and the 43 with 07. It also says it would have refused 28 credits the lab let through: 1 into a tier 1 account (₦1,945,535.00, at B03) and 27 into tier 2 accounts (the largest ₦2,460,259.00). None is Northmere’s. Do not read that as banks breaking rules. The generator caps an amount by the sender’s tier and never by the recipient’s, so these are the lab’s own gaps, and they show what a rule would have to decide. The 59 credits the rule says it would make that the lab did not are timeouts that never credited, which are the next chapter’s.
Refusing for size has a cost the sender’s customer pays. There are other designs. The bank could credit and hold the excess in a suspense account until the customer upgrades the tier, as a business might hold a sum it cannot yet release. It could credit and let the balance exceed the cap and flag it. Each has a risk, and the right one is a compliance decision, with the regulator’s text in hand, which the Decide below puts to you.
The levy: a charge the receiver collects for someone else
Gimbiya’s other problem is a charge on each credit. The first fact is its history.
Search summaries say the Finance Act 2020 created the Electronic Money Transfer Levy (EMTL) through a new section 89A of the Stamp Duties Act: a single, one-off charge of ₦50 on electronic receipts or transfers of ₦10,000 or more, with transfers between accounts of the same owner within the same bank outside the levy. Sources disagree on how much of section 89 of the Stamp Duties Act survivedas of 2026-11. A KPMG summary of the Electronic Money Transfer Levy Regulations 2022 says the levy falls on the recipient, the Federal Inland Revenue Service (FIRS) administers it, the receiving bank collects it and remits it by the next working day, and a bank that fails to collect it owes 150% of the amount not collected, while one that collects and fails to remit owes the levy plus a 50% penalty and interestas of 2026-11. That is a law firm’s summary of the regulations, and this chapter could not fetch KPMG’s page or read the regulations themselves.
The second fact is that the rule has reportedly moved.
A bank’s own help article and press reports of other banks’ notices say that from 1 January 2026, under the Nigeria Tax Act 2025, the ₦50 Electronic Money Transfer Levy is replaced by a ₦50 stamp duty on electronic transfers of ₦10,000 and above, borne by the sender and not by the recipient, with salary payments and intra-bank self-transfers reported as exempt. This chapter did not find the Act’s section, a statement from the Federal Inland Revenue Service or the Nigeria Revenue Service, or any official notice, and reports differ on which agency is behind it. One headline gives ₦75 where its body and every other source say ₦50. This is bank notices and press, not the ruleas of 2026-11. The Act’s text is published in several copies, among them Premium Times’s page of certified copies, and there was a public dispute in January 2026 over whether the gazetted copies matched what the National Assembly passed. Reading the section, and whether the receiving bank still has any collection duty, is a job for your tax adviser. The companion chapter on what a transfer earns a bank treats the same change on the same footing.
The lab’s week is June 2026, after the reported change, and its generator puts the levy on the receiving side: ₦50 (5,000 kobo) taken from any inward credit of ₦10,000 (1,000,000 kobo) or more. That is the shape of the 2022 regulations. Which side collects now is exactly what you must check before you build, and it is not a reason to skip the exercise. Whichever side charges, the work is the same: a charge that is a function of the amount, an exemption list, an amount that belongs to the government and not the bank, and a control that finds the credits where it was not applied. The break at the end of the lab moves the charge to the sender’s side and counts what changes.
The levy is not the bank’s income. It collects ₦50 and owes ₦50. In the books that is a liability, levy payable, opened when the credit is posted and cleared when the bank remits. Step 6 posts B05’s week:
- Debit NIP settlement receivable by each credit: the switch will owe it at settlement.
- Credit customer deposits by each credit.
- Debit customer deposits by each levy, taking it out of the customer’s money.
- Credit levy payable by each levy.
All amounts are integer kobo. B05 credited ₦13,786,984.34 across 965 transfers, and 411 of them were large enough for the levy, so it owes ₦20,550.00 (411 × ₦50). Customers hold ₦13,766,434.34 after it, and debits equal credits at 1,380,753,434 kobo.
Step 5 recomputes the levy for all 17,802 inward credits. 7,581 are at or above ₦10,000. Five carry no levy: two at B01 and one each at B14, B16 and B23, ₦250.00 in all. The arithmetic of the penalty in the KPMG summary is 5 × 5,000 = 25,000 kobo of levy not collected, times 150% = 37,500 kobo, or ₦375.00. That is an illustration of the summary’s rule, not a calculation of what any bank would owe. Only after the script has found the five does it open the answer key, and the key lists the same five. A bank finds such a miss the way the script did: by recomputing the expected charge from the log rather than trusting the posting job.
Matching what you credited with what the switch will pay
A bank that credits has a receivable. Whether the switch agrees is a check the bank can run itself. Step 6 compares each bank’s booked credits with the switch’s settlement_positions. B05 agrees to the kobo. B19 does not: it booked ₦11,227,917.43 of credits and the switch counts ₦11,221,581.43, a gap of 633,600 kobo, or ₦6,336.00. That is one transfer. The switch answered the sender with a timeout, nobody asked for its status, the switch never counted it as final, and B19 credited its customer anyway. B19 holds a receivable that nobody will pay. This is one of the four planted “credited without settlement” breaks (the others are at B07, twice, and B23), and the next chapter explains how it arises.
What the data cannot tell you
The lab cannot show the real response codes, the real list of account states a real bank refuses, the real timeouts, or whether a real regulator accepts a late credit. It cannot show a balance, so the tier test above uses a credit’s size alone. It cannot show the real levy’s current side or any exemption list beyond the summaries. And it cannot show a refusal from the receiver’s point of view, because the receiving bank’s log in the lab has no row for a refusal: step 3 had to reach it through transfers. A real bank’s log would have one, and the first thing to add to your own design is a row for every refusal with its reason.
You work in labs/finance. Everything here is Python’s own sqlite3 module, run from that folder against data/rails.sqlite. B05 is Northmere. Amounts are integer kobo in the data and are shown as naira only when printed. Every rule in the scripts (the levy, the tier caps, the codes) is the lab’s or an exercise input, never the CBN’s or NIBSS’s.
1. Generate the week and check it. It takes about a second. Seed 42 gives the same week every time.
cd labs/finance
python3 rails.py
python3 check.py --rails-onlyrails.py prints:
32 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 12and check.py prints:
rails week: 17,998 transfers, 21 settlement sessions, 22,835 accounts; checks 21-25 run
OK: all invariants hold2. See what reached B05 and how fast it credited. The script groups the transfers addressed to B05 by the switch’s first answer and the final status, then measures the seconds from the transfer to B05’s own credit row.
python3 - <<'PY'
import sqlite3
from datetime import datetime
BANK = "B05"
db = sqlite3.connect("data/rails.sqlite")
def naira(kobo):
return f"₦{kobo // 100:,}.{kobo % 100:02d}"
# 1. What reached the bank, by the switch's first answer and the final status
print(f"1. transfers addressed to {BANK}, by first answer and final status")
for first, final, n in db.execute("""
SELECT first_response, final_status, COUNT(*) FROM transfers
WHERE dest = ? GROUP BY 1, 2 ORDER BY 3 DESC""", (BANK,)):
print(f" first {first} final {final} {n:>5,}")
# 2. What the bank's own log says it credited, and how fast
rows = db.execute("""
SELECT b.session_id, b.amount_kobo, b.levy_kobo, b.posted_at, t.at
FROM bank_log b JOIN transfers t ON t.session_id = b.session_id
WHERE b.institution = ? AND b.direction = 'in'""", (BANK,)).fetchall()
secs = sorted((datetime.fromisoformat(p) - datetime.fromisoformat(a)).total_seconds()
for _, _, _, p, a in rows)
print(f"2. {BANK} credited {len(rows):,} transfers worth {naira(sum(r[1] for r in rows))}")
print(f" seconds from the transfer to the credit: median {secs[len(secs) // 2]:.2f}, "
f"slowest {secs[-1]:.1f}, over 60 s: {sum(s > 60 for s in secs)}")
# 3. The same for the whole network, so one bank is not read alone
allsecs = sorted((datetime.fromisoformat(p) - datetime.fromisoformat(a)).total_seconds()
for p, a in db.execute("""SELECT b.posted_at, t.at FROM bank_log b
JOIN transfers t ON t.session_id = b.session_id WHERE b.direction = 'in'"""))
print(f"3. network: {len(allsecs):,} credits, median {allsecs[len(allsecs) // 2]:.2f} s, "
f"slowest {allsecs[-1]:.1f} s, over 60 s: {sum(s > 60 for s in allsecs)}")
PY1. transfers addressed to B05, by first answer and final status
first 00 final 00 963
first 57 final 57 4
first 97 final 00 2
first 97 final 97 1
2. B05 credited 965 transfers worth ₦13,786,984.34
seconds from the transfer to the credit: median 1.00, slowest 107.2, over 60 s: 2
3. network: 17,802 credits, median 0.99 s, slowest 117.8 s, over 60 s: 42B05 credited 965 of the 970 transfers addressed to it, but look at the groups: 963 credited at once, two credited after a timeout (first answer 97, the lab’s timeout code, final 00), and one timeout never credited. Four were refused with 57. The median is about a second and two credits took longer than 60 seconds, the slowest 107.2, past the 60-second duty in the AsOf above. Run SELECT COUNT(*) FROM (SELECT session_id FROM bank_log WHERE direction = 'in' GROUP BY 1 HAVING COUNT(*) > 1) through Python’s sqlite3 and you get 0: no session id is credited twice.
3. Read the refusals from the sender’s side. B05’s log has no row for a refusal, so the script reaches them through transfers and the sender’s log.
python3 - <<'PY'
import sqlite3
from datetime import datetime
db = sqlite3.connect("data/rails.sqlite")
def naira(kobo):
return f"₦{kobo // 100:,}.{kobo % 100:02d}"
print("1. refusals (57 frozen, 07 closed), by receiving institution (top five)")
for dest, n57, n07, value in db.execute("""
SELECT dest, SUM(first_response = '57'), SUM(first_response = '07'), SUM(amount_kobo)
FROM transfers WHERE first_response IN ('57', '07')
GROUP BY dest ORDER BY COUNT(*) DESC, 1 LIMIT 5"""):
print(f" {dest} 57: {n57:>2} 07: {n07:>2} {naira(value):>14}")
for code in ("57", "07"):
total, value = db.execute("SELECT COUNT(*), SUM(amount_kobo) FROM transfers WHERE first_response = ?", (code,)).fetchone()
print(f" all institutions, {code}: {total} refusals worth {naira(value)}")
print("2. what the receiving account looked like, and what the name enquiry said")
for code, status, ne, n in db.execute("""
SELECT t.first_response, a.status, COALESCE(ne.response, 'none'), COUNT(*)
FROM transfers t
JOIN accounts a ON a.institution = t.dest AND a.account_no = t.credit_account
LEFT JOIN name_enquiries ne ON ne.id = t.name_enquiry_id
WHERE t.first_response IN ('57', '07') GROUP BY 1, 2, 3 ORDER BY 1, 4 DESC"""):
print(f" {code}: account {status}, name enquiry {ne}: {n}")
print("3. B05's refusals: how long the sender's customer waited for the money back")
for sid, amount, posted, reversed_at in db.execute("""
SELECT t.session_id, t.amount_kobo, b.posted_at, b.reversed_at
FROM transfers t JOIN bank_log b ON b.session_id = t.session_id AND b.direction = 'out'
WHERE t.dest = 'B05' AND t.first_response IN ('57', '07') ORDER BY t.at"""):
wait = (datetime.fromisoformat(reversed_at) - datetime.fromisoformat(posted)).total_seconds()
print(f" ...{sid[-6:]} {naira(amount):>14} reversed after {wait:.0f} s")
print("4. credits the lab did make into accounts a bank might also want to look at")
for status, n, value in db.execute("""
SELECT a.status, COUNT(*), SUM(t.amount_kobo)
FROM transfers t JOIN accounts a ON a.institution = t.dest AND a.account_no = t.credit_account
WHERE t.final_status = '00' AND a.status <> 'active' GROUP BY 1"""):
print(f" credited into a {status} account: {n:>4} {naira(value):>16}")
PY1. refusals (57 frozen, 07 closed), by receiving institution (top five)
B12 57: 4 07: 7 ₦165,487.00
B01 57: 7 07: 3 ₦145,631.00
B22 57: 8 07: 2 ₦126,303.00
B16 57: 7 07: 2 ₦115,509.00
B06 57: 5 07: 3 ₦79,970.00
all institutions, 57: 86 refusals worth ₦1,068,375.00
all institutions, 07: 43 refusals worth ₦745,664.00
2. what the receiving account looked like, and what the name enquiry said
07: account closed, name enquiry none: 43
57: account frozen, name enquiry 00: 60
57: account frozen, name enquiry none: 26
3. B05's refusals: how long the sender's customer waited for the money back
...881897 ₦3,785.00 reversed after 40 s
...254485 ₦42,009.00 reversed after 40 s
...091883 ₦1,630.00 reversed after 40 s
...518870 ₦1,488.00 reversed after 40 s
4. credits the lab did make into accounts a bank might also want to look at
credited into a dormant account: 549 ₦10,420,814.00
credited into a pnd account: 167 ₦2,715,269.00Every 57 went to a frozen account and every 07 to a closed one. Sixty of the 57s followed an enquiry that said 00; the other 26 and all 43 07s had no enquiry, because the sender reused a saved beneficiary’s. The sender reversed each of B05’s four 40 seconds after the debit (the lab’s constant). The last block counts the credits the lab did make into non-active accounts: the lab does not refuse a post-no-debit or a dormant account, which is a choice you must make on purpose.
4. Write the credit rule and run it on the week. The caps are an exercise input from the wallets chapter, not a rule for bank accounts.
python3 - <<'PY'
import sqlite3
from collections import Counter
# An EXERCISE INPUT, not a rule: balance caps in kobo from the 2017 mobile money wallet
# limits that the wallets chapter used (₦300,000 and ₦500,000; tier 3 has none).
# The lab has no balances for bank accounts, so the test below uses the credit on its own.
TIER_CAP = {1: 30_000_000, 2: 50_000_000, 3: None}
def decide(status, tier, amount_kobo):
"""What a receiving bank's credit rule might say. Returns (action, reason)."""
if status == "closed":
return "refuse", "closed: no such account"
if status == "frozen":
return "refuse", "frozen: a restriction on the account"
cap = TIER_CAP[tier]
if cap is not None and amount_kobo > cap:
return "refuse", f"tier {tier}: this credit alone is over the cap"
return "credit", ""
def naira(kobo):
return f"₦{kobo // 100:,}.{kobo % 100:02d}"
db = sqlite3.connect("data/rails.sqlite")
credited = {s for (s,) in db.execute("SELECT session_id FROM bank_log WHERE direction = 'in'")}
rows = db.execute("""
SELECT t.session_id, t.dest, t.amount_kobo, t.first_response, a.status, a.tier
FROM transfers t JOIN accounts a ON a.institution = t.dest AND a.account_no = t.credit_account
WHERE t.first_response NOT IN ('51', '91')""").fetchall() # 51 and 91 are not the receiver's decision
tally, over_cap = Counter(), []
for sid, dest, amount, first, status, tier in rows:
lab = "credited" if sid in credited else "refused" if first in ("57", "07") else "not credited (timeout)"
action, reason = decide(status, tier, amount)
tally[(lab, action)] += 1
if lab == "credited" and action == "refuse":
over_cap.append((dest, tier, amount, status))
print("lab outcome vs the rule above")
for (lab, action), n in sorted(tally.items()):
print(f" lab {lab:<24} rule says {action:<7} {n:>6,}")
print(f"credits the rule would refuse for size alone: {len(over_cap)}")
for tier in (1, 2):
sel = [o for o in over_cap if o[1] == tier]
print(f" tier {tier}: {len(sel)} credits, largest {naira(max(o[2] for o in sel))}")
print(" the tier 1 cases:", [(d, naira(a)) for d, t, a, s in over_cap if t == 1])
PYlab outcome vs the rule above
lab credited rule says credit 17,774
lab credited rule says refuse 28
lab not credited (timeout) rule says credit 59
lab refused rule says refuse 129
credits the rule would refuse for size alone: 28
tier 1: 1 credits, largest ₦1,945,535.00
tier 2: 27 credits, largest ₦2,460,259.00
the tier 1 cases: [('B03', '₦1,945,535.00')]The rule agrees with all 129 refusals (the 57s and the 07s) and would refuse 28 credits the lab let through. The generator limits a transfer by the sender’s tier and not the receiver’s, so those 28 show a gap in the lab and not a wrongdoing. The 59 “not credited (timeout)” rows are transfers the switch answered 97 that the receiving banks never credited; the rule only judges the account and amount, so it would credit them.
5. Recompute the levy and find the misses. The script derives the expected levy from each credit’s amount and compares it with what the log charged. It reads the answer key only at the end.
python3 - <<'PY'
import csv
import sqlite3
# The lab's levy: ILLUSTRATIVE. 5,000 kobo (₦50) on a credit of 1,000,000 kobo (₦10,000) or more.
THRESHOLD, LEVY = 1_000_000, 5_000
def naira(kobo):
return f"₦{kobo // 100:,}.{kobo % 100:02d}"
db = sqlite3.connect("data/rails.sqlite")
credits = db.execute("""SELECT institution, session_id, amount_kobo, levy_kobo FROM bank_log
WHERE direction = 'in' ORDER BY posted_at""").fetchall()
missed, wrong = [], []
for inst, sid, amount, levy in credits:
expected = LEVY if amount >= THRESHOLD else 0
if levy == 0 and expected:
missed.append((inst, sid, amount))
elif levy != expected:
wrong.append((inst, sid, amount, levy))
print(f"credits checked: {len(credits):,}; eligible for the levy: "
f"{sum(1 for c in credits if c[2] >= THRESHOLD):,}")
print(f"levy charged when it should not be, or the wrong amount: {len(wrong)}")
print(f"levy not charged: {len(missed)}")
for inst, sid, amount in missed:
print(f" {inst} ...{sid[-6:]} credit {naira(amount)}")
uncollected = len(missed) * LEVY
print(f"uncollected: {len(missed)} x {naira(LEVY)} = {naira(uncollected)}")
penalty = uncollected * 150 // 100
print(f"at 150% of the levy not collected: {uncollected:,} kobo x 150 / 100 = {penalty:,} kobo = {naira(penalty)}")
# Northmere's week: what it credited and what it owes the government
n, credited, levy = db.execute("""SELECT COUNT(*), SUM(amount_kobo), SUM(levy_kobo) FROM bank_log
WHERE institution = 'B05' AND direction = 'in'""").fetchone()
print(f"B05: {n:,} credits of {naira(credited)}; levy payable to the government {naira(levy)}")
# Only now compare with the key
key = [r for r in csv.DictReader(open("data/answers/rails_truth.csv")) if r["kind"] == "levy_not_charged"]
found = {r[1] for r in missed}
print(f"key lists {len(key)} levy_not_charged rows; you found {len(found & {r['ref'] for r in key})} of them")
PYcredits checked: 17,802; eligible for the levy: 7,581
levy charged when it should not be, or the wrong amount: 0
levy not charged: 5
B01 ...178173 credit ₦17,100.00
B01 ...196385 credit ₦21,929.00
B23 ...826112 credit ₦10,265.00
B14 ...373252 credit ₦13,449.00
B16 ...143515 credit ₦17,774.00
uncollected: 5 x ₦50.00 = ₦250.00
at 150% of the levy not collected: 25,000 kobo x 150 / 100 = 37,500 kobo = ₦375.00
B05: 965 credits of ₦13,786,984.34; levy payable to the government ₦20,550.00
key lists 5 levy_not_charged rows; you found 5 of themFive credits of ₦10,000 or more carried no levy, and the key lists the same five. The penalty line is arithmetic on a summary’s rule, shown so you can see what a small miss costs when the rule multiplies it. It is not what any bank owes.
6. Post B05’s week and match it to the switch. The first half is double entry in kobo. The second compares booked credits with the switch’s settlement positions for B05 and B19.
python3 - <<'PY'
import sqlite3
from collections import defaultdict
def naira(kobo):
return f"₦{kobo // 100:,}.{kobo % 100:02d}"
db = sqlite3.connect("data/rails.sqlite")
BANK = "B05"
# Post B05's week of inward credits as double entry, in integer kobo.
ACCOUNTS = {1100: "NIP settlement receivable (asset)", 2000: "Customer deposits (liability)",
2300: "Levy payable to government (liability)"}
debit, credit = defaultdict(int), defaultdict(int)
for sid, amount, levy in db.execute("""SELECT session_id, amount_kobo, levy_kobo FROM bank_log
WHERE institution = ? AND direction = 'in'""", (BANK,)):
debit[1100] += amount # the switch will owe us this at settlement
credit[2000] += amount # the customer is credited at once
if levy:
debit[2000] += levy # the levy comes out of the customer's money
credit[2300] += levy # and is owed on to the government
for no in sorted(ACCOUNTS):
print(f"{no} {ACCOUNTS[no]:<42} debit {debit[no]:>15,} credit {credit[no]:>15,}")
print(f"total debits {sum(debit.values()):,} total credits {sum(credit.values()):,} "
f"balanced: {sum(debit.values()) == sum(credit.values())}")
print(f"customers hold {naira(credit[2000] - debit[2000])} after the levy")
# Does the receivable match what the switch says B05 will be paid?
print("receivable against the switch's settlement positions")
for inst in ("B05", "B19"):
booked, = db.execute("SELECT SUM(amount_kobo) FROM bank_log WHERE institution = ? AND direction = 'in'", (inst,)).fetchone()
switch, = db.execute("SELECT SUM(received_kobo) FROM settlement_positions WHERE participant = ?", (inst,)).fetchone()
print(f" {inst}: booked {booked:>14,} switch {switch:>14,} difference {booked - switch:>10,} kobo")
PY1100 NIP settlement receivable (asset) debit 1,378,698,434 credit 0
2000 Customer deposits (liability) debit 2,055,000 credit 1,378,698,434
2300 Levy payable to government (liability) debit 0 credit 2,055,000
total debits 1,380,753,434 total credits 1,380,753,434 balanced: True
customers hold ₦13,766,434.34 after the levy
receivable against the switch's settlement positions
B05: booked 1,378,698,434 switch 1,378,698,434 difference 0 kobo
B19: booked 1,122,791,743 switch 1,122,158,143 difference 633,600 koboThe postings balance. B05 agrees with the switch to the kobo. B19’s 633,600 kobo is ₦6,336.00: the one transfer it credited after a timeout that the switch never counted as final. It is one of the four the key lists as credited_without_settlement.
Move the levy to the sender. The script counts the levy base two ways, by the receiver’s inward log and by the sender’s view (the transfers that ended with a final 00).
python3 - <<'PY'
import sqlite3
db = sqlite3.connect("data/rails.sqlite")
THRESHOLD = 1_000_000
receiver = {s for (s,) in db.execute(
"SELECT session_id FROM bank_log WHERE direction = 'in' AND amount_kobo >= ?", (THRESHOLD,))}
sender = {s for (s,) in db.execute(
"SELECT session_id FROM transfers WHERE final_status = '00' AND amount_kobo >= ?", (THRESHOLD,))}
print(f"levy base if the receiver charges: {len(receiver):,}; if the sender charges: {len(sender):,}")
for s in receiver - sender:
r = db.execute("SELECT dest, amount_kobo, first_response, final_status FROM transfers WHERE session_id = ?", (s,)).fetchone()
print(" receiver only:", r)
reversed_ = db.execute("""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'""").fetchone()[0]
print(f"transfers the sender's own log shows reversed although the switch settled them: {reversed_}")
PYExpected output:
levy base if the receiver charges: 7,581; if the sender charges: 7,580
receiver only: ('B07', 1820000, '97', '97')
transfers the sender's own log shows reversed although the switch settled them: 4The two bases differ by one transfer, ₦18,200.00 at B07, which the receiver credited and the switch never settled. The other three such transfers fall below ₦10,000, so they sit outside the levy base. Under the sender-pays reading in the press reports, that transfer would carry no charge at the sender’s bank and the government would lose ₦50. The sender’s own log also shows 4 transfers reversed that the switch settled, so a sender that charges from its own log and a sender that charges from the switch’s record disagree. Decide which record the charge should follow, and what the receiving bank owes if the rule changes midweek.
Template
# Inward credits control report: <bank>, <period>
Prepared by: <analyst> Signed by: <head of inward payments>, <tax lead>
Status: <draft | for signature> Date: <date>
## 1. Summary
<Two sentences: is the week clean, and what needs a decision.>
## 2. Credits
| Measure | Count | Value (₦) | Source line |
|---|---|---|---|
| Credits received (00) | <n> | <₦> | <lab step> |
| Refused, code <57 / 07> | <n> | <₦> | <lab step> |
| Slower than 60 seconds | <n> | slowest <s> | <lab step> |
| Timeout, never credited | <n> | <₦> | <lab step> |
## 3. Credits with no settlement
Booked <kobo> against the switch <kobo>; difference <kobo> = <₦>.
Cause: <named transfer and why, or unknown>.
## 4. Levy return working
Rule as the chapter states it: <rule, source, date>.
| Credits eligible | Levy due (₦) | Levy charged (₦) | Gap (₦) |
|---|---|---|---|
| <n> | <n x rate> | <sum charged> | <gap> |
Explanation of the gap: <credit by credit, or none>.
## 5. What this report cannot see
<One way it could be wrong, and what would show it.>
## 6. Decisions and sign-off
Decision needed: <what, from whom, by when>.
Out of scope: <for example, whether the rule still applies>.
Signed: <head of inward payments> (credits and settlement); <tax lead> (levy working). WORKED EXAMPLE
An inward payments analyst on Gimbiya’s desk writes this each week. Gimbiya, head of inward payments, signs sections 2 and 3, and Nwakaego, the tax lead, signs section 4.
Inward credits control report: Northmere Bank (B05), the lab’s week of June 2026. Status: for signature.
1. Summary. Credits and settlement are clean. The levy working needs a decision before the return is filed.
2. Credits. The bank received 965 credits worth ₦13,786,984.34 (step 2). It refused 4 transfers with 57 (frozen account), worth ₦48,912.00 (step 3); each sender reversed after 40 seconds. Two credits were slower than 60 seconds, the slowest 107.2 seconds, both after a timeout answer; one more timeout was never credited. Median time to credit was 1.00 seconds.
3. Credits with no settlement. None. Booked 1,378,698,434 kobo against the switch’s 1,378,698,434, difference 0 kobo (step 6).
4. Levy return working. The lab’s rule is ₦50 (5,000 kobo) on any inward credit of ₦10,000 (1,000,000 kobo) or more. A bank’s own help article and press reports of other banks’ notices say that from 1 January 2026, under the Nigeria Tax Act 2025, the ₦50 Electronic Money Transfer Levy is replaced by a ₦50 stamp duty on electronic transfers of ₦10,000 and above, borne by the sender and not by the recipient. This is bank notices and press, not the ruleas of 2026-11. Of 965 credits, 411 were eligible: due 411 × ₦50 = ₦20,550.00, charged ₦20,550.00 (2,055,000 kobo), gap ₦0. The network’s 5 uncharged credits (₦250.00) are at other banks.
5. What this report cannot see. The lab’s rule may not be the rule that applies. A gap of ₦0 under the wrong basis proves nothing, and only Nwakaego’s reading of the Act would show it.
6. Decision needed. Nwakaego confirms the return basis before the return is filed. Out of scope: whether the rule still applies.
Now you
It is the following Monday, and you are the inward payments analyst at a smaller bank, B23 in the lab, which is not part of the cast. Write its control report for the same week. Your head of inward payments and the bank’s tax lead will read it and sign. The first decides whether to chase the switch over a credit it never settled, and the second decides what goes in the levy return.
Run steps 2 and 6 with BANK = "B23" (in step 6 also change the last loop to ("B23",)) and step 5 as it stands. They print 354 credits worth ₦6,980,139.00, the 1 refusal with 57, two credits over 60 seconds, a gap of 302,400 kobo between booked credits and the switch, 715,000 kobo of levy (the debit on line 2000) and B23’s one uncharged credit, ₦10,265.00. Not printed, so take them as given: the refusal was ₦5,160.00, the two slow credits were ₦36,393.00 (113.6 seconds) and ₦3,024.00 (71.8 seconds), and 144 credits were eligible for the levy.
Self-check
Gimbiya's desk receives a transfer of ₦1,945,535 for a tier 1 customer. In this exercise the tier 1 balance cap is ₦300,000, which the chapter's design input sets and no source here confirms for bank accounts. The sender's bank has already debited its customer. Nwakaego asks what the bank's credit rule should do, and which of the choices could cost the bank with the regulator, with the sender's customer or with its own customer.
- DOC Regulation on Instant (Inter-Bank) Electronic Funds Transfer Services in Nigeria (CBN, 2018) Central Bank of Nigeria, 2018
The regulator's text on the duties of receiving and sending entities, name enquiry and failed transfers. Read the definitions and the sections on the receiving entity first; this chapter's figures come from summaries, so check each against the PDF.
- POST The Central Bank of Nigeria imposes sanction of N10,000 on instant inter-bank electronic funds transfer services (Mondaq) Law-firm note on Mondaq, 2018
A law-firm note on the sanctions that go with the regulation, including late credit and non-reversal. Read it for the list of breaches and the amounts, then confirm them in the regulation; it is a summary, not the rule.
- DOC CBN circular BPS/DIR/GEN/CIR/04/007, September 2017 (regulatory database copy) Central Bank of Nigeria, 2017
A database copy of the circular that search summaries use for the three tiers of mobile money wallet limits. Read the table and the addressees. It covers wallets, so do not read its figures as bank-account limits.
- DOC Customer Due Diligence Regulations 2023 (CBN) Central Bank of Nigeria, 2023
The primary text on tiered KYC and its place in the customer due diligence rules. Look for the regulation on tiers and for what it says about Tier 1 restrictions; skip the sections on legal persons on a first read.
- POST The Electronic Money Transfer Levy Regulations, 2022 (KPMG) KPMG Nigeria, 2022
A professional-services summary of who collects the levy, when it is remitted and the penalties. Read it for the duties of the receiving bank, then find the regulations themselves, which this chapter did not read.
- POST Electronic Money Transfer Levy under the Finance Act 2020 (IBA) International Bar Association, 2021
A commentary on how the Finance Act 2020 created the levy and what it left of the stamp duty. Read the part on section 89A and the exclusions, and note where it differs from other summaries.
- DOC Certified copies of Nigeria's new tax laws (Premium Times) Premium Times, 2026
A press page that links the certified copies of the Nigeria Tax Act 2025 and the Nigeria Tax Administration Act 2025. Use it to find the stamp-duty items that press reports describe; a press site's copy is not the gazette, so compare with an official one.
- POST Bank transfers: senders to pay N50 stamp duty from January 1, 2026 (Nairametrics) Nairametrics, 2025
A press report of the move of the ₦50 charge to the sender from January 2026. Read it as a pointer to the rule, labelled press: the chapter found no official notice, so test its claims against the Act.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.