Lending partnerships: lending-as-a-service, co-lending with banks and loan marketplaces
Someone else's balance sheet, licence or customers can start a lending business faster. The contract decides who funds, who services, who owns the customer and who pays when the loans go bad
Owoleaf and Northmere are negotiating a term sheet to co-lend personal and SME loans. Northmere would fund 80%, Owoleaf 20%. Owoleaf would also give a first-loss guarantee: it reimburses Northmere's losses from the first naira, up to 5% of the originated principal. In a stress where 8% of the originated principal is lost, who is out of pocket by more in the lab's model: the partner that funds 80%, or the one that funds 20%?
Every example in this chapter uses invented terms, labelled as such. Nothing here tells you which partner, bank or structure to choose, and nothing is legal advice. Where a Nigerian rule applies, the chapter says how far its source reaches.
Three ways to lend with someone else
A lender needs four things: customers, a decision, money and permission to lend. A partnership swaps some of them between two parties. Three structures cover most of what you will meet.
| Structure | Who holds the licence and the money | Who finds and decides | Who bears the credit loss | What the platform earns |
|---|---|---|---|---|
| Lending-as-a-service (LaaS) | A licensed lender (a bank, say) lends in its own name from its own balance sheet | The platform finds the customer and often runs the decision to the bank’s policy | Normally the licensed lender, unless a guarantee moves it | A fee for origination and servicing, sometimes a share of interest |
| Co-lending | Two lenders each fund a share of every loan | The originator finds the customer and decides, within a shared policy | Each its share, adjusted by any guarantee | Interest on its share, fees, a servicing fee |
| Marketplace or aggregator | Several lenders, each on its own | The marketplace shows the customer offers; each lender decides for itself | The lender that makes the loan | A fee for a lead, an approval or a disbursement |
The difference that matters is who is the lender of record: the party the customer’s loan agreement names as lender, whose licence the loan sits under and whom a regulator holds accountable. In LaaS and co-lending the bank is one. In a marketplace each lender is. A platform that finds, scores and collects but is not the lender of record has done most of the work and carries least of the legal weight, and that gap is where partnership disputes and regulatory attention start. Which licence Owoleaf itself holds is the question of the licences chapter in this module. Here you assume the partnership is permitted and ask what it does to the money.
Two terms you will see in term sheets. An originator finds and underwrites the loan and usually services it. A funder supplies the principal. In co-lending one party can be both on its own share. Servicing is everything after disbursement: collecting repayments, handling arrears, answering the customer. The collections chapter covers the last part.
The term sheet as arithmetic
A term sheet is a list of numbers and rules that decide who is paid when. Put them in code before you argue about them. The lab’s terms, all invented, are:
| Term | Illustrative value |
|---|---|
| Northmere’s share of each loan’s principal | 80% (8,000 basis points; a basis point is one hundredth of a percent) |
| Owoleaf’s share | 20% |
| Servicing fee, paid by Northmere to Owoleaf | 10% of the interest collected on Northmere’s share |
| Origination fee (the product’s 1% or 1.5%) | All Owoleaf’s, with late fees |
| Northmere’s cost of funds | 12% a year |
| Owoleaf’s cost of funds | 18% a year |
| Cost per loan | ₦500 for Northmere (monitoring), ₦3,000 for Owoleaf (origination and servicing) |
| First-loss guarantee | Owoleaf covers Northmere’s losses up to 5% of the originated principal |
Northmere’s cost of funds is lower because it funds from deposits, the contrast the economics of a loan chapter drew. That gap is why a bank wants the loans and a lender with customers wants the bank.
Take loan L000043, a ₦310,000 personal loan for six months at 4.5% a month. Northmere funds 0.80 × ₦310,000 = ₦248,000 and Owoleaf ₦62,000. The first instalment’s interest, from the schedule, is ₦13,950.00. Split 80/20 it is ₦11,160.00 to Northmere and ₦2,790.00 to Owoleaf. The servicing fee is 10% of ₦11,160.00, which is ₦1,116.00, so Northmere keeps ₦10,044.00 and Owoleaf receives ₦3,906.00. Owoleaf funded a fifth of the loan and received 28% of this instalment’s interest, because the servicing fee compensates it for the work. Step 2 of the lab reproduces these figures.
Money is integer kobo throughout. An 80% share of an odd number of kobo is not whole, so the code gives Northmere its share rounded down and Owoleaf the remainder. The two always sum to the loan, and the lab asserts it.
Where the money goes on a real book
The lab co-lends the personal loans and the SME loans in the default book: 97 loans, ₦54,378,000 originated (52 personal loans for ₦8,124,000 and 45 SME loans for ₦46,254,000, counted in step 1). Imagine the programme had started with the first loan. Two loans defaulted or were written off at the cut-off, and the loss is the outstanding principal, ₦895,724.95, because this book recovers almost nothing after default, which the collections chapter showed. Loans still running have earned only part of their interest, so every figure is income to the cut-off, not lifetime profit.
Step 3 gives each partner’s account. Read three things in it.
The bank earns a steady margin and carries the tail. Northmere’s income is interest on its share less the servicing fee and funding. It does not need to find a customer or run an app. In exchange it owns 80% of the loss. Its net is ₦2,034,226.80 to the cut-off, 18.6% a year on the funds it employed.
The originator earns fees whether the loan is good or bad. Owoleaf’s net is ₦1,449,725.49. Of its income, the origination fees (₦775,050.00) and the servicing fee (₦456,641.88) together exceed its interest on its own share (₦1,141,606.12). A fee taken at disbursement is kept even if the borrower stops paying. This is the economics chapter’s point about fees, now across two firms: the party that earns the fee and bears less of the loss has a different incentive from the one that bears the loss.
Return on funds flatters the originator. Owoleaf’s net is 53.1% a year on the funds it committed, against Northmere’s 18.6%. The ratio is high because fees and servicing income need no funds. It does not mean Owoleaf is the better lender. Compare the alternative in the last two lines. Lending the same loans alone, at its own 18% funding cost, Owoleaf would earn ₦2,877,214.51 on ₦54,378,000 of funds (21.1% a year). Co-lending, it earns ₦1,449,725.49 on ₦10,875,600. It gives up half the profit and uses a fifth of the capital.
The split of the rounding is cosmetic. The servicing fee is computed on each loan and rounded down, so the book’s ₦456,641.88 differs by 40 kobo from 10% of the book’s ₦4,566,422.76. A reconciliation between the partners must expect that difference and state the rounding rule in the contract, or it will chase pennies every month.
Sharing the loss: pari passu, first loss and retention
Pari passu loss sharing makes each party bear its funding share of every loss. A first-loss default guarantee (FLDG) makes the originator reimburse the funder’s losses from the first naira, up to a cap. The credit guarantees chapter built both forms for a third-party guarantor. Here the guarantor is the originator, which changes the incentive, as the stress table shows.
Step 4 holds the observed income and costs and stresses only the loss, from 0% to 12% of the originated principal. In this book the observed loss is 1.6% of the originated principal. That is low because the personal loans have not yet had time to go bad: of the 52 in this book, 27 are current, 19 closed and 6 in arrears, and none is in default. Read the table in two halves.
Pari passu, Owoleaf’s profit falls slowly as losses rise (₦1,628,870.49 at 0% to ₦323,798.49 at 12%), because it bears 20% of each naira. Northmere’s falls fast and turns negative at 8%. With the guarantee, Northmere loses nothing until its 80% share of the loss exceeds the cap, which happens at a total loss of 6.25% (0.8 × 6.25% = 5%), and Owoleaf goes negative at 3%: its guarantee payments exceed what its fees and interest bring in. At 12% the cap is exhausted, Northmere bears the excess over it, and Owoleaf has lost ₦2,395,101.51.
The guarantee does two things. It sells Northmere confidence, because the bank’s credit committee can see a number below which it loses nothing. And it prices the originator’s belief in its own underwriting. Whether that is a fair price for the bank’s money is a funding decision: Owoleaf’s effective cost of the guarantee is the expected payment, which at the observed 1.6% loss is about 1.3% of the originated principal (80% of 1.6%), paid to the bank from Owoleaf’s pocket.
Retention is the share of each loan the originator keeps on its own book. If Owoleaf funds 5% and not 20%, pari passu, its profit falls from ₦1,226,857.62 to ₦900,589.62 across the same loss range, a drop of ₦326,268.00, against ₦1,305,072.00 at 20% retention. Cheap exposure to loss lets the originator relax. It approves more, and the approvals are weakest at the margin, where the decisions chapter showed the bad rate rises. A funder protects itself with a minimum retention and with a right to refuse loans that break the shared policy.
For a comparator, the Reserve Bank of India has a co-lending rulebook with both features, which is useful as a worked example of what a regulator asks for, though it is not Nigerian law:
The Reserve Bank of India’s Co-Lending Arrangements Directions 2025, as law-firm summaries describe them (the RBI text was not read), were issued on 6 August 2025 and apply from 1 January 2026; they allow an originating lender to give a default loss guarantee of up to 5% of the outstanding portfolio, and require each regulated lender to keep at least 10% of each loan on its own books. Some search results cite the April 2025 draft and not the final textas of 2026-11. The lab’s 5% cap (of originated, not outstanding, principal) and 20% retention are inspired by those figures and set by you, not by India or Nigeria.
The contract: customer, data and liability
A model sets the economics. The contract sets everything the model leaves out. Nine clauses decide most partnership disputes.
- Eligibility. The loans the funder must take: product, size, score, income, tenor. Write them as a shared credit policy that a test can run, as the writing a credit policy chapter in this module describes. A loan that fails the test is ineligible, and the contract says who buys it back and at what price.
- Decisions. Who decides, and who can overrule. A funder that can reject any loan has an option on the originator’s work. A funder that cannot is relying on the originator’s policy.
- The cash waterfall. Repayments arrive in one account. The contract says how often they are swept to the funder, in what order (fees, interest, principal, late fees), and what happens to money sitting in the originator’s hands if the originator fails. A daily sweep with reconciliation is the safe pattern. The Payments course’s reconciliation chapter and its ledger design chapters apply directly: each partner books its share, and the two ledgers must agree to the kobo.
- Servicing and collections. Who contacts a borrower in arrears and what conduct rules apply. The funder usually delegates this and keeps audit rights. A bank whose name is on the loan answers for how its servicer behaves.
- Data. What each party may see and use. The funder wants loan-level data and bureau reporting. The originator wants its customer data not to become the funder’s marketing list. The Nigeria Data Protection Act (NDPA) allocates duties by whether a party decides the purpose of processing (a controller) or acts for someone (a processor); which role each partner has is a legal question, and the contract should name it.
- The customer relationship. Whose brand, whose app, whose complaints queue. A customer who borrowed through Owoleaf’s app from Northmere’s money will complain to whichever number is on the screen. The contract assigns a route and a time limit.
- Fraud and warranties. The originator warrants that the identity was checked and the borrower consented. If a loan turns out to be synthetic (the lending fraud chapter described how), who bears it is decided here.
- Step-in and run-off. If the originator fails, the funder needs to take over servicing; if the programme ends, existing loans run to maturity under the old terms. Both need data, systems and people that still exist. A programme that cannot be wound down is one the funder never really controls.
- Reporting and audit. The monthly portfolio pack, the funder’s right to sample loans, and who pays for it.
What Nigeria’s rules say
The searches for this chapter did not find a Nigerian regulation on co-lending itself, or on lending-as-a-service, written by the CBN or the FCCPC. What they found are rules about digital consumer lending that reach partnerships, and commentary that treats the rest as open. The status below rests on those searches and on law-firm summaries, and no document was read in full.
The FCCPC’s Digital, Electronic, Online or Non-Traditional Consumer Lending Regulations 2025 (DEON), per search summaries, apply to unsecured consumer lending through digital channels, exempt banks and other financial institutions licensed under the Banks and Other Financial Institutions Act (BOFIA) from their scope (summaries differ on how far the exemption reaches), and bar a partnership between an undertaking in a regulated industry and a non-regulated undertaking for consumer lending services unless approvals are in place. The same summaries say a Consumer Lending Services Agreement, the partnership contract, forms part of an application for approval and that any later amendment or novation also needs the Commission’s approval. One firm summary says Section 13 sets minimum content for that agreement, which the searches did not showas of 2026-11. Read in that light, a bank co-lender such as Northmere may sit outside the Regulations while its digital partner does not, and the partnership contract is itself something the partner may have to submit. Whether Northmere’s co-lending programme with an app needs that approval is a question for a lawyer who has read the text.
The FCCPC’s separate DEON Consumer Lending Guidelines 2025 are reported to repeal the Limited Interim Regulatory/Registration Framework and Guidelines for Digital Lending 2022; sources disagree on their effective date, one giving 18 November 2025. Summaries of the Regulations give 21 July 2025 as the commencement date in most accounts, one gives 3 September 2025, and some cite 25 July as the issue date. An FCCPC page and press reports say implementation was suspended after a court order in April 2026 and resumed in July 2026, so check the current statusas of 2026-11. Where sources disagree on a date, the chapter does not choose.
One law-firm analysis says a lender cannot hire agents or vendors for debt recovery or lending services without the FCCPC knowingas of 2026-11. That bears on clause 4: a servicer or agency you delegate to may itself be within the Regulations. The consumer protection chapter in this module treats registration and conduct in more detail, and what the Regulations say about complaints and data applies to whichever party the customer deals with.
Law-firm and press coverage reports that on 10 June 2026 the CBN issued an exposure draft of Guidelines on Ring-Fencing Operations of Closely Linked Entities, under which entities in a banking group (a bank and its fintech affiliate, say) would face limits on funding and guaranteeing each other, would have to deal at arm’s length and could not share customer data without explicit consent; comments closed on 9 July 2026, and the searches did not show whether it was finalisedas of 2026-11. It would matter only if a lender and its funder were group companies, which Owoleaf and Northmere are not, but it shows where a regulator looks first: guarantees between related parties and data moving between them.
A law-firm commentary says the CBN revoked 46 microfinance bank (MFB) licences in July 2026 (press reports differ on the count and dates) and draws the lesson that when a fintech’s banking partner loses its licence, the fintech’s service and its customers’ funds can be disrupted even if the fintech is itself compliantas of 2026-11. It is the reason clause 8 exists: diligence runs both ways, and a funder’s failure can strand an originator’s customers.
Marketplaces and aggregators
A marketplace takes an application once, shows a customer offers from several lenders, and passes the chosen application to a lender. Its income is a fee: a flat amount per lead, per approval or per disbursement. Illustrative arithmetic: it routes 1,000 applications a month, three lenders approve 22% of them, and it earns ₦2,000 per approved loan. That is 1,000 × 0.22 × ₦2,000 = ₦440,000 a month, with no loan on its books.
Three things go wrong. Ranking by fee: if offers are ordered by what the lender pays and not by what the customer pays, the marketplace has a conflict of interest, and customers compare badly. Stacking: a customer shown five offers may take three, and the lenders’ bureau enquiries and loan counts rise without any of them seeing the others. This is the loan stacking of the lending fraud chapter, caused by design. Data: the marketplace holds each customer’s application, and a lender that lets it hold more than it needs invites a breach. The earlier chapters’ rules on consent and purpose apply to a marketplace like any other lender’s data use, and the FCCPC summaries above reach platforms that are not the lender. Which obligations fall on a marketplace the searches did not settle.
Where it goes wrong
- A guarantee nobody priced. A first-loss cover is a cost to the originator. It appears on no income statement until a loss arrives, and then it is the largest line. Model it before signing, at 3%, 5% and 8%.
- Retention too low. An originator with little of its own money at stake approves loans it would not fund alone.
- Ratios in place of rands. The return on funds employed makes the smaller partner look best. Compare profit, loss at stress and capital used.
- Cash in the wrong account. Repayments sit with the originator for days and the originator fails, or the daily sweep runs on a holiday. Test the waterfall on a bad day.
- Ineligible loans. A shared policy nobody tests lets the originator send a loan the funder would have refused. Run the eligibility test on the whole book each month.
- No exit. The programme ends and neither party can service the loans. Write the run-off before the launch.
You work in labs/finance. The scripts only read data/finance.sqlite, opened read-only. Every term is invented and sits at the top of colend.py.
1. Check the book. If data/ does not exist, build it with the README’s commands: python3 generate.py && python3 loans.py. Then count the loans you will co-lend.
cd labs/finance
python3 - <<'PY'
import sqlite3
db = sqlite3.connect("file:data/finance.sqlite?mode=ro", uri=True)
for product, n, principal, bad in db.execute("""SELECT product, COUNT(*), SUM(principal_kobo),
SUM(status IN ('default', 'written_off')) FROM loans WHERE product IN ('PL', 'SME') GROUP BY 1"""):
print(product, n, principal, bad)
PYPL 52 812400000 0
SME 45 4625400000 252 personal loans and 45 SME loans, ₦54,378,000 in all (812,400,000 + 4,625,400,000 kobo). Two SME loans are in default or written off and the personal loans have none yet.
2. Write the term sheet and the split. Save this as colend.py. load reads the loans, their repayments and the cut-off and works out each loan’s principal-days (kobo outstanding times days, to the cut-off). run gives each partner’s income, cost and loss.
"""Co-lend Owoleaf's personal loans and SME loans with Northmere. Illustrative terms, integer kobo."""
import datetime as dt
import sqlite3
import sys
DB = sys.argv[1] if len(sys.argv) > 1 else "data/finance.sqlite"
# ILLUSTRATIVE term sheet. Every number here is invented: change them.
TERMS = dict(
products=("PL", "SME"),
bank_share_bps=8000, # Northmere funds 80% of each loan's principal, Owoleaf 20%
servicing_bps=1000, # Owoleaf keeps 10% of the interest collected on Northmere's share
bank_funding_bps=1200, # Northmere's cost of funds, a year
owoleaf_funding_bps=1800, # Owoleaf's cost of funds, a year
bank_cost_per_loan=50_000, # Northmere's monitoring cost per loan: ₦500
owoleaf_cost_per_loan=300_000, # Owoleaf's origination and servicing cost per loan: ₦3,000
fldg_bps=500, # first-loss guarantee: 5% of the portfolio's originated principal
)
LOST = ("default", "written_off")
def naira(kobo):
sign = "-" if kobo < 0 else ""
kobo = abs(kobo)
return f"{sign}₦{kobo // 100:,}.{kobo % 100:02d}"
def split(amount, bank_bps):
"""Integer split. The bank gets its share rounded down; the remainder is Owoleaf's, so nothing is lost."""
bank = amount * bank_bps // 10_000
return bank, amount - bank
def load(db_path=DB, terms=TERMS):
db = sqlite3.connect(f"file:{db_path}?mode=ro", uri=True)
cutoff = dt.date.fromisoformat(db.execute("SELECT value FROM loan_book_meta WHERE key='cut_off'").fetchone()[0])
marks = ",".join("?" * len(terms["products"]))
loans = db.execute(f"""SELECT id, product, principal_kobo, fee_kobo, disbursed_at, status, outstanding_principal_kobo
FROM loans WHERE product IN ({marks}) ORDER BY id""", terms["products"]).fetchall()
paid = {}
for lid, paid_at, p, i, f in db.execute("SELECT loan_id, paid_at, principal_kobo, interest_kobo, late_fee_kobo FROM repayments ORDER BY paid_at"):
paid.setdefault(lid, []).append((dt.date.fromisoformat(paid_at), p, i, f))
rows = []
for lid, product, principal, fee, disbursed, status, outstanding in loans:
balance, day, pdays = principal, dt.date.fromisoformat(disbursed), 0
interest = late = 0
for d, p, i, f in paid.get(lid, []):
pdays += balance * (d - day).days # kobo-days of principal outstanding
balance, day = balance - p, d
interest += i
late += f
pdays += balance * (cutoff - day).days
rows.append(dict(id=lid, product=product, principal=principal, fee=fee, interest=interest, late=late,
pdays=pdays, lost=outstanding if status in LOST else 0))
return rows
def run(rows, terms=TERMS):
"""Each party's income and cost to the cut-off, as a dict of integer kobo."""
b = dict(funded=0, interest=0, servicing_paid=0, funding_cost=0, cost=0, loss=0)
o = dict(funded=0, interest=0, servicing_fee=0, fee=0, late=0, funding_cost=0, cost=0, loss=0)
b_pdays = o_pdays = 0
for r in rows:
bp, op = split(r["principal"], terms["bank_share_bps"])
bi, oi = split(r["interest"], terms["bank_share_bps"])
bl, ol = split(r["lost"], terms["bank_share_bps"])
sv = bi * terms["servicing_bps"] // 10_000
bpd, opd = split(r["pdays"], terms["bank_share_bps"])
b_pdays += bpd; o_pdays += opd
b["funded"] += bp; b["interest"] += bi; b["servicing_paid"] += sv; b["loss"] += bl
b["funding_cost"] += bpd * terms["bank_funding_bps"] // (10_000 * 365)
b["cost"] += terms["bank_cost_per_loan"]
o["funded"] += op; o["interest"] += oi; o["servicing_fee"] += sv; o["fee"] += r["fee"]; o["late"] += r["late"]
o["loss"] += ol
o["funding_cost"] += opd * terms["owoleaf_funding_bps"] // (10_000 * 365)
o["cost"] += terms["owoleaf_cost_per_loan"]
b["net"] = b["interest"] - b["servicing_paid"] - b["funding_cost"] - b["cost"] - b["loss"]
o["net"] = (o["interest"] + o["servicing_fee"] + o["fee"] + o["late"]
- o["funding_cost"] - o["cost"] - o["loss"])
b["pdays"], o["pdays"] = b_pdays, o_pdays
return b, oThen check one loan by hand. Save this as loan43.py and run it.
import csv
from colend import TERMS, naira, split
ROW = next(r for r in csv.DictReader(open("data/schedule.csv")) if r["loan_id"] == "L000043" and r["instalment"] == "1")
principal = int(next(r for r in csv.DictReader(open("data/loans.csv")) if r["id"] == "L000043")["principal_kobo"])
bank_p, owo_p = split(principal, TERMS["bank_share_bps"])
interest = int(ROW["interest_kobo"])
bank_i, owo_i = split(interest, TERMS["bank_share_bps"])
servicing = bank_i * TERMS["servicing_bps"] // 10_000
print(f"L000043 principal {naira(principal)}: Northmere {naira(bank_p)}, Owoleaf {naira(owo_p)}")
print(f"instalment 1 interest {naira(interest)}: Northmere {naira(bank_i)}, Owoleaf {naira(owo_i)}")
print(f"servicing fee, Northmere to Owoleaf: {naira(servicing)}")
print(f"Northmere keeps {naira(bank_i - servicing)}; Owoleaf receives {naira(owo_i + servicing)}")
print("sums:", bank_p + owo_p == principal, bank_i + owo_i == interest)python3 loan43.pyL000043 principal ₦310,000.00: Northmere ₦248,000.00, Owoleaf ₦62,000.00
instalment 1 interest ₦13,950.00: Northmere ₦11,160.00, Owoleaf ₦2,790.00
servicing fee, Northmere to Owoleaf: ₦1,116.00
Northmere keeps ₦10,044.00; Owoleaf receives ₦3,906.00
sums: True TrueThe figures match the worked loan in the chapter: 0.80 × ₦310,000 = ₦248,000, 0.80 × ₦13,950 = ₦11,160, and 10% of ₦11,160 is ₦1,116.
3. Run the book. Save this as report.py. It asserts that the split creates and loses no kobo, prints each partner’s account and compares co-lending with Owoleaf lending alone.
import sys
from colend import DB, TERMS, load, run, naira
db_path = sys.argv[1] if len(sys.argv) > 1 else DB
rows = load(db_path)
bank, owo = run(rows)
principal = sum(r["principal"] for r in rows)
pdays = sum(r["pdays"] for r in rows)
# Checks: nothing created or lost by the split.
assert bank["funded"] + owo["funded"] == principal
assert bank["interest"] + owo["interest"] == sum(r["interest"] for r in rows)
assert bank["loss"] + owo["loss"] == sum(r["lost"] for r in rows)
print(f"{db_path}: {len(rows)} PL and SME loans, {naira(principal)} originated, "
f"{naira(sum(r['lost'] for r in rows))} of principal in default or written off\n")
print(f" {'':<24}{'Northmere':>18}{'Owoleaf':>18}")
lines = [("funded (principal)", bank["funded"], owo["funded"]),
("interest on its share", bank["interest"], owo["interest"]),
("servicing fee", -bank["servicing_paid"], owo["servicing_fee"]),
("origination fees", 0, owo["fee"]),
("late fees", 0, owo["late"]),
("cost of funds", -bank["funding_cost"], -owo["funding_cost"]),
("cost per loan", -bank["cost"], -owo["cost"]),
("loss on default", -bank["loss"], -owo["loss"])]
for label, b, o in lines:
print(f" {label:<24}{naira(b):>18}{naira(o):>18}")
print(f" {'net to the cut-off':<24}{naira(bank['net']):>18}{naira(owo['net']):>18}")
for who, d in (("Northmere", bank), ("Owoleaf", owo)):
print(f" {who} net, annualised on funds employed: {d['net'] * 365 / d['pdays']:.1%}")
# What if Owoleaf had lent every naira itself, at its own cost of funds?
solo = dict(TERMS, bank_share_bps=0)
_, alone = run(rows, solo)
print(f"\nOwoleaf alone (100% its own funds): net {naira(alone['net'])}, funded {naira(alone['funded'])}, "
f"{alone['net'] * 365 / alone['pdays']:.1%} annualised")
print(f"Owoleaf co-lending: net {naira(owo['net'])}, funded {naira(owo['funded'])}, "
f"{owo['net'] * 365 / owo['pdays']:.1%} annualised")python3 report.pydata/finance.sqlite: 97 PL and SME loans, ₦54,378,000.00 originated, ₦895,724.95 of principal in default or written off
Northmere Owoleaf
funded (principal) ₦43,502,400.00 ₦10,875,600.00
interest on its share ₦4,566,422.76 ₦1,141,606.12
servicing fee -₦456,641.88 ₦456,641.88
origination fees ₦0.00 ₦775,050.00
late fees ₦0.00 ₦38,000.00
cost of funds -₦1,310,474.13 -₦491,427.51
cost per loan -₦48,500.00 -₦291,000.00
loss on default -₦716,579.95 -₦179,145.00
net to the cut-off ₦2,034,226.80 ₦1,449,725.49
Northmere net, annualised on funds employed: 18.6%
Owoleaf net, annualised on funds employed: 53.1%
Owoleaf alone (100% its own funds): net ₦2,877,214.51, funded ₦54,378,000.00, 21.1% annualised
Owoleaf co-lending: net ₦1,449,725.49, funded ₦10,875,600.00, 53.1% annualisedThe assertions pass silently. Read the two annualised figures with care: Owoleaf’s 53.1% is high because its fees and servicing income need no funds. The last two lines compare profit and capital: co-lending halves Owoleaf’s profit and uses a fifth of its capital. The servicing fee is ₦456,641.88 and not 10% of ₦4,566,422.76 (₦456,642.28) because each loan’s fee is rounded down.
4. Stress the loss, with and without the guarantee. Save this as stress.py. It keeps the observed income and costs and replaces the loss with a fixed share of the originated principal. Its second argument is Northmere’s share in basis points.
import sys
from colend import DB, TERMS, load, run, naira, split
db_path = sys.argv[1] if len(sys.argv) > 1 else DB
bank_bps = int(sys.argv[2]) if len(sys.argv) > 2 else TERMS["bank_share_bps"]
terms = dict(TERMS, bank_share_bps=bank_bps)
rows = load(db_path)
bank, owo = run(rows, terms)
principal = sum(r["principal"] for r in rows)
bank_before_loss = bank["net"] + bank["loss"] # income less costs, before any loss
owo_before_loss = owo["net"] + owo["loss"]
cap = principal * terms["fldg_bps"] // 10_000 # the first-loss guarantee: a share of originated principal
print(f"Northmere funds {bank_bps / 100:.0f}%. Originated {naira(principal)}. "
f"Guarantee cap {terms['fldg_bps'] / 100:.0f}% = {naira(cap)}.")
print("Income and costs are the observed ones; only the loss is stressed.\n")
print(f" {'loss rate':>9}{'total loss':>16} {'pari passu':^34} {'with first-loss guarantee':^34}")
print(f" {'':>9}{'':>16} {'Northmere net':>17}{'Owoleaf net':>17} {'Northmere net':>17}{'Owoleaf net':>17}")
for bps in (0, 100, 300, 500, 800, 1200):
loss = principal * bps // 10_000
b_loss, o_loss = split(loss, bank_bps)
pay = min(b_loss, cap) # Owoleaf reimburses Northmere up to the cap
print(f" {bps / 100:>8.0f}%{naira(loss):>16} "
f"{naira(bank_before_loss - b_loss):>17}{naira(owo_before_loss - o_loss):>17} "
f"{naira(bank_before_loss - (b_loss - pay)):>17}{naira(owo_before_loss - (o_loss + pay)):>17}")python3 stress.pyNorthmere funds 80%. Originated ₦54,378,000.00. Guarantee cap 5% = ₦2,718,900.00.
Income and costs are the observed ones; only the loss is stressed.
loss rate total loss pari passu with first-loss guarantee
Northmere net Owoleaf net Northmere net Owoleaf net
0% ₦0.00 ₦2,750,806.75 ₦1,628,870.49 ₦2,750,806.75 ₦1,628,870.49
1% ₦543,780.00 ₦2,315,782.75 ₦1,520,114.49 ₦2,750,806.75 ₦1,085,090.49
3% ₦1,631,340.00 ₦1,445,734.75 ₦1,302,602.49 ₦2,750,806.75 -₦2,469.51
5% ₦2,718,900.00 ₦575,686.75 ₦1,085,090.49 ₦2,750,806.75 -₦1,090,029.51
8% ₦4,350,240.00 -₦729,385.25 ₦758,822.49 ₦1,989,514.75 -₦1,960,077.51
12% ₦6,525,360.00 -₦2,469,481.25 ₦323,798.49 ₦249,418.75 -₦2,395,101.51Check the 8% row by hand. Total loss 0.08 × ₦54,378,000 = ₦4,350,240. Northmere’s 80% is ₦3,480,192; the cap is 5% of ₦54,378,000 = ₦2,718,900, so Owoleaf reimburses ₦2,718,900 and Northmere bears ₦761,292. Northmere’s income before loss is ₦2,750,806.75, so its net is ₦1,989,514.75. Owoleaf bears ₦870,048 of its own plus ₦2,718,900: ₦3,588,948 against an income of ₦1,628,870.49, a net of -₦1,960,077.51.
5. Change the retention. Run the same stress with Northmere funding 95% (9,500 basis points).
python3 stress.py data/finance.sqlite 9500Northmere funds 95%. Originated ₦54,378,000.00. Guarantee cap 5% = ₦2,718,900.00.
Income and costs are the observed ones; only the loss is stressed.
loss rate total loss pari passu with first-loss guarantee
Northmere net Owoleaf net Northmere net Owoleaf net
0% ₦0.00 ₦3,275,676.60 ₦1,226,857.62 ₦3,275,676.60 ₦1,226,857.62
1% ₦543,780.00 ₦2,759,085.60 ₦1,199,668.62 ₦3,275,676.60 ₦683,077.62
3% ₦1,631,340.00 ₦1,725,903.60 ₦1,145,290.62 ₦3,275,676.60 -₦404,482.38
5% ₦2,718,900.00 ₦692,721.60 ₦1,090,912.62 ₦3,275,676.60 -₦1,492,042.38
8% ₦4,350,240.00 -₦857,051.40 ₦1,009,345.62 ₦1,861,848.60 -₦1,709,554.38
12% ₦6,525,360.00 -₦2,923,415.40 ₦900,589.62 -₦204,515.40 -₦1,818,310.38Pari passu, Owoleaf’s net now falls from ₦1,226,857.62 at 0% to ₦900,589.62 at 12%, a drop of ₦326,268.00. At 80/20 it fell by ₦1,305,072.00 (₦1,628,870.49 to ₦323,798.49). With 5% of its own money in each loan Owoleaf feels a quarter of the loss. Its income before loss is also lower, because it keeps less interest.
6. Repeat on the scale 1 book. If data1/ exists (the README’s “Scale 1” command builds it in about 40 seconds), run both scripts on it.
python3 report.py data1/finance.sqlite
python3 stress.py data1/finance.sqlitedata1/finance.sqlite: 920 PL and SME loans, ₦523,612,000.00 originated, ₦4,974,812.71 of principal in default or written off
Northmere Owoleaf
funded (principal) ₦418,889,600.00 ₦104,722,400.00
interest on its share ₦43,995,971.39 ₦10,998,997.48
servicing fee -₦4,399,593.16 ₦4,399,593.16
origination fees ₦0.00 ₦7,483,840.00
late fees ₦0.00 ₦257,000.00
cost of funds -₦12,510,249.20 -₦4,691,340.65
cost per loan -₦460,000.00 -₦2,760,000.00
loss on default -₦3,979,850.12 -₦994,962.59
net to the cut-off ₦22,646,278.91 ₦14,693,127.40
Northmere net, annualised on funds employed: 21.7%
Owoleaf net, annualised on funds employed: 56.4%
Owoleaf alone (100% its own funds): net ₦31,544,274.69, funded ₦523,612,000.00, 24.2% annualised
Owoleaf co-lending: net ₦14,693,127.40, funded ₦104,722,400.00, 56.4% annualisedNorthmere funds 80%. Originated ₦523,612,000.00. Guarantee cap 5% = ₦26,180,600.00.
Income and costs are the observed ones; only the loss is stressed.
loss rate total loss pari passu with first-loss guarantee
Northmere net Owoleaf net Northmere net Owoleaf net
0% ₦0.00 ₦26,626,129.03 ₦15,688,089.99 ₦26,626,129.03 ₦15,688,089.99
1% ₦5,236,120.00 ₦22,437,233.03 ₦14,640,865.99 ₦26,626,129.03 ₦10,451,969.99
3% ₦15,708,360.00 ₦14,059,441.03 ₦12,546,417.99 ₦26,626,129.03 -₦20,270.01
5% ₦26,180,600.00 ₦5,681,649.03 ₦10,451,969.99 ₦26,626,129.03 -₦10,492,510.01
8% ₦41,888,960.00 -₦6,885,038.97 ₦7,310,297.99 ₦19,295,561.03 -₦18,870,302.01
12% ₦62,833,440.00 -₦23,640,622.97 ₦3,121,401.99 ₦2,539,977.03 -₦23,059,198.01920 loans, ₦523,612,000 originated, an observed loss of ₦4,974,812.71 (0.95% of principal). The ratios barely move from the small book: Owoleaf nets 56.4% a year on its funds, Northmere 21.7%. The stress rows scale roughly ten times, and the sign flips at the same loss rates: Owoleaf is negative with the guarantee from 3%.
Change fldg_bps in TERMS to 0, then to 300, and run stress.py. At 0 the guarantee vanishes and the right-hand columns equal the left. At 300 the cap is 3% of ₦54,378,000, which is ₦1,631,340, and Northmere bears more of every stress from 5% up. Pick the cap at which Northmere’s net is still positive at 8% and write down what that costs Owoleaf. A cap is a price, and the price grows fastest in the stress you did not expect.
Template
# Partner due diligence: <partner>, <structure>
Prepared by <head of lending partnerships> · For <approver> · Date · Decision needed by <date>
## Proposal under review
<Structure, funding split, guarantee and cap, fees, status of the term sheet.>
## What the numbers say (source: <lab step or model>)
| | Us | Partner |
|---|---|---|
| Net at the observed loss | <₦> | <₦> |
| Net at a stress loss of <x%> | <₦> | <₦> |
| Capital committed | <₦> | <₦> |
## Questionnaire and findings
| # | Clause | Question for the partner | Answer and evidence seen | Finding |
|---|---|---|---|---|
| 1 | Eligibility | <question> | <answer, document> | <Clear / Gap / Open> |
| 2 | Decisions | ... | ... | ... |
(one or more rows for each of the nine clauses)
## Gaps and open items
<Each Gap or Open: what we need, from whom, by when.>
## Recommendation and what would change it
<Proceed to term sheet, proceed on conditions, or stop. Owner, review date, triggers.>
## How this could be wrong
<One risk, and the evidence that would show it.>
## Out of scope
<What this document does not decide.> WORKED EXAMPLE
At Owoleaf, the head of lending partnerships writes this and the head of finance signs it off before the term sheet goes to the credit committee.
Prepared by Aishat, head of lending partnerships, Owoleaf · For the head of finance and the board risk committee · 21 November 2026 · Decision needed by 4 December 2026: whether to sign the term sheet.
Proposal. Northmere funds 80% and Owoleaf 20% of personal and SME loans, with a first-loss guarantee from Owoleaf capped at 5% of originated principal, ₦2,718,900.00 on ₦54,378,000.00. Owoleaf commits ₦10,875,600.00.
Numbers (lab steps 3 and 4). At the observed loss of ₦895,724.95, Owoleaf nets ₦1,449,725.49 and Northmere ₦2,034,226.80. At an 8% stress loss, with the guarantee, Owoleaf nets -₦1,960,077.51 and Northmere ₦1,989,514.75. Owoleaf goes negative at 3% (-₦2,469.51).
Findings. Uzochi at Northmere has not yet answered the questionnaire, so the evidence is the term sheet alone.
| # | Clause | Evidence seen | Finding |
|---|---|---|---|
| 1 | Eligibility | Policy named, no test | Gap |
| 2 | Decisions | Silent on overrule | Open |
| 3 | Cash waterfall | No sweep frequency | Open |
| 4 | Servicing | Owoleaf services; no conduct rules | Gap |
| 5 | Data | Controller and processor roles unnamed | Gap |
| 6 | Customer | Owoleaf brand; complaints route unstated | Open |
| 7 | Fraud | No warranty | Gap |
| 8 | Step-in | No run-off clause | Open |
| 9 | Reporting | Silent on audit | Open |
Recommendation. Proceed to the term sheet only on conditions: an eligibility test, a daily sweep and a run-off clause are agreed in writing, and the board accepts an 8% downside of ₦1.96m. Owner: Aishat. Review: 19 December 2026.
How this could be wrong. The observed loss comes from loans that have not all matured; rising arrears on the 27 current personal loans would show it.
Out of scope. Regulatory approval and the guarantee’s legal wording are for counsel; Northmere’s credit committee decides its own terms.
Now you
A month later, an unnamed regional bank offers Owoleaf a co-lending programme on the same personal and SME loans. It would fund 95% and Owoleaf 5%, and wants the same 5% first-loss guarantee from Owoleaf. It asks for weekly sweeps, loan-level data on every borrower and a right to refuse any loan. It has sent a two-page summary and no contract. Assume the lab’s other terms apply.
You are Aishat. Write the questionnaire and findings. For the money, run lab step 5 (python3 stress.py data/finance.sqlite 9500) and use its 0%, 3% and 8% rows, with the guarantee. Add Owoleaf’s capital committed, 5% of ₦54,378,000. Map every question to one of the nine contract clauses, mark what the summary answers and what it leaves Open, and name the gaps you would refuse to sign over. Your reader is Owoleaf’s head of finance and board risk committee, and the document supports their decision on whether you may open term-sheet negotiations.
Self-check
Aishat and Uzochi must settle the proposed programme's loss terms before the term sheet is signed. Their lab model shows Northmere's net is positive at an 8% loss only with Owoleaf's first-loss guarantee, and Owoleaf's is then about -₦1.96m on ₦54m lent. The observed loss so far on Owoleaf's own book is 1.6%, on loans that have not all matured. Northmere's credit committee wants a guarantee. Owoleaf's board wants its downside limited.
- DOC FCCPC: Digital, Electronic, Online or Non-Traditional Consumer Lending Regulations 2025
The Regulations as the FCCPC hosts them. Read the scope, the exemption for banks licensed under BOFIA, and the clauses on partnerships and the Consumer Lending Services Agreement. Check every point this chapter takes from summaries against the text.
- DOC FCCPC: DEON Consumer Lending Guidelines 2025
The guidance issued with the Regulations. Read what it says about the earlier 2022 framework and about the process for approval. Sources differ on its effective date, so confirm it here.
- DOC FCCPC: FCCPC resumes digital lending regulation
The Commission's own page on the status of the Regulations after the 2026 court order. Read it for what is in force now, before the law-firm summaries.
- POST Demystifying DEON: your essential guide to the FCCPC's latest lending rules
A law-firm analysis, the source for the point about agents and vendors. It is commentary and not the rule: read it for the questions it raises and then read the Regulations.
- POST RBI issues Co-lending Directions, 2025
An Indian advisory firm's summary of the Reserve Bank of India's co-lending rules: retention, default loss guarantee cap and reporting. A worked comparator, not Nigerian law. Skip the Indian tax and KYC detail.
- POST Analysis of RBI Co-lending Arrangements Directions, 2025
A second law-firm reading of the same Directions. Compare its wording of the retention and guarantee rules with the first, since summaries differ, and go to the RBI's own text for the exact provision.
- POST When a banking partner loses its licence: what the CBN's revocation of 46 MFB licences means for fintech resilience
A law-firm commentary on partner failure. Read it for the due-diligence and wind-down questions that clause 8 answers, and treat its facts as a summary to verify against the CBN's own notices.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.