Consumer protection and digital lending rules in Nigeria
A rule you cannot test is a rule you cannot show you keep. Audit a loan book against twelve rules and the book answers in three ways: it breaks the rule, it keeps it, or it holds nothing that could tell you
A lender runs ten conduct checks on its collections log, each taken from its own written collections policy. All ten pass. What can the lender fairly say?
Module 1 taught you to price a loan, follow it through its lifecycle and read what a bureau holds. This chapter asks a different question of the same book: could the lender show a regulator, a court or a customer that it treated the customer properly? Consumer-protection rules for lending ask for conduct (how you collect), disclosure (what you tell the customer before they agree), data use (what you may look at and share) and redress (what happens when the customer complains). Each leaves a trace in the lender’s data, or it does not.
The lab runs on Owoleaf’s loan book, the fictional lender from module 1, as practice. The company in the prose is a different one, unnamed: a 25-person digital lender preparing for registration with the FCCPC. It is the example because registration is where a small lender first meets these rules all at once. Nothing here is legal advice, and no part of it tells you what to borrow or whom to borrow from.
Three regulators, one customer
A Nigerian digital lender can sit under several regimes at the same time. They overlap, and a lender must keep all of them.
| Regime | Who makes it | What it covers for a lender | Status of what this chapter knows |
|---|---|---|---|
| Digital lending regulations (DEON: digital, electronic, online or non-traditional) | Federal Competition and Consumer Protection Commission (FCCPC) | Unsecured consumer loans through digital, online or non-traditional channels: registration, disclosure, data, recovery conduct | Outline from the FCCPC’s documents and law-firm summaries; operative wording not read |
| Consumer protection regulations | Central Bank of Nigeria (CBN) | Institutions the CBN supervises: fair treatment, disclosure, conduct, complaints | The 2019 regulations; a revision exists as an exposure draft |
| Data protection | Nigeria Data Protection Commission (NDPC), under the Nigeria Data Protection Act 2023 (NDPA) | Any controller of personal data: lawful basis, consent, automated decisions, impact assessments | Act and 2025 implementation directive; section content from summaries |
Which of the three binds a given lender depends on what it is. A bank or a microfinance bank answers to the CBN. A company lending to consumers through an app answers to the FCCPC for the digital channel, and every controller of personal data answers to the NDPC. Which licence a lender holds is a module 4 question (licences and structures). Here you learn the content of the rules and how to test a book against them.
Sources disagree in places, and the status of the FCCPC’s regulations moved during 2026. Each rule below says how far its source reaches. Where this chapter could not read the operative text, it says so, and the audit then labels its rule illustrative: a test the lab invents so you can practise the method, not a rule you may cite.
The FCCPC’s digital lending regulations
Start with what the regulations are. The FCCPC’s Digital, Electronic, Online or Non-Traditional Consumer Lending Regulations 2025 (DEON) cover unsecured consumer lending through electronic, online, mobile or other non-traditional channels, and according to law-firm summaries no digital lending is permitted without the FCCPC’s approvalas of 2026-11. Module 1’s chapters on interest and APR and the loan lifecycle pointed at the same instrument; this chapter goes further into what it asks of a lender’s conduct and data.
Registration. Law-firm summaries say existing digital lenders had to seek approval within 90 days of commencement, and that an application needs a data protection impact assessment and a compliance audit report from a registered data protection compliance organisation (DPCO)as of 2026-11. One law-firm analysis says a lender cannot hire agents or vendors for debt recovery without the FCCPC’s knowledgeas of 2026-11. The agent point matters to this chapter’s lab: the book records loans passed to an outside agency, and the audit asks whether the book shows that the agency was approved.
Conduct in recovery. The FCCPC’s own release says the Regulations were issued to tackle abuses in digital lending, and names abusive loan recovery and harassment among themas of 2026-11. Commentators add that lenders may not send defamatory messages to a borrower’s contacts, family or employer. This chapter found no source that sets FCCPC calling hours, a daily call limit or an exact scope for contacting third parties. The collections chapter relays search summaries of an hours limit in a 2019 CBN draft guideline on responsible business conduct, whose status neither chapter could confirm. So the audit’s conduct tests (hours, call counts, third-party calls) are illustrative, taken from the lab’s own policy and not from the regulation. They are still the right shape of test: each turns a prohibited behaviour into a condition on rows.
Data. According to summaries, lenders must comply with the NDPA, and the FCCPC’s declaration form asks lenders to confirm that their apps are not designed to access, and will not access, a customer’s call logs, contacts or photosas of 2026-11. Sources disagree on which form carries that declaration. A lender that collected a phone’s contact list to shame a borrower would break the data commitment and the conduct rule with one act. The lab’s book holds no app permissions, so it cannot test the contacts rule. That is another gap, not a pass.
Complaints. Law-firm and press summaries of the FCCPC’s DEON Consumer Lending Guidelines say a complaint must be resolved within 24 hours or, where that is not feasible, a resolution timeline of no more than 48 hours communicated, and that a consumer may escalate an unresolved dispute to the Commissionas of 2026-11. The summaries word this differently and this chapter could not read the Guidelines’ complaints clause, so read it before you rely on either figure. The Guidelines are guidance issued with the Regulations, and the Regulations are the binding instrument.
Status. The rules have had an unsettled path. Sources disagree on when the Regulations took effect: most say they were gazetted on 21 July 2025 and took effect then, and one law-firm analysis has them in effect on 3 September 2025as of 2026-11. The FCCPC’s own page says operators that missed its 5 January 2026 compliance deadline were taken off its published register of approved digital lendersas of 2026-11. Press reports say a Federal High Court in Lagos granted an interim injunction in April 2026 against enforcing the Regulations against members of an association of telecom service providers (a suit about airtime and data lending); that on 20 July 2026 the court dismissed the association’s suit and upheld the Regulations, after which the FCCPC resumed enforcement; and that the association filed a notice of appeal within a dayas of 2026-11. The court ruling is a press account of a decision, not the rule, and the search did not show whether an appeal has changed anything. The register’s present state is also unconfirmed. A lender preparing to register checks the FCCPC’s own notices the week it files.
The CBN’s consumer protection rules
For institutions the CBN supervises, the CBN’s Consumer Protection Regulations of 2019 cover, among other things, disclosure, business conduct (including debt recovery) and complaints handling, which search summaries describe as internal dispute resolutionas of 2026-11. They bind the institutions the CBN licenses, so a bank or a microfinance bank lending to consumers has them, whatever the FCCPC adds. A non-bank lender may not be directly covered, which is why its licence matters and why module 4 treats it.
The complaints route is the part to learn well, because it is the one that leaves records. The CBN’s own guidance to customers says to complain to the institution first, to expect an acknowledgement and a tracking number, and to escalate to the CBN’s Consumer Protection Department if the institution fails to acknowledge within three days, issues no tracking number or misses the resolution time; it speaks of about two weeksas of 2026-11. Press accounts mention fines for missing complaint deadlines, so this chapter states none. The CBN has published an exposure draft of revised consumer protection regulations, dated December 2023 in the search summaries, and the search showed no final version replacing the 2019 text (a regulatory tracker lists a draft dated October 2025, which may be a re-listing)as of 2026-11. Check which text is current before you cite either.
The NDPA where it touches lending
Module 1’s loan lifecycle chapter covered consent under the Nigeria Data Protection Act 2023: the controller has to be able to prove it, and silence is not consent. Lending touches two more provisions.
The first is automated decisions. A lender’s decline is often made by rules or a model with no person involved. Law-firm commentary on section 37 of the NDPA says it limits decisions based solely on automated processing that have legal or similarly significant effects, unless the person consents, the law authorises the decision with suitable safeguards, or it is necessary; and that where such decisions are allowed the person can ask for human involvement, give their views and contest the outcomeas of 2026-11. The commentaries describe the exceptions differently, and one reads the Commission’s 2025 General Application and Implementation Directive (GAID) as asking for express consent and bias safeguards. Read section 37 and the directive yourself. Whatever the exact exceptions are, a lender that declines by rule needs a way to show that a person can review a decline. The lab’s book decides 827 applications and records no review.
The second is the impact assessment. Law-firm summaries of the directive say it makes a data protection impact assessment mandatory for high-risk processing, including profiling and automated decisions with significant effects; one summary also lists financial servicesas of 2026-11. That is the same assessment the FCCPC’s registration asks for, so one piece of work serves both. Credit scoring from bureau and wallet data is profiling. The chapter on gradient-boosted models and explaining declines, in this module, covers what a customer is owed when a model declines them.
From a rule to a test
A rule is prose. An audit needs a condition on rows. Take a prohibited behaviour and write it as a query: no calls outside 08:00 to 20:00 becomes “select calls whose local time is before 08:00 or after 20:00; the count must be zero”. Three things follow.
- The rule’s text comes first. If you cannot cite the clause, the test is illustrative and the finding says so. A finding against an invented rule can still show a weakness. It cannot show a breach.
- The data decides what can be tested. Some rules need a record that never existed. “Every bureau check has a consent record” cannot be run on a book with no consent table. The honest result is not pass. It is gap.
- Count rows and people separately. Nineteen out-of-hours contacts on 16 loans are 19 breaches and at most 16 customers. A regulator counts customers harmed. An operations manager counts actions to fix.
The audit’s result vocabulary is therefore three words: FAIL (the data shows a breach), PASS (the data shows the rule kept) and GAP (the book cannot show either). A PASS is also narrow. A pass on “late fees are charged once per payment, at the product’s amount” says the fee column is consistent with the product table. It says nothing about whether the customer was told the fee beforehand.
The twelve rules in the lab come in four areas. All twelve are illustrative: the lab wrote them so the method can be practised on its book, and the text above says which real instrument each one points at, in outline.
| Rule | Area | What it tests | Points at (in outline) |
|---|---|---|---|
| D1 | Disclosure | An offer record exists, so the APR the customer saw can be shown | DEON disclosure and transparency; module 1’s APR |
| D2 | Disclosure | Fee and net payout arithmetic, in kobo | Same |
| D3 | Disclosure | Late fees only after a 3-day grace, once, at the product’s amount | Same |
| C1 | Conduct | Calls and visits between 08:00 and 20:00 | Harassment ban; hours unconfirmed |
| C2 | Conduct | At most 3 calls about a loan in a day | Harassment ban; limit unconfirmed |
| C3 | Conduct | No call to anyone but the borrower | Unauthorised disclosure ban; scope unconfirmed |
| C4 | Conduct | No contact for 48 hours after a dispute | Complaints guidance (24 and 48-hour figures); the contact pause is the lab’s own |
| U1 | Data use | Every decline records a reason | NDPA automated decisions |
| U2 | Data use | A person can review a decision | NDPA section 37 |
| U3 | Data use | A consent record for each bureau check | NDPA consent; module 1 |
| U4 | Data use | An approval reference for each recovery agency | DEON agent and vendor rule |
| K1 | Complaints | A tracking reference and a resolution date | CBN and FCCPC complaints rules |
What Omamuyovwi does with the findings
Omamuyovwi’s 25-person lender cannot fix everything before it files. She sorts the findings by what each one asks for.
A FAIL on conduct is a fix to a process and an exposure to a customer, so it goes first: the collections tool should refuse a call at 21:30 and refuse the fourth call of the day, so the rule is held by the system and not by memory. A GAP is a build: a consent table, an offer record, a complaints register. Emem owns the first and the last, because a collector hears the dispute first. Her team’s tool has to turn “the borrower said they dispute this” into a logged complaint with a reference, and into a stop on further calls until it is reviewed. A PASS is kept as evidence: the query, the date and the data it ran on, so the lender can re-run it for the regulator.
Notice what she does not do. She does not report the illustrative rules as the regulation’s. She does not read the absence of a complaint table as an absence of complaints. And she does not stop at the book: the registration needs a data protection impact assessment, a compliance audit report from a DPCO and the FCCPC’s own checklist, and an audit like this one feeds them. It does not replace them, and for the legal reading she takes advice from a lawyer.
Where an audit goes wrong
- Testing the policy, not the rule. The lab’s call limit and hours come from Owoleaf’s own policy. A book can obey the policy and break a rule the policy omits.
- Reading a pass as a clearance. Three rules pass here. None shows that a customer was told anything.
- Trusting the answer key. The lab’s planted-breach file is the generator’s list, and it is only as good as the rule the generator used. The lab’s last step finds all 19 out-of-hours calls in the file with none extra, because the audit’s hours test is the same as the generator’s. That agreement shows the two tests match. It does not show that 08:00 to 20:00 is the real rule.
- Counting one way. Report breaches, the loans they sit on and the customers affected, and say which number you mean.
- Quoting a summary as the rule. Every rule here rests on a regulator’s document or a law firm’s account of it. State how far you read.
You work in labs/finance. Every step is Python run from that folder, reading data/finance.sqlite read-only. You write five small scripts into a new audit/ folder. Money is integer kobo throughout, and an APR is the only float, because it is a rate. The twelve rules are the table above; none of them is quoted from a regulator.
1. Check the book and the collections tables exist. If they are missing, build them (about 3 seconds at the default scale). Then make the folder.
cd labs/finance
python3 generate.py && python3 loans.py && python3 collect.py && python3 check.py
mkdir -p audit
python3 check.py | grep -E "^(loan book|collections|OK)"The loan and collections checks ran, then OK:
loan book: 372 loans, 850,258,479 kobo of principal outstanding; checks 7-11 run
collections: 1,809 actions, 144 promises, 36 placements; checks 16-18 run
OK: all invariants holdSeed 42 gives the same book each time. If cards.py has also run, a card line (checks 12-15) appears between the two.
2. Write the rule set and the findings log. audit/rules.py holds the twelve rules (every one labelled illustrative at the top) and one function, record, that prints a finding and appends it to audit/findings.csv.
"""The audit's rule set and a findings log. Every rule here is ILLUSTRATIVE: written for the
lab, not quoted from the FCCPC, the CBN or the NDPC. Money is integer kobo."""
import csv
import os
import sqlite3
DB = "data/finance.sqlite"
OUT = "audit/findings.csv"
RULES = {
"D1": ("disclosure", "Every offer shows the APR, computed on the amount the borrower receives"),
"D2": ("disclosure", "Fee and net payout add up: fee taken from the principal, schedule principal equals the loan"),
"D3": ("disclosure", "A late fee is charged only on a payment more than 3 days late, once, at the product's amount"),
"C1": ("conduct", "Calls and visits only between 08:00 and 20:00"),
"C2": ("conduct", "At most 3 calls about one loan in a day"),
"C3": ("conduct", "No call to anyone but the borrower"),
"C4": ("conduct", "After a borrower disputes the debt, no collection contact on that loan for 48 hours"),
"U1": ("data use", "Every decline records a reason the customer can be told"),
"U2": ("data use", "Every decision shows a person can review it"),
"U3": ("data use", "Every bureau check has a consent record"),
"U4": ("data use", "Every agency that receives a loan is on an approved list"),
"K1": ("complaints", "Every complaint has a tracking reference and a resolution date"),
}
def connect():
return sqlite3.connect("file:" + DB + "?mode=ro", uri=True)
def naira(kobo):
return f"₦{kobo // 100:,}.{kobo % 100:02d}"
def record(rule, result, count, evidence):
"""Append one finding. result is PASS, FAIL or GAP (cannot be shown from the book)."""
new = not os.path.exists(OUT)
with open(OUT, "a", newline="", encoding="utf-8") as f:
w = csv.writer(f)
if new:
w.writerow(["rule", "area", "result", "count", "evidence"])
w.writerow([rule, RULES[rule][0], result, count, evidence])
print(f"{rule} {result:4} {count:>5} {evidence}")Nothing prints yet. You have a rule list the other scripts import. Each finding will carry a rule id, an area, a result (PASS, FAIL or GAP), a count and a sentence of evidence, so a reviewer can re-run the test.
3. Audit disclosure (D1 to D3). audit/step1_apr.py computes every loan’s annual cost from its schedule (the daily IRR from module 1, compounded over 365 days: the effective figure, which the output calls APR), checks the fee arithmetic and the late fees, and asks whether the database holds any record of what the customer was shown.
import datetime as dt
import statistics
from rules import connect, record, naira, OUT
import os
if os.path.exists(OUT):
os.remove(OUT) # every run of the audit starts a fresh findings file
db = connect()
def apr(net, flows):
"""flows: (days after disbursement, kobo due). Daily IRR by bisection, compounded over 365 days."""
lo, hi = 0.0, 1.0
for _ in range(100):
mid = (lo + hi) / 2
pv = sum(k / (1 + mid) ** d for d, k in flows)
lo, hi = (mid, hi) if pv > net else (lo, mid)
return (1 + lo) ** 365 - 1
loans = db.execute("select id, product, disbursed_at, disbursed_net_kobo from loans order by id").fetchall()
by_product = {}
for lid, product, d0, net in loans:
d0 = dt.date.fromisoformat(d0)
flows = [((dt.date.fromisoformat(due) - d0).days, total) for due, total in db.execute(
"select due_date, total_kobo from schedule where loan_id = ? order by instalment", (lid,))]
by_product.setdefault(product, []).append(apr(net, flows))
print("APR on the amount received, by product")
for p in ("SAL", "PL", "BNPL", "SME"):
v = by_product[p]
print(f"{p:5} loans {len(v):3} lowest {min(v):8.2%} median {statistics.median(v):8.2%} highest {max(v):8.2%}")
# D1: the rule needs a record of what the customer was shown. Does the database have one?
tables = {r[0] for r in db.execute("select name from sqlite_master where type = 'table'")}
offer_tables = sorted(t for t in tables if "offer" in t or "disclos" in t)
record("D1", "GAP" if not offer_tables else "PASS", len(loans),
f"APR computable for all {len(loans)} loans; tables that show what the customer was shown: {offer_tables or 'none'}")
# D2: fee and net payout arithmetic, in integer kobo
fee_bps = dict(db.execute("select code, fee_bps from loan_products"))
bad_fee = bad_sched = 0
for lid, product, principal, fee, net in db.execute("select id, product, principal_kobo, fee_kobo, disbursed_net_kobo from loans"):
if fee != principal * fee_bps[product] // 10_000 or net != principal - fee:
bad_fee += 1
s = db.execute("select sum(principal_kobo) from schedule where loan_id = ?", (lid,)).fetchone()[0]
if s != principal:
bad_sched += 1
record("D2", "PASS" if bad_fee == bad_sched == 0 else "FAIL", bad_fee + bad_sched,
f"{len(loans)} loans checked: {bad_fee} with a wrong fee or net payout, {bad_sched} whose schedule principal differs from the loan")
# D3: late fees
rows = db.execute("""
select l.product, r.late_fee_kobo, p.late_fee_kobo, julianday(r.paid_at) - julianday(s.due_date)
from repayments r
join schedule s on s.loan_id = r.loan_id and s.instalment = r.instalment
join loans l on l.id = r.loan_id
join loan_products p on p.code = l.product""").fetchall()
over = sum(1 for _, fee, std, late in rows if fee and (late <= 3 or fee != std))
missed = sum(1 for _, fee, std, late in rows if late > 3 and fee == 0)
fees = sum(fee for _, fee, _, _ in rows)
print(f"payments {len(rows)}, with a late fee {sum(1 for r in rows if r[1])}, total late fees {naira(fees)}")
record("D3", "PASS" if over == 0 else "FAIL", over,
f"{over} fees charged too early or at the wrong amount; {missed} payments more than 3 days late carry no fee")python3 audit/step1_apr.pyAPR on the amount received, by product
SAL loans 190 lowest 104.60% median 104.60% highest 104.60%
PL loans 52 lowest 74.37% median 75.34% highest 81.78%
BNPL loans 85 lowest 0.00% median 0.00% highest 0.00%
SME loans 45 lowest 60.44% median 66.81% highest 66.81%
D1 GAP 372 APR computable for all 372 loans; tables that show what the customer was shown: none
D2 PASS 0 372 loans checked: 0 with a wrong fee or net payout, 0 whose schedule principal differs from the loan
payments 891, with a late fee 74, total late fees ₦61,500.00
D3 PASS 0 0 fees charged too early or at the wrong amount; 7 payments more than 3 days late carry no feeSAL’s 104.60% is the figure from module 1: a ₦17,000 advance repays ₦17,850, and 17,850 / 16,830 − 1 = 6.06% in 30 days, compounded 365/30 times. The headline is “5% interest”; the nominal annual rate would be 6.06% × 365/30 = 73.7%. D1 is a gap: the APR can be computed for all 372 loans, but there is no table that shows the customer was shown it. D2 passes: for 372 loans the fee is principal × fee_bps / 10,000 in integer kobo and net payout equals principal less fee. D3 passes: no late fee is charged early or at the wrong amount. Seven payments more than 3 days late carry no fee, so the lender under-charged and no customer was over-charged. The pass is about the fee column only.
4. Audit conduct (C1 to C4). audit/step2_conduct.py tests the collections log against the lab’s contact policy and the 48-hour pause after a dispute.
import collections
import datetime as dt
from rules import connect, record
db = connect()
actions = db.execute("""
select a.id, a.loan_id, l.customer_id, a.at, a.channel, a.party, a.outcome
from collection_actions a join loans l on l.id = a.loan_id order by a.at""").fetchall()
print(f"{len(actions)} collection actions on {len({a[1] for a in actions})} loans")
# C1: calls and visits between 08:00 and 20:00 (the times are local, WAT, as stored)
out_hours = [a for a in actions if a[4] in ("call", "visit") and not ("08:00" <= a[3][11:16] <= "20:00")]
record("C1", "FAIL" if out_hours else "PASS", len(out_hours),
f"{len(out_hours)} calls or visits outside 08:00-20:00, on {len({a[1] for a in out_hours})} loans; earliest {min(a[3][11:16] for a in out_hours)}, latest {max(a[3][11:16] for a in out_hours)}")
# C2: more than 3 calls about one loan in one day (to the borrower or to anyone else)
per_day = collections.Counter((a[1], a[3][:10]) for a in actions if a[4] == "call")
heavy = {k: n for k, n in per_day.items() if n > 3}
record("C2", "FAIL" if heavy else "PASS", len(heavy),
f"{len(heavy)} loan-days with more than 3 calls; most in one day {max(heavy.values()) if heavy else 0}")
# C3: a call to anyone but the borrower
third = [a for a in actions if a[4] == "call" and a[5] != "borrower"]
kinds = collections.Counter(a[5] for a in third)
record("C3", "FAIL" if third else "PASS", len(third),
f"{len(third)} calls to a third party on {len({a[1] for a in third})} loans: {dict(kinds)}")
# C4: contact within 48 hours of a dispute, on the same loan
def when(s):
return dt.datetime.fromisoformat(s)
disputes = [a for a in actions if a[6] == "dispute"]
after = 0
loans_hit = set()
for d in disputes:
t0 = when(d[3])
for a in actions:
if a[1] == d[1] and a[0] != d[0] and dt.timedelta(0) < when(a[3]) - t0 <= dt.timedelta(hours=48):
after += 1
loans_hit.add(d[1])
print(f"{len(disputes)} calls ended in a dispute, on {len({d[1] for d in disputes})} loans")
record("C4", "FAIL" if after else "PASS", after,
f"{after} further contacts within 48 hours of a dispute, on {len(loans_hit)} loans")python3 audit/step2_conduct.py1809 collection actions on 115 loans
C1 FAIL 19 19 calls or visits outside 08:00-20:00, on 16 loans; earliest 06:02, latest 22:44
C2 FAIL 8 8 loan-days with more than 3 calls; most in one day 4
C3 FAIL 20 20 calls to a third party on 16 loans: {'reference': 10, 'employer': 10}
32 calls ended in a dispute, on 27 loans
C4 FAIL 15 15 further contacts within 48 hours of a dispute, on 15 loansAll four rules fail. The log holds 830 calls (810 to the borrower, 10 to a reference and 10 to an employer) and 12 visits. C1 counts calls and visits outside 08:00 to 20:00, on 16 loans. C2 finds 8 loan-days with 4 calls; no loan-day has 2 or 3, because the generator plants bursts of four. C3 counts 20 calls to someone other than the borrower, 10 to a reference and 10 to an employer. C4 finds 15 further contacts within 48 hours after 32 disputes; that rule is the lab’s own, borrowing its 48 hours from the figure in summaries of the FCCPC’s complaints guidance. The 19 for C1 is a count of contacts, and the 16 is a count of loans. Step 7 checks the 19 against the generator’s own list.
5. Audit evidence (U1 to U4 and K1). audit/step3_evidence.py checks the one data-use rule the book can pass and then asks, for four more, whether the book holds a record that could answer.
from rules import connect, record
db = connect()
tables = {r[0] for r in db.execute("select name from sqlite_master where type = 'table'")}
def columns(table):
return [r[1] for r in db.execute(f"pragma table_info({table})")]
def has(table_words, column_words=()):
"""Is there a table (or a column of a table) whose name contains one of the words?"""
for t in tables:
if any(w in t for w in table_words):
return t
if any(w in c for c in columns(t) for w in column_words):
return t
return None
# U1: every decline carries a reason
declined = db.execute("select count(*), sum(decline_reason is null or decline_reason = '') from applications where decision = 'declined'").fetchone()
record("U1", "PASS" if declined[1] == 0 else "FAIL", declined[1],
f"{declined[0]} declined applications, {declined[1]} without a reason; the reasons are the first rule failed, not every reason")
# U2: a record that a person reviewed a decision
review = has(("review", "appeal"), ("reviewed_by", "decided_by"))
n_dec = db.execute("select count(*) from applications where decision != 'withdrawn'").fetchone()[0]
record("U2", "PASS" if review else "GAP", n_dec,
f"{n_dec} decisions; table or column showing a person reviewed one: {review or 'none'}")
# U3: consent for each bureau check
consent = has(("consent",), ("consent",))
n_bureau = db.execute("select count(*) from bureau_reports").fetchone()[0]
record("U3", "PASS" if consent else "GAP", n_bureau,
f"{n_bureau} bureau reports; consent record: {consent or 'none'}")
# U4: agencies that receive loan data
cols = columns("placements")
agencies = [r[0] for r in db.execute("select distinct agency from placements")]
n_place = db.execute("select count(*) from placements").fetchone()[0]
approved = [c for c in cols if "approv" in c or "licen" in c or "registr" in c]
record("U4", "PASS" if approved else "GAP", n_place,
f"{n_place} loans passed to {agencies}; placements columns {cols}; approval reference: {approved or 'none'}")
# K1: complaints
complaints = has(("complaint",), ("complaint", "ticket", "tracking"))
disputes = db.execute("select count(*) from collection_actions where outcome = 'dispute'").fetchone()[0]
record("K1", "PASS" if complaints else "GAP", disputes,
f"{disputes} calls ended in a dispute; complaint table or tracking reference: {complaints or 'none'}")python3 audit/step3_evidence.pyU1 PASS 0 455 declined applications, 0 without a reason; the reasons are the first rule failed, not every reason
U2 GAP 827 827 decisions; table or column showing a person reviewed one: none
U3 GAP 852 852 bureau reports; consent record: none
U4 GAP 36 36 loans passed to ['AGENCY-A', 'AGENCY-B']; placements columns ['loan_id', 'placed_at', 'agency', 'fee_bps', 'recovered_kobo', 'fee_kobo']; approval reference: none
K1 GAP 32 32 calls ended in a dispute; complaint table or tracking reference: noneU1 passes: all 455 declines carry a reason. The reason is the first rule the application failed, as module 1 showed, so a passing U1 does not mean the customer was told everything. U2 to K1 are gaps. The book decided 827 applications and records no review. It holds 852 bureau reports and no consent. It passed 36 loans to AGENCY-A and AGENCY-B and records no approval. It has 32 calls that ended in a dispute and no complaint register. A gap is not a breach: the lender may keep these records elsewhere. It is a finding because the lender cannot show them from this book.
6. Print the findings table. audit/step4_report.py reads audit/findings.csv and prints it with each rule’s text.
import collections
import csv
from rules import RULES
rows = list(csv.DictReader(open("audit/findings.csv", encoding="utf-8")))
print(f"{'rule':4} {'area':11} {'result':6} {'count':>5} rule text")
for r in rows:
print(f"{r['rule']:4} {r['area']:11} {r['result']:6} {r['count']:>5} {RULES[r['rule']][1]}")
print()
print(dict(collections.Counter(r["result"] for r in rows)))python3 audit/step4_report.pyrule area result count rule text
D1 disclosure GAP 372 Every offer shows the APR, computed on the amount the borrower receives
D2 disclosure PASS 0 Fee and net payout add up: fee taken from the principal, schedule principal equals the loan
D3 disclosure PASS 0 A late fee is charged only on a payment more than 3 days late, once, at the product's amount
C1 conduct FAIL 19 Calls and visits only between 08:00 and 20:00
C2 conduct FAIL 8 At most 3 calls about one loan in a day
C3 conduct FAIL 20 No call to anyone but the borrower
C4 conduct FAIL 15 After a borrower disputes the debt, no collection contact on that loan for 48 hours
U1 data use PASS 0 Every decline records a reason the customer can be told
U2 data use GAP 827 Every decision shows a person can review it
U3 data use GAP 852 Every bureau check has a consent record
U4 data use GAP 36 Every agency that receives a loan is on an approved list
K1 complaints GAP 32 Every complaint has a tracking reference and a resolution date
{'GAP': 5, 'PASS': 3, 'FAIL': 4}Four FAIL, three PASS and five GAP. Read the table as a registration reviewer would. The four fails are conduct, in the collections tool, and are fixed by controls. The five gaps are records the lender has to start keeping. The three passes are narrow. Save audit/findings.csv with the date and the rule text it ran against: that file is the evidence.
7. Compare with the answer key. Only now open the generator’s list. audit/step5_check.py compares your findings with data/answers/collections_breaches.csv.
import collections
import csv
from rules import connect
db = connect()
truth = list(csv.DictReader(open("data/answers/collections_breaches.csv", encoding="utf-8")))
print("planted breaches:", dict(collections.Counter(t["kind"] for t in truth)))
planted = {(t["kind"], t["loan_id"], t["at"]) for t in truth}
calls = db.execute("select loan_id, at, channel, party from collection_actions where channel in ('call','visit')").fetchall()
found_hours = {("outside_hours", l, a) for l, a, c, p in calls if not ("08:00" <= a[11:16] <= "20:00")}
found_third = {("third_party_contact", l, a) for l, a, c, p in calls if c == "call" and p != "borrower"}
per_day = collections.Counter((l, a[:10]) for l, a, c, p in calls if c == "call")
found_many = {("too_many_calls", l, d) for (l, d), n in per_day.items() if n > 3}
planted_many = {t for t in planted if t[0] == "too_many_calls"}
print(f"too_many_calls: planted {len(planted_many)}, the audit found {len(found_many)}, "
f"planted and found {len(planted_many & found_many)}")
for kind, found in (("outside_hours", found_hours), ("third_party_contact", found_third)):
want = {t for t in planted if t[0] == kind}
print(f"{kind}: planted {len(want)}, the audit found {len(found)}, planted and found {len(want & found)}, "
f"found but not planted {len(found - want)}, planted but missed {len(want - found)}")python3 audit/step5_check.pyplanted breaches: {'outside_hours': 19, 'third_party_contact': 20, 'too_many_calls': 8}
too_many_calls: planted 8, the audit found 8, planted and found 8
outside_hours: planted 19, the audit found 19, planted and found 19, found but not planted 0, planted but missed 0
third_party_contact: planted 20, the audit found 20, planted and found 20, found but not planted 0, planted but missed 0The audit found every planted breach and nothing else. The key plants 19 outside-hours calls, and the audit finds the same 19. That includes the early-morning calls inside the planted too-many-calls bursts: the generator lists a burst call under both kinds when it also falls outside the hours. The match is exact because your C1 test and the generator’s policy are the same rule, 08:00 to 20:00. An answer key is the generator’s list under the generator’s rule. It shows that your code applies that rule correctly. It cannot show that the rule is the right one, and a test written to a different rule would disagree with the key: try it in the next box.
Change a threshold and watch the finding move. In audit/step2_conduct.py the C1 test reads "08:00" <= a[3][11:16] <= "20:00". Widen the window to "07:00" and "21:00" and run python3 audit/step2_conduct.py again. You get 14 calls or visits outside the window, on 11 loans, down from 19 (the evidence text still says 08:00-20:00: it is a string, and you would edit it too). Each run appends to audit/findings.csv, so delete that file and rerun steps 3 to 6 after the experiment, and put the original window back. Nothing about the lender’s behaviour changed: only the rule you wrote. The chapter found no source for the real hours, so this number is a property of an illustrative rule, and a finding built on it carries that label. Before you report C1 to anyone, find the clause that sets the hours, or say that none was found. Then ask the same of the call limit in C2 and the 48 hours in C4.
Template
# Conduct self-assessment: <lender>, <product>
Written by <compliance lead> · Signed by <managing director> · Date · Decision needed by <date>
## Decision requested
<One sentence: file now with a dated remediation plan, or hold; what you need approved.>
## Rules, evidence and gaps
| Rule (as the chapter states it) | Source, AsOf date, how far read | Test and result | Evidence (lab step, count) | Gap | Owner, date |
|---|---|---|---|---|---|
| <rule> | <source, date, summary or text> | <rule id: FAIL, PASS or GAP; illustrative?> | <count, loans, customers> | <what record or control is missing> | <role, date> |
## What the passes do not show
<For each PASS, what it leaves untested.>
## Remediation order
1. <Conduct controls first> 2. <Records to start keeping> 3. <Read the rule text, with a lawyer>
## How this could be wrong
<One way, and the evidence that would show it.>
## Out of scope
<Legal reading, the filing itself, rules this book cannot test.> WORKED EXAMPLE
Written by Omamuyovwi, compliance lead at the 25-person lender, signed by the managing director, 23 November 2026, decision needed by 27 November. The filing is due in six weeks (an assumption). The counts are the lab’s practice book, standing in for the lender’s own data. A lawyer reads the rule text before filing.
Decision requested. File on time with the gaps listed as a dated plan, and approve three owners below.
| Rule and source | Result | Evidence | Gap | Owner, date |
|---|---|---|---|---|
| Recovery conduct: the FCCPC release names abusive recovery and harassment (AsOf 2026-11; release read, no hours or limits found) | C1, C2, C3 illustrative: FAIL | 19 calls or visits outside 08:00 to 20:00 on 16 loans; 8 loan-days over 3 calls; 20 third-party calls on 16 loans | The tool does not refuse them | Emem, 11 December |
| Complaints: summaries of the FCCPC Guidelines (AsOf 2026-11; clause not read) | K1: GAP; C4: FAIL (the 48-hour pause is the lab’s own rule) | 32 disputes, no register; 15 contacts within 48 hours of a dispute | No tracking reference or stop | Emem, 18 December |
| Agents: one law-firm analysis (AsOf 2026-11) | U4: GAP | 36 loans to AGENCY-A and AGENCY-B, no approval reference | Approval not recorded | Omamuyovwi, 4 December |
| Automated decisions: law-firm commentary on NDPA section 37 (AsOf 2026-11; Act not read); consent under the NDPA | U2, U3: GAP | 827 decisions, no review record; 852 bureau reports, no consent record | Both records missing | Engineering lead, 23 December |
D2 and D3 pass on fee arithmetic only, and U1 passes on 455 declines that all carry a reason, the first rule failed. None shows what a customer was told (D1 is a GAP on 372 loans).
How this could be wrong. The records may exist outside the book; a search of the support inbox would show it.
Out of scope. Reading the regulations’ operative wording.
Now you
You are the compliance manager at Owoleaf at 200 people, a month after the first audit, preparing its wallet’s lending product for the FCCPC filing, which you assume is due on 15 January 2027. The board’s risk committee meets on 15 December 2026. Use the lab’s findings table (step 6) as Owoleaf’s book. List every rule the chapter states, each with its AsOf source and how far the chapter read it, and give the test, result and count the lab printed for the rules the book can test. Say which results rest on illustrative rules. Where the lab shows a gap, name the record and a remediation owner by role, with a date before the filing. Say what your document cannot see. Include the passes and what they leave untested. You write it, the chief risk officer signs it, and the committee decides whether Owoleaf files now with a dated plan or holds the filing until the conduct controls are live.
Self-check
Omamuyovwi's 25-person lender has run the audit. It shows conduct breaches in collections, no consent or complaint records, and no approval reference for its collections agency. The FCCPC filing is due in six weeks and the team can finish only part of the work. Collections is 4 of the 25 people. What does she do first?
- DOC Digital, Electronic, Online or Non-Traditional Consumer Lending Regulations, 2025 (FCCPC) Federal Competition and Consumer Protection Commission, 2025
The Regulations as hosted by the FCCPC, whose registration, disclosure, data and recovery provisions this chapter knows only from summaries: read the conduct and recovery provisions first, then commencement and transition.
- DOC DEON Consumer Lending Guidelines, 2025 (FCCPC) Federal Competition and Consumer Protection Commission, 2025
The commission's guidance on administering the Regulations. Read the complaints provisions (the 24-hour and 48-hour figures in this chapter come from summaries) and any documentation requirements. Keep it apart from the Regulations' binding text.
- DOC CBN Consumer Protection Regulations (2019) Central Bank of Nigeria, 2019
The text for CBN-supervised institutions: fair treatment, disclosure, conduct and complaints handling. Read the complaints and disclosure parts. Check whether the revised draft has replaced it before you cite a figure.
- DOC Exposure draft: revised Consumer Protection Regulations (CBN) Central Bank of Nigeria
The draft of the revision, which search summaries date to December 2023. Read it to see what the CBN proposed to change, and treat it as a draft until the CBN says it has taken effect.
- DOC How to lodge a complaint (CBN) Central Bank of Nigeria, 2022
The regulator's own plain-words route for a customer: institution first, then the Consumer Protection Department. Read it to see what record a customer expects the institution to hold.
- DOC Nigeria Data Protection Act 2023 (third-party copy) 2023
A copy of the Act hosted by a data-protection information service, not by the Commission. Read section 37, which this chapter knows only from commentary, and compare it with the NDPC's own published text before you quote it. Read: Section 37 on automated decisions.
- POST Review of the NDPA General Application and Implementation Directive (GAID) 2025 (KPMG) KPMG Nigeria, 2025
A professional-services firm's commentary on the directive, not the directive. Read it to find the impact-assessment and automated-decision provisions, then read those in the NDPC's text.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.