BEGINNERCHAPTER 03

Loan products: who borrows, how it is repaid, how it fails

A loan product is a promise about where the repayment comes from and what the lender can take if it does not arrive. Price a salary advance like a mortgage and the book tells you within a quarter

45 MINLENDING AND CREDITUPDATED 2026-11-14
PREDICT

Owoleaf's illustrative book has four products: salary advance (SAL), personal loan (PL), buy now, pay later (BNPL) and working capital for merchants (SME). At the cut-off, 2026-10-28, which product has the largest share of the principal it lent sitting in default or written off?

A loan product is a bundle of choices a lender makes once so it does not have to make them for every borrower. This chapter takes the bundle apart, looks at five families of product and the repayment machinery under them, and then reads what four of them did in one generated loan book. Pricing belongs to chapter 1.1, the economics of a loan, and chapter 1.2, interest, APR, fees and amortisation; here the question is what the loan is.

What a loan product fixes

Every product answers the same six questions, and the answers are what make it behave the way it does.

  1. Who borrows: an individual, a merchant, a company.
  2. How much, and for how long. The tenor is the time from the payout to the last repayment.
  3. How it is repaid. A bullet repayment is one payment at the end. Instalments are equal payments over the tenor, each paying interest and some of the principal, the money originally lent.
  4. The repayment source: the salary, the sales, the card, the sale of the asset.
  5. Collateral: something pledged that the lender may take if the borrower stops paying. A loan with none is unsecured.
  6. The price: a rate and fees (chapter 1.2).

Five families cover most of what a Nigerian lender sells. The table is a map, not a rule book: real products mix and bend these.

Family Who borrows Repayment comes from Tenor Collateral What goes wrong first
Payday or salary advance An employee, short of cash before pay day The next salary Days to a month or two None; the claim is on the pay The borrower takes a new advance to repay the last one
BNPL A shopper at a checkout The shopper’s income, in a few instalments Weeks to a few months None; the goods are not pledged Several plans at once that no single lender can see
SME working capital A small business Sales Months to a year or two Sometimes stock, receivables or a guarantee from the owner A weak sales month; one loan is big enough to hurt
Asset finance and leasing A person or business buying a vehicle, machine or handset The income the asset earns, or the borrower’s income Months to years The asset The asset loses value faster than the debt falls
Mortgage A household or investor buying property The borrower’s income, for years Many years The property Rates move, a job is lost, and recovering a property is slow

The four products in the lab

Owoleaf’s loan book has four products. Every price, fee and limit is invented (the lab’s code says so): not the CBN’s, the FCCPC’s or any lender’s. The Central Bank of Nigeria (CBN) regulates banks and other financial institutions; the Federal Competition and Consumer Protection Commission (FCCPC) protects consumers. The lab makes them concrete, and step 2 prints this table from loan_products.csv.

Code Product Rate per period Fee at payout Limits Repayments Late fee Rail
SAL Salary advance 5% for 30 days 1% ₦10,000 to ₦150,000 One, after 30 days ₦500 Wallet debit
PL Personal loan 4.5% a month 1% ₦50,000 to ₦1,000,000 3, 6, 9 or 12 monthly ₦1,000 Direct debit
BNPL Buy now, pay later 0% 0% ₦20,000 to ₦300,000 Four, a fortnight apart ₦500 Card
SME Working capital 3.5% a month 1.5% ₦200,000 to ₦5,000,000 3 or 6 monthly ₦2,000 GSI

The fee comes out of the amount at payout, so the borrower receives less than they owe. The rail, GSI (Global Standing Instruction), is covered below. Each product is built for a different borrower, and the rest of this chapter goes through them.

Salary advance and payday lending

A salary advance lends against pay that has been earned or is about to be. The borrower is short before pay day; the lender is repaid out of the next salary. The lab’s version is a bullet: one repayment, 30 days after the payout.

Take L000002, a loan in the lab. The principal is ₦17,000. The fee is 1% of it, ₦170, so the borrower receives ₦16,830. The interest is 5% of ₦17,000, ₦850, so one repayment of ₦17,850 is due 30 days later, on 2026-05-16. The borrower never paid. At the cut-off, 2026-10-28, the loan is 165 days past due (it is in default, the lab’s word for 90 or more days past due): May 16 to October 28 is 15 + 30 + 31 + 31 + 30 + 28 days.

Think about what the lender has risked. If the loan is repaid, the lender paid out ₦16,830 and received ₦17,850, a gain of ₦1,020. If it is not, the lender paid out ₦16,830 and received nothing. One default wipes out the gain from 16.5 repaid loans (16,830 ÷ 1,020). Ignoring operating costs and any money recovered, the lender breaks even when the share of loans that default is d, where (1 − d) × ₦1,020 = d × ₦16,830, so d = 1,020 ÷ 17,850 = 5.7%. Short loans pay little per loan, and a default costs the whole loan, so the margin for error is thin. Chapter 1.1 builds this into a margin with costs; the point here is that the bullet shape and the small size make the product sensitive to its default rate. In the lab 28 of the 190 salary advances, 14.7%, are in default.

Ferrowave and the pay date. Ferrowave pays salaries for its business customers through a bulk payouts service, and each payout leaves a record: a status, an amount, a date and a line in the daily reconciliation file. A salary-advance lender that has the employer’s agreement and the employee’s consent can use that record as evidence of the pay date and the net pay, which is stronger than a photographed payslip. It can then size the advance as a share of net pay: an invented rule of 30% turns a ₦180,000 net salary into a limit of ₦54,000. The record also exposes the product’s main trap, the pay date. A 30-day advance paid out on the 25th falls due around the 25th of the next month. If the employer pays on the 28th, the borrower is three days late through no fault of their own, and a late fee on this schedule is a defect in the product, not a sign of risk. The second trap is the rollover: the borrower repays and takes a new advance the same day, so the loan never ends and the lender cannot tell a healthy customer from a trapped one.

Buy now, pay later

BNPL lets a shopper split a purchase into a few instalments, usually at no interest to the shopper, and decides in seconds at the checkout. In the lab it is four instalments a fortnight apart (14, 28, 42 and 56 days after the payout) at 0% and no fee, and all 257 BNPL applications arrive through merchant_checkout.

If the shopper pays no interest, who pays the lender? In many BNPL models the merchant does, with a fee on each sale. The lab does not model it, so the lab’s BNPL book earns only late fees: 29 late fees of ₦500, ₦14,500 in all. To see the shape, invent a 3% merchant fee on a ₦40,000 basket. The lender pays the merchant ₦38,800 at checkout and collects four instalments of ₦10,000. A repaid sale earns ₦1,200; a default loses ₦38,800; the break-even default share is 1,200 ÷ 40,000 = 3.0%. The lab’s actual rate is higher: 6 of 85 BNPL loans, 7.1%, are in default or written off. Before costs and recoveries, a BNPL lender with that default rate and that fee would lose money on the book, which is why its decision rule and its fee have to be set together.

Two risks follow from the shape. The first is stacking: a shopper with five open plans at five merchants is a larger borrower than any one lender sees, unless lenders share data (chapter 1.5). The second is the checkout itself. A decision in seconds has almost no time for checks, and a thin file, one with little or no bureau history, makes a score a weak guide. In the lab 152 of the 168 declined BNPL applications are declined as amount_below_product_minimum. That is an artefact of the lab’s rule, which caps the amount by the shopper’s wallet inflows and then declines anything under ₦20,000, but it shows a rule doing the work that a person would do at a bank counter.

SME working capital

An SME (small and medium-sized enterprise) borrows to bridge the gap between paying for stock or work and being paid for what it sells. The repayment source is sales. Ginika’s question about a weak month is the product’s central question.

Suppose Tallowmere wanted ₦4,000,000 for six months to stock up before a season of higher demand, on terms like the lab’s SME product (an illustration, not an offer). The fee is 1.5%, ₦60,000, so ₦3,940,000 arrives. At 3.5% a month on the reducing balance, six equal instalments are ₦750,672.83 (the sixth, ₦750,672.86, carries the rounding), and interest over the six months comes to ₦504,037.01. Tallowmere repays ₦4,504,037.01 in all. Step 8 prints the schedule. The first instalment falls due 30 days after the payout. If the stock takes 45 days to sell, which is an invented figure, Tallowmere pays the first instalment 15 days before the stock has finished selling. A bullet repayment at the end would fit that cash cycle better; instalments fit a business whose cash comes in steadily. The product has to match the cash cycle.

SME loans are also large. The book’s largest SME loan is ₦3,683,000.00, about five times the whole pile of defaulted salary advances (₦742,238.00). Four SME loans in 45 are past due, 8.9% of them by count, but the principal still outstanding on them, ₦1,287,157.59, is the largest of any product’s past-due loans (the break step prints it). Count and naira tell different stories, and a lender reads both.

The lab’s SME rail is GSI. The CBN’s GSI guidelines quoted below are headed “individuals”, so treat the lab’s label as an illustration and check what applies to a business before relying on it.

Asset finance and leasing

Asset finance lends to buy a thing: a vehicle, a machine, a handset. The thing is the collateral. In a lease the lender, the lessor, keeps ownership and the borrower, the lessee, pays rent for the term, so the lessor can take the asset back because it never stopped being theirs. In a hire-purchase the buyer pays in instalments and ownership passes at the end; in an ordinary asset loan the buyer owns the asset at once and it is pledged. The Equipment Leasing Association of Nigeria’s summary of the Equipment Leasing Act 2015 says the Act separates finance leases from operating leases, sets up a registration authority for leases, and makes an unregistered lease unenforceable against third parties, though not invalidas of 2026-11. One law-firm overview puts the registration deadline at 14 days after the lease begins, with an alternative of three months that the summary does not explainas of 2026-11. Both are summaries, one from the leasing industry’s own association and one from a law firm; neither is the Act. Reports also differ on whether the registration authority was ever inaugurated. Read the Act’s text and a current notice from the authority before you rely on any deadline.

The collateral protects the lender only if it is worth at least what is owed. Lumora Mobile, a mobile network operator with 31 million subscribers, considers financing handsets for its subscribers. Invent the numbers: a ₦240,000 handset; a 10% deposit of ₦24,000; ₦216,000 financed over 12 instalments of ₦18,000; and a recovered handset that sells for 80% of the price, ₦192,000, and then loses ₦4,800 a month. Step 9 computes the cover, the handset’s worth minus the balance owed, at the moment the borrower stops paying.

Stops paying after Owes Handset worth Cover
0 instalments ₦216,000 ₦192,000 -₦24,000
1 ₦198,000 ₦187,200 -₦10,800
2 ₦180,000 ₦182,400 ₦2,400

For two months the lender is under-secured even if it takes the phone back, which some lenders try to prevent by locking the handset by its IMEI, the identifier every handset carries. A buyer who never pays the first instalment is the worst case: the loss is ₦24,000 before any cost of recovery. Collateral protects the lender least when the lender needs it most. Equipment and vehicles follow the same arithmetic: the value of a new thing drops the moment it is used, and the loan falls more slowly.

Mortgages

A mortgage lends against a property, repaid from the borrower’s income over many years. The loan-to-value ratio (LTV) is the loan divided by the property’s value. A ₦24,000,000 loan on a ₦30,000,000 property is an LTV of 80%. If the property’s value falls by a quarter, to ₦22,500,000, the loan exceeds the value: 24,000,000 ÷ 22,500,000 is an LTV of about 106.7%, and the borrower’s equity is gone. Because tenors are long, a mortgage is exposed to a job loss, a change in rates and a slow, legal process of recovering a property, so it takes the most documents and the longest decision. This chapter quotes no Nigerian mortgage rate or ceiling: those are set by each scheme or lender in its own documents and change, and a number copied from a news story is not a source.

The repayment rail changes the product

A repayment rail is the route by which money gets from the borrower to the lender. The rail decides how repayment is collected, and so what fails.

Rail How the money moves What fails In the lab
Salary deduction The employer takes the instalment from pay and passes it on The employer pays late, closes, or the borrower changes job None
Wallet debit The lender pulls from the borrower’s own wallet The wallet is empty on the due date SAL
Card on file The lender charges a stored card each due date The card expires, is declined or has no funds BNPL
Direct debit A mandate lets the lender pull from a bank account No funds, or the mandate is cancelled PL
GSI A standing instruction lets the lender recover from the borrower’s accounts at other institutions The borrower has no balance anywhere the instruction reaches SME

The CBN’s operational guidelines on Global Standing Instructions for individuals, dated July 2020, say the amount a GSI recovers is the outstanding principal and accrued interest under the signed offer letter, and that a GSI is not a tool for recovering penal charges, which are the extra charges for paying lateas of 2026-11. Reports say the CBN amended the guidelines in January 2022 to allow recovery attempts throughout the life of the loan, so read the CBN’s current text, not the 2020 file alone. This search did not confirm a CBN circular that extends GSI to corporate accounts, which is why the lab’s SME label is an illustration.

Step 6 counts, by rail, how many instalments were paid on time, late or not at all. Read it carefully. The generator draws lateness from each borrower’s hidden risk, not from the rail, so a higher late share for the wallet debit is a statement about who took salary advances and how short the loans are, not about wallet debits. The lab shows the table a lender would compute; it does not show that the rail caused it. Separating the two takes a comparison of the same borrowers on different rails, which a lender seldom has.

Which rules reach which product

Which rules reach a product depends on how the loan is made, not on its name. The FCCPC says its Digital, Electronic, Online or Non-Traditional Consumer Lending Regulations, 2025 came into effect on 21 July 2025as of 2026-11, and the text covers unsecured consumer lending done by digital, electronic, online or other non-traditional means, and has lenders register with the Commissionas of 2026-11. The FCCPC’s later notices say it suspended implementation after a court challenge and resumed it after the Federal High Court upheld the regulationsas of 2026-11. Sources disagree on details. One law-firm note says the rules officially took effect on 3 September 2025, and law-firm summaries say they reach BNPL and embedded credit; I did not find a source that settles how they treat banks. The gazetted text decides whether a given product is in scope, so read it, not a summary. Which licence lets a company lend at all is a question for the licences and structures chapter in module 4. Until then this chapter says only “Owoleaf’s lending”. Consumer protection and digital lending rules in module 2 return to the FCCPC’s regulations in detail.

Reading outcomes by product

Step 5 prints what happened to each product by the cut-off. Three habits keep you from fooling yourself.

Age. A loan cannot default before it has had time to go wrong. All 190 salary advances and all 85 BNPL loans reached their last due date by the cut-off. Only 19 of the 52 PL loans and 30 of the 45 SME loans did. PL’s 0 defaults describes loans that are young, not loans that are safe, and the break step shows the six PL loans already past due. Compare products on loans of the same age, or compare early signals such as the first missed instalment.

Count against money. The salary advances are 14.7% of their loans in default and 15.3% of their naira. The SME loans are 8.9% by count past due and, in naira, the largest exposure. Report both.

Mix. The products reach different borrowers through different channels, and the lab’s decline rules cut out different groups for each. A product’s default rate is the rate for the people who were approved, not for the product in the abstract.

LAB Read the four products and what each did ~40 MIN
YOU NEEDPython 3.9 or later (standard library only)labs/finance from the public atlas-labs repositoryabout 70 MB of free disk for the generated data

Every figure below comes from the finance lab’s loan book, generated from seed 42 at scale 0.1 (2,000 customers). Run the commands from labs/finance. Every price in the book is invented, and all money in the data is integer kobo (a kobo is a hundredth of a naira); the scripts print naira by integer division. If your numbers differ, you ran a different seed or scale.

1. Build the loan book. The wallet data first, then the loan book on top of it, then the checks.

cd labs/finance
python3 generate.py
python3 loans.py
python3 check.py

generate.py finishes in a few seconds and ends with its table counts, among them transactions 83,887, entries 191,103 and planted breaks 9. loans.py prints two lines:

852 applications, 372 loans, 1127 instalments, 891 repayments
loan status at 2026-10-28: arrears 8, closed 288, current 40, default 34, written_off 2

check.py ends with loan book: 372 loans, 850,258,479 kobo of principal outstanding; checks 7-11 run and OK: all invariants hold. The same seed always gives the same files. Do not open data/answers/loans_truth.csv.

2. Read the four products. This reads loan_products.csv with the csv module.

python3 - <<'EOF'
import csv

def naira(k):
    return f"₦{k // 100:,}"

print(f"{'code':5} {'rate/period':>11} {'fee':>5} {'min':>10} {'max':>11} {'period':>6} {'instalments':>11} {'late fee':>8}  rail")
for p in csv.DictReader(open("data/loan_products.csv")):
    rate = int(p["rate_bps_per_period"]) / 100
    fee = int(p["fee_bps"]) / 100
    print(f"{p['code']:5} {rate:>10.2f}% {fee:>4.1f}% {naira(int(p['min_kobo'])):>10} {naira(int(p['max_kobo'])):>11} "
          f"{p['period_days']:>4} d {p['instalments']:>11} {naira(int(p['late_fee_kobo'])):>8}  {p['default_rail']}")
EOF
code  rate/period   fee        min         max period instalments late fee  rail
SAL         5.00%  1.0%    ₦10,000    ₦150,000   30 d           1     ₦500  wallet_debit
PL          4.50%  1.0%    ₦50,000  ₦1,000,000   30 d    3/6/9/12   ₦1,000  direct_debit
BNPL        0.00%  0.0%    ₦20,000    ₦300,000   14 d           4     ₦500  card
SME         3.50%  1.5%   ₦200,000  ₦5,000,000   30 d         3/6   ₦2,000  gsi

Rates and fees are stored in basis points (hundredths of a percent): 500 is 5%. The amounts are stored in kobo, so the minimum for SAL is 1,000,000 kobo, ₦10,000. These are the rows of the table above.

3. The funnel by product. How many applications each product got, and what became of them.

python3 - <<'EOF'
import sqlite3

db = sqlite3.connect("data/finance.sqlite")
print(f"{'product':8} {'applied':>7} {'approved':>8} {'declined':>8} {'withdrawn':>9} {'approval rate':>13}")
tot = [0, 0, 0, 0]
for code, n, ok, no, wd in db.execute("""
        SELECT product, COUNT(*), SUM(decision='approved'), SUM(decision='declined'), SUM(decision='withdrawn')
        FROM applications GROUP BY product ORDER BY product"""):
    print(f"{code:8} {n:>7} {ok:>8} {no:>8} {wd:>9} {100 * ok / n:>12.1f}%")
    for i, v in enumerate((n, ok, no, wd)):
        tot[i] += v
print(f"{'all':8} {tot[0]:>7} {tot[1]:>8} {tot[2]:>8} {tot[3]:>9} {100 * tot[1] / tot[0]:>12.1f}%")
print()
for row in db.execute("""
        SELECT product, decline_reason, COUNT(*) FROM applications
        WHERE decision = 'declined' GROUP BY product, decline_reason ORDER BY product, COUNT(*) DESC"""):
    print(*row)
EOF
product  applied approved declined withdrawn approval rate
BNPL         257       85      168         4         33.1%
PL            87       52       34         1         59.8%
SAL          435      190      228        17         43.7%
SME           73       45       25         3         61.6%
all          852      372      455        25         43.7%

BNPL amount_below_product_minimum 152
BNPL score_below_cutoff 12
BNPL recent_delinquency 4
PL score_below_cutoff 17
PL amount_below_product_minimum 10
PL insufficient_income_evidence 7
SAL insufficient_income_evidence 99
SAL score_below_cutoff 68
SAL amount_below_product_minimum 51
SAL recent_delinquency 10
SME amount_below_product_minimum 18
SME score_below_cutoff 3
SME recent_delinquency 2
SME insufficient_income_evidence 2

The totals are the book’s 852 applications: 372 approved, 455 declined, 25 withdrawn. Salary advances are half of all applications and BNPL is 30%. Most BNPL declines are amount_below_product_minimum: the lab caps the amount by the shopper’s wallet inflows, and a capped amount under ₦20,000 is declined. That is the lab’s rule, not a fact about BNPL.

4. Size and tenor. What each product lent, how large the loans are, and how long they last from payout to the last due date.

python3 - <<'EOF'
import sqlite3

def naira(k):
    return f"₦{k // 100:,}.{k % 100:02d}"

db = sqlite3.connect("data/finance.sqlite")
print(f"{'product':8} {'loans':>5} {'lent':>16} {'average':>14} {'smallest':>12} {'largest':>14} {'tenor (days)':>12}")
for code, n, total, lo, hi, days in db.execute("""
        SELECT product, COUNT(*), SUM(principal_kobo), MIN(principal_kobo), MAX(principal_kobo),
               SUM(instalments * period_days) FROM loans GROUP BY product ORDER BY product"""):
    print(f"{code:8} {n:>5} {naira(total):>16} {naira(total // n):>14} {naira(lo):>12} {naira(hi):>14} {days / n:>12.1f}")
print()
for row in db.execute("SELECT product, instalments, COUNT(*) FROM loans GROUP BY product, instalments ORDER BY product, instalments"):
    print(*row)
EOF
product  loans             lent        average     smallest        largest tenor (days)
BNPL        85    ₦3,955,000.00     ₦46,529.41   ₦20,000.00    ₦161,000.00         56.0
PL          52    ₦8,124,000.00    ₦156,230.76   ₦50,000.00    ₦407,000.00        228.5
SAL        190    ₦4,837,000.00     ₦25,457.89   ₦10,000.00     ₦88,000.00         30.0
SME         45   ₦46,254,000.00  ₦1,027,866.66  ₦207,000.00  ₦3,683,000.00        134.0

BNPL 4 85
PL 3 15
PL 6 10
PL 9 11
PL 12 16
SAL 1 190
SME 3 23
SME 6 22

The salary advances are the most numerous and the smallest, with an average of ₦25,457.89. The SME loans are 45 in number and make up ₦46,254,000.00 of the ₦63,170,000.00 lent. The average is cut to the kobo by integer division, so it is not rounded. Tenor is the period in days times the number of instalments: 30, 56, 228.5 on average, 134.

5. Outcomes by product. Status at the cut-off, the share of principal in default or written off, and how many loans were old enough to have finished.

python3 - <<'EOF'
import sqlite3

def naira(k):
    return f"₦{k // 100:,}.{k % 100:02d}"

db = sqlite3.connect("data/finance.sqlite")
cut_off = db.execute("SELECT value FROM loan_book_meta WHERE key = 'cut_off'").fetchone()[0]
print("cut-off:", cut_off)
print(f"{'product':8} {'loans':>5} {'closed':>6} {'current':>7} {'arrears':>7} {'default':>7} {'w/off':>5} {'matured':>7}")
for code, n, *counts, matured in db.execute("""
        SELECT product, COUNT(*), SUM(status='closed'), SUM(status='current'), SUM(status='arrears'),
               SUM(status='default'), SUM(status='written_off'), SUM(maturity_date < ?)
        FROM loans GROUP BY product ORDER BY product""", (cut_off,)):
    print(f"{code:8} {n:>5} {counts[0]:>6} {counts[1]:>7} {counts[2]:>7} {counts[3]:>7} {counts[4]:>5} {matured:>7}")
print()
print(f"{'product':8} {'lent':>16} {'in default or w/off':>20} {'share of lent':>13} {'outstanding':>16}")
for code, lent, bad, out in db.execute("""
        SELECT product, SUM(principal_kobo),
               SUM(CASE WHEN status IN ('default', 'written_off') THEN outstanding_principal_kobo ELSE 0 END),
               SUM(outstanding_principal_kobo)
        FROM loans GROUP BY product ORDER BY product"""):
    print(f"{code:8} {naira(lent):>16} {naira(bad):>20} {100 * bad / lent:>12.1f}% {naira(out):>16}")
total = db.execute("SELECT SUM(outstanding_principal_kobo) FROM loans").fetchone()[0]
print(f"{'all':8} {'':>16} {'':>20} {'':>13} {naira(total):>16}")
EOF
cut-off: 2026-10-28
product  loans closed current arrears default w/off matured
BNPL        85     79       0       0       5     1      85
PL          52     19      27       6       0     0      19
SAL        190    162       0       0      28     0     190
SME         45     28      13       2       1     1      30

product              lent  in default or w/off share of lent      outstanding
BNPL        ₦3,955,000.00           ₦92,938.00          2.3%       ₦92,938.00
PL          ₦8,124,000.00                ₦0.00          0.0%    ₦3,107,957.75
SAL         ₦4,837,000.00          ₦742,238.00         15.3%      ₦742,238.00
SME        ₦46,254,000.00          ₦895,724.95          1.9%    ₦4,559,451.04
all                                                             ₦8,502,584.79

This answers the Predict. Salary advances have the worst share, 15.3%. The matured column is the number of loans whose last instalment was due before the cut-off: PL has 19 of 52, and none of the 33 others has had time to default. The outstanding principal adds to ₦8,502,584.79, the book’s total.

6. Repayment by rail. For every instalment that fell due before the cut-off, was it paid on time, paid late or not paid at all?

python3 - <<'EOF'
import sqlite3

db = sqlite3.connect("data/finance.sqlite")
cut_off = db.execute("SELECT value FROM loan_book_meta WHERE key = 'cut_off'").fetchone()[0]
print(f"{'product':8} {'rail':13} {'due':>5} {'on time':>8} {'late':>5} {'no payment':>10} {'late %':>7} {'missed %':>8}")
for code, rail, due, ontime, late, missed in db.execute("""
        SELECT l.product, l.repayment_rail, COUNT(*),
               SUM(r.id IS NOT NULL AND r.paid_at <= s.due_date),
               SUM(r.id IS NOT NULL AND r.paid_at >  s.due_date),
               SUM(r.id IS NULL)
        FROM schedule s
        JOIN loans l ON l.id = s.loan_id
        LEFT JOIN repayments r ON r.loan_id = s.loan_id AND r.instalment = s.instalment
        WHERE s.due_date < ?
        GROUP BY l.product, l.repayment_rail ORDER BY l.product""", (cut_off,)):
    print(f"{code:8} {rail:13} {due:>5} {ontime:>8} {late:>5} {missed:>10} {100 * late / due:>6.1f}% {100 * missed / due:>7.1f}%")
EOF
product  rail            due  on time  late no payment  late % missed %
BNPL     card            340      279    47         14   13.8%     4.1%
PL       direct_debit    237      200    26         11   11.0%     4.6%
SAL      wallet_debit    190      134    32         24   16.8%    12.6%
SME      gsi             180      157    16          7    8.9%     3.9%

A salary advance has one instalment per loan, so its 190 are the loans. Its 12.6% missed is a little under the 14.7% in default, because four defaulters paid something after stopping, and those payments appear as late. The late share of the wallet debit is the highest, but read it as the chapter said: the generator draws lateness from each borrower’s hidden risk, not from the rail, so this is who borrowed on which product, not what a rail does. Any payment after its due date counts as late, whether or not it drew a late fee (the generator charges the fee only when a payment is more than three days late), and a partial payment made after the borrower stopped counts as late too.

7. Read two loans. L000002 is the salary advance from the chapter. L000043 is a personal loan that was paying and then stopped.

python3 - <<'EOF'
import sqlite3

def naira(k):
    return f"₦{k // 100:,}.{k % 100:02d}"

db = sqlite3.connect("data/finance.sqlite")
for loan_id in ("L000002", "L000043"):
    (product, principal, fee, net, rail, status, dpd, out) = db.execute(
        """SELECT product, principal_kobo, fee_kobo, disbursed_net_kobo, repayment_rail, status,
                  days_past_due, outstanding_principal_kobo FROM loans WHERE id = ?""", (loan_id,)).fetchone()
    print(f"{loan_id} {product}: principal {naira(principal)}, fee {naira(fee)}, paid out {naira(net)}, "
          f"rail {rail}, status {status}, {dpd} days past due, principal outstanding {naira(out)}")
    paid = {i: (d, a) for i, d, a in db.execute(
        "SELECT instalment, paid_at, amount_kobo FROM repayments WHERE loan_id = ?", (loan_id,))}
    for i, due, principal_k, interest_k, total in db.execute(
            "SELECT instalment, due_date, principal_kobo, interest_kobo, total_kobo FROM schedule WHERE loan_id = ? ORDER BY instalment",
            (loan_id,)):
        got = f"paid {paid[i][0]}  {naira(paid[i][1])}" if i in paid else "no payment"
        print(f"  {i}  due {due}  {naira(total):>12} = {naira(principal_k)} principal + {naira(interest_k)} interest  | {got}")
    print()
EOF
L000002 SAL: principal ₦17,000.00, fee ₦170.00, paid out ₦16,830.00, rail wallet_debit, status default, 165 days past due, principal outstanding ₦17,000.00
  1  due 2026-05-16    ₦17,850.00 = ₦17,000.00 principal + ₦850.00 interest  | no payment

L000043 PL: principal ₦310,000.00, fee ₦3,100.00, paid out ₦306,900.00, rail direct_debit, status arrears, 70 days past due, principal outstanding ₦263,847.70
  1  due 2026-07-20    ₦60,102.30 = ₦46,152.30 principal + ₦13,950.00 interest  | paid 2026-07-20  ₦60,102.30
  2  due 2026-08-19    ₦60,102.30 = ₦48,229.15 principal + ₦11,873.15 interest  | no payment
  3  due 2026-09-18    ₦60,102.30 = ₦50,399.47 principal + ₦9,702.83 interest  | no payment
  4  due 2026-10-18    ₦60,102.30 = ₦52,667.44 principal + ₦7,434.86 interest  | no payment
  5  due 2026-11-17    ₦60,102.30 = ₦55,037.48 principal + ₦5,064.82 interest  | no payment
  6  due 2026-12-17    ₦60,102.30 = ₦57,514.16 principal + ₦2,588.14 interest  | no payment

The salary advance is the chapter’s ₦17,000: ₦850 interest, ₦17,850 due, nothing received. The personal loan paid instalment 1 on its due date and missed instalment 2, which fell due on 2026-08-19: 70 days before the cut-off. It is in arrears (behind on payments), not yet in default (90 or more days past due), and it still has two instalments that fall due after the cut-off.

8. Price a Tallowmere-sized SME loan with the book’s own function. loans.py holds the function that built every schedule, annuity, which divides the principal into equal instalments on a reducing balance and lets the last one take the rounding. You import it here.

python3 - <<'EOF'
from loans import annuity

def naira(k):
    return f"₦{k // 100:,}.{k % 100:02d}"

principal = 400_000_000                  # ₦4,000,000 in kobo
fee = principal * 150 // 10_000          # 1.5% taken at disbursement
rows = annuity(principal, 0.035, 6)      # 3.5% a month, six monthly instalments
print(f"principal {naira(principal)}  fee {naira(fee)}  paid out {naira(principal - fee)}")
for i, p, it in rows:
    print(f"  instalment {i}: {naira(p + it)} = {naira(p)} principal + {naira(it)} interest")
interest = sum(it for _, _, it in rows)
print(f"interest in all {naira(interest)}; fee and interest {naira(fee + interest)}; "
      f"repaid in all {naira(principal + interest)}")
EOF
principal ₦4,000,000.00  fee ₦60,000.00  paid out ₦3,940,000.00
  instalment 1: ₦750,672.83 = ₦610,672.83 principal + ₦140,000.00 interest
  instalment 2: ₦750,672.83 = ₦632,046.38 principal + ₦118,626.45 interest
  instalment 3: ₦750,672.83 = ₦654,168.00 principal + ₦96,504.83 interest
  instalment 4: ₦750,672.83 = ₦677,063.88 principal + ₦73,608.95 interest
  instalment 5: ₦750,672.83 = ₦700,761.12 principal + ₦49,911.71 interest
  instalment 6: ₦750,672.86 = ₦725,287.79 principal + ₦25,385.07 interest
interest in all ₦504,037.01; fee and interest ₦564,037.01; repaid in all ₦4,504,037.01

Check the first line by hand: 3.5% of ₦4,000,000 is ₦140,000.00. The sixth instalment is 3 kobo more than the others because it takes the rounding. Instalments, fee and interest are the chapter’s figures.

9. Collateral cover for a handset. The numbers are invented: a ₦240,000 handset worth 80% of its price once sold on and then losing 2% of the price a month, with no interest because the margin sits in the price. The cover is the handset’s worth minus what is owed when the borrower stops.

python3 - <<'EOF'
def naira(k):
    return f"₦{k // 100:,}" if k >= 0 else f"-₦{-k // 100:,}"

PRICE = 24_000_000                       # ₦240,000 handset, in kobo
USED = PRICE * 80 // 100                 # worth 80% of the price once sold on (invented)
FALL = PRICE * 2 // 100                  # then loses 2% of the price a month (invented)

def cover_table(deposit_pct, months):
    financed = PRICE - PRICE * deposit_pct // 100
    each = financed // months            # no interest: the margin is in the price (invented)
    print(f"deposit {deposit_pct}%, {months} instalments of {naira(each)}, financed {naira(financed)}")
    for m in range(0, 4):                # m = instalments paid before the borrower stops
        owed = financed - each * m
        value = USED - FALL * m
        print(f"  stops after {m}: owes {naira(owed):>9}, handset worth {naira(value):>9}, cover {naira(value - owed):>8}")

cover_table(10, 12)
cover_table(20, 12)
cover_table(10, 6)
EOF
deposit 10%, 12 instalments of ₦18,000, financed ₦216,000
  stops after 0: owes  ₦216,000, handset worth  ₦192,000, cover -₦24,000
  stops after 1: owes  ₦198,000, handset worth  ₦187,200, cover -₦10,800
  stops after 2: owes  ₦180,000, handset worth  ₦182,400, cover   ₦2,400
  stops after 3: owes  ₦162,000, handset worth  ₦177,600, cover  ₦15,600
deposit 20%, 12 instalments of ₦16,000, financed ₦192,000
  stops after 0: owes  ₦192,000, handset worth  ₦192,000, cover       ₦0
  stops after 1: owes  ₦176,000, handset worth  ₦187,200, cover  ₦11,200
  stops after 2: owes  ₦160,000, handset worth  ₦182,400, cover  ₦22,400
  stops after 3: owes  ₦144,000, handset worth  ₦177,600, cover  ₦33,600
deposit 10%, 6 instalments of ₦36,000, financed ₦216,000
  stops after 0: owes  ₦216,000, handset worth  ₦192,000, cover -₦24,000
  stops after 1: owes  ₦180,000, handset worth  ₦187,200, cover   ₦7,200
  stops after 2: owes  ₦144,000, handset worth  ₦182,400, cover  ₦38,400
  stops after 3: owes  ₦108,000, handset worth  ₦177,600, cover  ₦69,600

The first block is the chapter’s table. A 20% deposit closes the gap from day one; a six-month tenor closes it after the first instalment but doubles the instalment to ₦36,000. The Decide below uses these three.

Break it. Step 5 gave PL 0 defaults. Change the question to “past due at all” and run it again:

python3 - <<'EOF'
import sqlite3

def naira(k):
    return f"₦{k // 100:,}.{k % 100:02d}"

db = sqlite3.connect("data/finance.sqlite")
print(f"{'product':8} {'loans':>5} {'past due':>8} {'share':>6} {'principal on past-due loans':>28}")
for code, n, late, out in db.execute("""
        SELECT product, COUNT(*), SUM(days_past_due > 0),
               SUM(CASE WHEN days_past_due > 0 THEN outstanding_principal_kobo ELSE 0 END)
        FROM loans GROUP BY product ORDER BY product"""):
    print(f"{code:8} {n:>5} {late:>8} {100 * late / n:>5.1f}% {naira(out):>28}")
EOF

You will see PL at 6 of 52, 11.5%, with ₦620,029.16 of principal on those loans, and SME at 4 of 45 with ₦1,287,157.59. BNPL is 6 of 85 and SAL 28 of 190. The personal loan went from the safest product to the second worst by count. Nothing in the data changed; the definition did. A default rate needs two things stated with it: how long the loans have been running, and what counts as bad.

ARTEFACT Write the loan product term sheet ~45 MIN
YOU PRODUCEA loan product term sheet (one page)

Template

# Term sheet: <product name>, <lender>
Draft <date> by <analyst>, <team>. For approval by <role>. Decision needed by <date>.

## 1. Who it is for
<Borrower, how they find the product, and who is excluded.>

## 2. Amount and term
- Amount: <min> to <max>   Tenor: <days or months>   Repayments: <bullet or n instalments>

## 3. Pricing
- Rate: <% per period>   Fee at payout: <%>   Late fee: <₦ or none>
- Worked example: borrower receives <₦>, owes <₦> in all, over <days>. Source: <lab step or assumption>

## 4. Repayment
- Source: <salary, sales, asset>   Rail: <rail>   Collateral: <what, or none>
- If the rail fails: <what the lender does, and in what order>

## 5. Risks
- <Risk 1, in numbers where you can>   <Risk 2>
- Break-even default share, or collateral cover: <working>

## 6. How it differs from our existing products
| Product | Same | Different |

## 7. How this could be wrong
<One way, and what would show it.>

## 8. Decision and sign-off
Decision needed: <what, from whom, by when>. Out of scope: <what this sheet does not decide>.
Prepared <name, date>. Approved <name, date>.
WORKED EXAMPLE

Lade, an analyst at Owoleaf, writes the first draft; Owoleaf’s head of lending signs it. This is a draft for Monday 23 November 2026, using the chapter’s invented handset numbers.

Product. Handset instalment plan, for Owoleaf wallet customers buying a ₦240,000 handset from Lumora Mobile. Excluded (an assumption for the pilot): anyone with a salary advance in default.

Amount and term. Financed ₦192,000 after a 20% deposit of ₦48,000, over 12 monthly instalments of ₦16,000 (step 9).

Pricing. No interest and no fee: the margin sits in the handset price, which is an assumption. The borrower owes ₦192,000 in all. Owoleaf earns nothing on this sheet, so the margin must be agreed with the seller before launch.

Repayment. Source: the customer’s income. Rail: direct debit, which fails on empty accounts or a cancelled mandate (step 6: 11.0% of PL instalments, also on direct debit, were paid late and 4.6% not at all). Collateral: the handset. If the debit fails: retry, then call the customer, then recover the handset. Whether a handset lock is lawful is unchecked, so the pilot does not rely on one.

Risks. Cover is the handset’s worth minus the balance owed: ₦192,000 − ₦192,000 = ₦0 on day one, and ₦187,200 − ₦176,000 = ₦11,200 after one instalment (step 9). With a 10% deposit it would be -₦24,000 on day one.

Differences. BNPL has four instalments over 56 days on a card, up to ₦300,000; this has twelve. PL charges 4.5% a month; this charges none and has collateral.

Could be wrong. The 80% resale value and ₦4,800 monthly loss are invented, and the cover ignores the cost of recovering a phone. A first recovered handset selling below ₦192,000 would show it.

Decision. The head of lending is asked to approve a pilot with the 20% deposit by 4 December 2026. The seller’s margin, licensing and collections are out of scope.

Now you

In December 2026, Owoleaf’s head of lending wants a pilot for a salary advance tied to the pay date instead of 30 days. You write the term sheet, and the head of lending signs it. Use the lab’s own books. Step 2 prints the SAL terms: 5% for 30 days, a 1% fee, ₦10,000 to ₦150,000, and ₦500 late fee. Step 5 shows 15.3% of the naira lent in default; the chapter’s arithmetic on L000002 (step 7) gives a break-even default share of 5.7%. The chapter’s Ferrowave section gives the pay-date trap and an invented limit of 30% of net pay, so ₦180,000 net becomes ₦54,000. Assume the pilot employer pays through Ferrowave on the 28th of each month. Keep SAL’s rate and fee and say what the new product changes: the due date, the limit and the evidence of pay. Name two ways it differs from SAL and one from PL. The head of lending reads the sheet to decide whether to pilot with one employer.

Self-check

DECIDE

Lumora Mobile is designing handset financing for its subscribers. On the invented numbers of this chapter (a ₦240,000 handset, a recovered phone worth ₦192,000 and losing ₦4,800 a month), a 10% deposit and 12 instalments of ₦18,000 leave the lender ₦24,000 short if a buyer never pays, and ₦10,800 short after one instalment. The product team may change one thing before launch. Which one do you test first?

READING
  1. DOC
    Digital lending: FCCPC tackles abuses, issues landmark regulations Federal Competition and Consumer Protection Commission, 2025

    The Commission's own announcement of the 2025 digital lending regulations and their start date. Read it for the regulator's stated aims, then open the regulations themselves to see what they cover.

  2. DOC
    Digital, Electronic, Online or Non-Traditional Consumer Lending Regulations, 2025 FCCPC, 2025

    The text itself, posted by the FCCPC. Read the scope and registration provisions to decide whether a product is covered; summaries disagree on details such as the start date and BNPL, and the text settles them.

  3. DOC
    Operational guidelines on Global Standing Instructions (GSI) for individuals Central Bank of Nigeria, 2020

    The CBN's own guidelines for the repayment rail the lab's SME product uses. Read the mandate and recovery provisions. This is the 2020 file; reports say it was amended in January 2022, so check the CBN's site for the current text before relying on it.

  4. POST
    The Equipment Leasing Act 2015 Equipment Leasing Association of Nigeria

    A summary of the Act that sets up lease registration in Nigeria, written by the leasing industry's association, not the legislature. Use it to learn what the Act covers, then read the Act's text before quoting a rule from it.

  5. PAPER
    Six Randomized Evaluations of Microcredit: Introduction and Further Steps Abhijit Banerjee, Dean Karlan and Jonathan Zinman, 2015

    The evidence on small loans to businesses and households from six randomised studies in six countries, summarised by the authors. It reports modest benefits, not transformation; read it to see what borrowers did with small loans, and return to it in module 5. Read: The introduction and the concluding discussion.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: The loan lifecycle: from application to closure →