STAFFCHAPTER 32

Getting customers profitably: acquisition cost, lifetime value, channels and referral fraud

A lender pays for a customer first and learns whether the customer was worth it months later, when the losses arrive. Acquisition is a bet on a number you cannot see yet

60 MINLENDING AND CREDITUPDATED 2026-11-14
PREDICT

Owoleaf pays ₦1,500 for each salary-advance application that arrives through its app. In the lab's book, 3,274 such applications arrive and 1,438 are approved and taken up. What does one approved loan cost to acquire?

What a lender is buying

A wallet, a shop and a lender all want customers, and the lender alone pays for a customer and is then exposed to them. A shop sells a bag of rice and keeps the margin. A lender hands over money and waits to see whether it comes back. The customer’s value is therefore known only after the loan has run, and a customer acquired this quarter is a forecast until the loans have matured. Everything in this chapter follows from that delay.

Four terms carry the chapter.

  • Channel: the route by which a customer reaches the lender. In the lab’s applications.channel there are three: app, ussd (the short-code menu on a basic phone) and merchant_checkout (a loan offered at a shop’s payment page). Real lenders add paid social media, agents, referrals, employer partnerships and marketplaces.
  • CAC, customer acquisition cost: the money spent to get a customer, divided by the customers it got. The hard part is the word customer. The next section shows how much the answer moves with it.
  • LTV, lifetime value: what a customer or a loan earns the lender over its life. For a lender it must include credit losses, so it is a margin and not a revenue.
  • Payback: how long until the money a customer has earned covers what the lender spent on getting them.

The economics chapter (the economics of a loan) built the per-loan margin: income, less cost of funds, cost to serve and principal lost. LTV is that margin summed over a customer’s loans, and acquisition cost is the next line. It deliberately stopped before company overheads, and so does this chapter.

The funnel, and why CAC depends on the denominator

A funnel counts how many people reach each step and where the rest leave. For a lender the steps are: an application started, an application submitted, an identity and bureau check passed, a decision of yes, an offer accepted and a loan disbursed. In the lab’s tables you can see the last four: applications.decision is approved, declined (with a reason) or withdrawn (the customer did not take the offer).

Each step gives a different CAC. Suppose the app channel spends ₦4,911,000 on salary-advance applications. Per application that is ₦1,500. Per approved loan it is ₦3,415. If a growth team reports the first, it is reporting the cheapest number available. The two figures differ by 2.3 times because 56% of the applications fall out of the funnel (1,738 declined and 98 withdrawn of 3,274).

Where the applications fall out matters as much as how many. Two kinds of loss look alike and are not.

  • Credit declines are the lender’s rules working: a score below the cut-off, recent delinquency, no income evidence. The marketing was aimed at the wrong people or reached the right ones too late. These are the “good” leaks, because the lender does not want those loans.
  • Product-fit declines are a plain mismatch. The lab’s loan products have minimums (₦20,000 for BNPL, buy now, pay later), and a shopper whose basket is smaller cannot be financed. The lender paid for the application and could never have said yes.

The lab shows the second kind is large. At the merchant checkout 2,319 BNPL applications arrive and 1,232 are declined for “amount below product minimum”, 53% of all the checkout’s applications. That is a funnel defect, fixable by showing the offer only on baskets above the minimum, and no credit rule is involved. Every one of those applications was paid for.

A related trap is marginal against average CAC. The average is total spend over total customers. The marginal CAC is what the next customer costs, and it is the number that governs whether to double a budget. Channels saturate: the first ₦1 million reaches the people already looking for a loan, and the next reaches people who need persuading. Take a hypothetical in which doubling the app budget to ₦9,822,000 raises applications by 60%, not 100%. Approved loans rise from 1,438 to 2,301 (1,438 × 1.6 = 2,300.8). The extra ₦4,911,000 buys 862.8 extra loans, which is ₦5,692 each, against an average of ₦3,415. The 60% is invented. The method is the point: price the extra loans, not the old average. Customers who need persuading are also, often, less sure to repay, which the last section returns to.

LTV with credit losses

LTV for a lender has four lines per loan and the same signs as before:

contribution = fee + interest + late fees  −  cost of funds  −  cost to serve  −  principal lost

All three of the book’s recorded incomes are cash actually received to the cut-off (loans.paid_interest_kobo, fee_kobo, paid_late_fees_kobo). Funding is the cost of the money while it was out, at an illustrative 18% a year, to the cut-off or until repaid. Serving is an illustrative ₦800 for a salary advance, ₦2,500 for a personal loan, ₦1,200 for BNPL and ₦6,000 for an SME (small or medium-sized business) loan, the economics chapter’s inputs. Loss is the principal still outstanding on a loan that is 90 or more days past due (default or written_off), with no recoveries counted, because the book has almost none.

One condition is easy to miss. A loan can be judged only after it has had time to go bad. The lab calls a loan matured if its last instalment fell due by 30 July 2026, 90 days before the cut-off, so that a missed final instalment has reached the 90-day line. Of 3,645 loans, 2,575 qualify. Every salary advance does; only 35 of 451 personal loans (those with short tenors) and 71 of 469 SME loans do. Their figures are real and small-sample, and they are biased towards short tenors. The portfolio metrics chapter explains why: young loans have earned and not yet lost.

Run on the lab’s book, the result is plain. A salary advance averages ₦1,478 of income, and funding costs ₦650 and serving ₦800: ₦28 is left before any loss. The average loss is ₦3,495, so the loan’s contribution is about −₦3,468. A BNPL loan earns ₦152 (late fees only, because the customer pays no interest) and contributes −₦4,938, of which ₦2,826 is principal lost. An SME loan earns ₦88,853 and contributes ₦38,585 after losses. Only the SME loan has a positive LTV, and SME customers are a small share of the book.

A negative LTV changes the question. If a loan loses ₦3,468 before it costs a kobo to find, no CAC is affordable, and cutting acquisition costs only slows the loss. The decisions chapter (decisions, limits and pricing) found the same from the other side: the salary advance’s price is far below its break-even. Growth cannot repair a product whose price is below its cost.

LTV for a customer also depends on how many loans they take. In the book, 2,157 borrowers took one loan, 684 took two and 40 took three: 1.27 loans a borrower. Repeat borrowing is what a lender hopes will cover CAC, and it multiplies whichever sign the loan has. It also invites a question the lab leaves open: does the lender use what it learned from the first loan when it decides the second? The generator’s bureau does not carry Owoleaf’s own repayment history, so a real lender should check its own records before it re-lends.

Channels are mostly products

Read a channel table and you will be tempted to say which channel brings good customers. The lab shows why that is premature. Compare matured loans by channel alone: the app’s loans contribute −₦2,156 each, USSD’s −₦2,471 and the checkout’s −₦4,938. That looks like a ranking of channels. Now look inside the products. Salary advances through the app have a bad rate of 14.3% and through USSD 14.6%. The two channels bring the same kind of borrower to the same product, and the difference in the averages comes from mix: the app also carries 51 profitable SME loans, and USSD only 20. The merchant checkout carries BNPL alone, and BNPL has no customer-paid price. A channel is a proxy for the product it carries, and a comparison that ignores the product measures the product.

This is the same trap as a pooled average that hides a split, which the economics chapter warned about. The fix is to compare like with like: the same product, the same period, a similar score band, and enough loans to say anything (51 and 20 SME loans say very little).

What a channel does change is cost. USSD is cheap to run and the app is not, at the lab’s illustrative prices, and for the same salary-advance borrower the USSD loan costs ₦438 to acquire and the app loan ₦3,415. If two channels bring equal borrowers, the cheaper one wins, until saturation.

Payback, and why it can be a mirage

Payback is the first month in which a cohort’s cumulative contribution, acquisition cost included, is positive. The lab builds it for every loan disbursed up to 31 March, so that each has been watched for at least 210 days: the cash that has come in, less funding to that day, less serving, less the CAC, and the loss, counted from the day the loan reaches 90 days past due.

The timing of losses is the point. A salary advance pays its fee on day 0 and its interest on day 30, if the borrower pays. A borrower who does not pay is not “bad” in the books until the instalment is 90 days late: day 120, month 4. For the salary-advance cohort the lab shows a contribution that is positive at month 2 (₦265 a loan before CAC) and negative at month 4 (−₦3,198). A lender watching a cohort at month 3 sees a cohort that has recovered its serving and funding costs and is about to be spoiled. The older the cohort, the more of its losses are on the page, which is why a payback figure is meaningful only for cohorts older than the time it takes a loan to show its losses. For salary advances that is four months; for a twelve-month personal loan it is more than a year.

Personal loans in the lab show the same shape on a smaller scale: ahead at month 3 (₦10,748 a loan before CAC), behind at month 5. Their longer loans are still immature, so the pattern is unfinished.

The SME cohort is ahead of its CAC from the month of disbursement and is the only one that stays there. That is not an argument to buy SME customers at any price: 61 loans is a small sample, and a few large defaults would change it.

Growth against credit quality

The pressure on a growth team is to hit the number. The pressure on a credit team is to hold the losses. When they share one dashboard the easy move for the growth team is to push volume, and pushing volume does four things to credit quality.

  1. Saturation: the marginal customer is different from the average one, as above.
  2. Loosening the rule: a lower cut-off adds applicants the champion would decline. The swap-in problem from the decisions chapter applies: nobody knows how they behave until someone lends to them.
  3. Incentives: a bonus for volume attracts volume of every kind. The next section shows the worst case.
  4. Mix: a channel that grows fastest may be the one that carries the worst product, and the blended average hides it.

A discipline that works: set growth targets in contribution after expected loss, not in applications or even approvals, and allocate budget by the marginal figure. Expected loss comes from the expected loss chapter’s method. A target in approved loans lets the team grow the number by loosening anything.

Referral fraud

A referral scheme pays a customer, the referrer, when a person they refer joins and borrows. It is among the cheapest channels, and it has the worst incentive: the referrer is paid for an event that a fraudster can manufacture. A ring creates accounts on a few phones, refers them to each other, takes the bonuses and defaults on the loans. What it needs is the bonus to be paid before the loan shows its quality.

The remedy is in the trigger. Pay at disbursement and the ring is paid for every account it opens. Pay when the first instalment is collected and the ring is paid only for accounts that actually pay, which costs it the loan. The lab uses a hypothetical ₦1,000 bonus. On the book’s 2,881 first loans, paying at disbursement costs ₦2,881,000 and paying on the first instalment ₦2,624,000. The gap, ₦257,000, is the bonus paid for 257 first loans (8.9%) that did not pay their first instalment in full.

A second check needs no referral data: look for accounts that share a device. The book has 25 devices used by three or more customers, carrying 88 customers. Of their first loans, 88.6% did not pay instalment 1, against 6.4% for the rest. That is the pattern the lending fraud chapter builds on, and a few shared devices are enough to flag a referral ring for a person to look at. Shared devices also describe a family that shares a phone, so a flag starts a review and does not decide a case.

The rules that reach acquisition

Marketing and consent rules are fact, and they change. Marketing a loan in Nigeria touches the lending rules and the data-protection law.

The Federal Competition and Consumer Protection Commission (FCCPC) issued the Digital, Electronic, Online or Non-Traditional (DEON) Consumer Lending Regulations 2025. Search results mostly give 21 July 2025 as the date they took effect, and one law-firm summary gives 3 September 2025; 5 January 2026 is reported as the deadline for full compliance, which has now passed. Summaries say they require factual promotions without misleading or exaggerated claims, an opt-in for credit with no automatic or pre-approved lending, and they restrict a lender’s access to borrowers’ contacts and photos. The regulator’s press release and its DEON Consumer Lending Guidelines 2025 were found; the search gave no text of the clauses, so the points above rest on secondary summaries and the sources differ on the effective dateas of 2026-11. Read the Regulations before you design an offer, a referral message or a pre-approved limit.

Section 36 of the Nigeria Data Protection Act 2023 is described in secondary commentary as giving a data subject the right to object to processing for direct marketing, including related profiling, with a free way to object. Sources disagree on whether that right is absolute, and the statutory text was not read hereas of 2026-11. A lender that markets to its wallet’s customers on their transaction data needs a lawful basis and an opt-out that works. Which channel to use, and whether a particular campaign complies, are questions for counsel, not for this chapter.

Where it goes wrong

  • Reporting cost per install or per application to a team that is paid on it.
  • A CAC with the declined left out. Spend is carried by the approved loans.
  • An LTV with no losses in it, or with losses from loans that have not matured.
  • Comparing channels without comparing products.
  • A payback read before the losses arrive.
  • A referral bonus paid at disbursement.
  • Averaging an immature cohort with a mature one. The younger the cohort, the better it looks.
  • Treating illustrative costs as measured. The lab’s cost per application is invented. Replace it with the real invoices before you decide anything.
LAB Funnel, LTV, CAC and payback by channel on data1 ~55 MIN
YOU NEEDPython 3.9 or later (standard library only)labs/finance with the scale 1 book built into data1, including book3.pyAbout 720 MB of disk for data1 and about 40 seconds to build itNo Docker, no packages

You work in labs/finance. Every script reads data1/finance.sqlite and writes nothing. Money is integer kobo in the code and naira in the output. Every cost per application is ILLUSTRATIVE, not Owoleaf’s or anyone’s. Product codes in the code and tables: SAL salary advance, PL personal loan, BNPL buy now, pay later, SME loan to a small or medium-sized business.

1. Build and check the scale 1 book. If data1/ already exists with the tables below, skip the build.

cd labs/finance
python3 generate.py --scale 1 --out data1 && python3 loans.py --out data1 \
  && python3 cards.py --out data1 && python3 collect.py --out data1 \
  && python3 book3.py --out data1
python3 check.py --db data1/finance.sqlite

check.py takes about 30 seconds. Its last lines include these (the ledger totals after the application-signal line are long):

application signals: 8,386; checks 19-20 run
...
OK: all invariants hold

2. Save the shared module. Save this as acq.py. It loads every loan with what it earned and cost to the cut-off, and holds the illustrative inputs.

"""Loan-level economics and acquisition inputs for this chapter's lab. Money is integer kobo."""
import datetime as dt
import sqlite3

DB = "data1/finance.sqlite"
CUT = dt.date(2026, 10, 28)                  # the book's cut-off
MATURE_BY = dt.date(2026, 7, 30)             # a loan whose last instalment fell due by here has had 90 days to go bad
BAD = ("default", "written_off")             # bad = 90 or more days past due at the cut-off
PRODUCTS = ("SAL", "PL", "BNPL", "SME")
COST_OF_FUNDS_BPS = 1800                     # 18% a year, as in the economics chapter (illustrative)
COST_PER_LOAN = {"SAL": 80_000, "PL": 250_000, "BNPL": 120_000, "SME": 600_000}   # kobo a loan (illustrative)


def naira(kobo):
    sign = "-" if kobo < 0 else ""
    kobo = abs(kobo)
    return f"{sign}₦{kobo // 100:,}"


def d(text):
    return dt.date.fromisoformat(text[:10])


def load():
    """Every loan with what it earned and cost, to the cut-off. Funding is the principal-days the
    loan was out (to the cut-off, or until repaid) at the cost of funds."""
    db = sqlite3.connect(DB)
    paid = {}
    for loan_id, paid_at, principal in db.execute(
            "SELECT loan_id, paid_at, principal_kobo FROM repayments ORDER BY paid_at, id"):
        paid.setdefault(loan_id, []).append((d(paid_at), principal))
    loans = []
    for (lid, app_id, customer, product, channel, principal, fee, interest, late, outstanding, status,
         disbursed, maturity) in db.execute(
            """SELECT l.id, l.application_id, l.customer_id, l.product, a.channel, l.principal_kobo, l.fee_kobo,
                      l.paid_interest_kobo, l.paid_late_fees_kobo, l.outstanding_principal_kobo, l.status,
                      l.disbursed_at, l.maturity_date
               FROM loans l JOIN applications a ON a.id = l.application_id ORDER BY l.id"""):
        out, last, pdays = principal, d(disbursed), 0
        for day, repaid in paid.get(lid, []):
            pdays += out * (day - last).days
            out, last = out - repaid, day
        pdays += out * (CUT - last).days
        lost = outstanding if status in BAD else 0
        funds = pdays * COST_OF_FUNDS_BPS // (10_000 * 365)
        income = fee + interest + late
        loans.append(dict(id=lid, customer=customer, product=product, channel=channel, principal=principal,
                          income=income, funds=funds, serve=COST_PER_LOAN[product], lost=lost,
                          contribution=income - funds - COST_PER_LOAN[product] - lost,
                          bad=status in BAD, mature=d(maturity) <= MATURE_BY, disbursed=d(disbursed)))
    return loans


# ILLUSTRATIVE spend per application, by channel (kobo): ads and installs, USSD sessions, checkout placement.
SPEND_PER_APPLICATION = {"app": 150_000, "ussd": 20_000, "merchant_checkout": 30_000}

3. The funnel. Save this as funnel.py.

import sqlite3
from acq import DB

db = sqlite3.connect(DB)
print(f"{'channel':<19}{'product':<6}{'apps':>6}{'declined':>9}{'withdrawn':>10}{'approved':>9}{'approved %':>11}")
for channel, product, n, dec, wd, ok in db.execute(
        """SELECT channel, product, COUNT(*), SUM(decision='declined'), SUM(decision='withdrawn'),
                  SUM(decision='approved') FROM applications GROUP BY 1, 2 ORDER BY 1, 2"""):
    print(f"{channel:<19}{product:<6}{n:>6}{dec:>9}{wd:>10}{ok:>9}{ok / n:>11.1%}")

print("\ndeclined, by reason and channel")
rows = db.execute("""SELECT decline_reason, channel, COUNT(*) FROM applications WHERE decision = 'declined'
                     GROUP BY 1, 2""").fetchall()
reasons = sorted({r[0] for r in rows})
channels = ("app", "ussd", "merchant_checkout")
print(f"{'':<30}" + "".join(f"{c:>19}" for c in channels))
for reason in reasons:
    cells = {c: n for r, c, n in rows if r == reason}
    print(f"{reason:<30}" + "".join(f"{cells.get(c, 0):>19}" for c in channels))
python3 funnel.py
channel            product  apps declined withdrawn approved approved %
app                PL       654      310        18      326      49.8%
app                SAL     3274     1738        98     1438      43.9%
app                SME      572      202        22      348      60.8%
merchant_checkout  BNPL    2319     1503        50      766      33.0%
ussd               PL       222       94         3      125      56.3%
ussd               SAL     1143      600        22      521      45.6%
ussd               SME      202       74         7      121      59.9%

declined, by reason and channel
                                              app               ussd  merchant_checkout
amount_below_product_minimum                  698                261               1232
insufficient_income_evidence                  854                269                  0
recent_delinquency                            100                 30                 56
score_below_cutoff                            596                208                213
too_many_recent_enquiries                       2                  0                  2

Of the checkout’s 2,319 applications, 1,232 are declined for an amount below the product minimum: the largest single reason in the book, and nothing to do with credit. 33.0% of checkout applications end in a loan, against 43.9% for salary advances through the app.

4. LTV by product and by channel. Save this as ltv.py. It uses matured loans only.

from acq import PRODUCTS, load, naira

loans = [l for l in load() if l["mature"]]          # loans that have had 90 days past their last due date


def mean(rows, key):
    return sum(r[key] for r in rows) // len(rows)


print("1. what one loan earns, by product (loans that have matured; integer kobo shown as naira)")
print(f"{'':<6}{'loans':>6}{'avg loan':>10}{'income':>9}{'funding':>9}{'serving':>9}{'lost':>9}{'contribution':>14}{'bad':>7}")
for p in PRODUCTS:
    sel = [l for l in loans if l["product"] == p]
    print(f"{p:<6}{len(sel):>6}{naira(mean(sel, 'principal')):>10}{naira(mean(sel, 'income')):>9}"
          f"{naira(-mean(sel, 'funds')):>9}{naira(-mean(sel, 'serve')):>9}{naira(-mean(sel, 'lost')):>9}"
          f"{naira(mean(sel, 'contribution')):>14}{sum(l['bad'] for l in sel) / len(sel):>7.1%}")

print("\n2. the same loans, by channel within product")
print(f"{'product':<8}{'channel':<19}{'loans':>6}{'bad rate':>9}{'contribution':>14}")
for p in ("SAL", "BNPL", "SME"):
    for ch in ("app", "ussd", "merchant_checkout"):
        sel = [l for l in loans if l["product"] == p and l["channel"] == ch]
        if sel:
            print(f"{p:<8}{ch:<19}{len(sel):>6}{sum(l['bad'] for l in sel) / len(sel):>9.1%}{naira(mean(sel, 'contribution')):>14}")

print("\n3. the same loans, by channel alone")
for ch in ("app", "ussd", "merchant_checkout"):
    sel = [l for l in loans if l["channel"] == ch]
    mix = ", ".join(f"{p} {sum(l['product'] == p for l in sel)}" for p in PRODUCTS)
    print(f"{ch:<19}{len(sel):>6} loans  bad {sum(l['bad'] for l in sel) / len(sel):>5.1%}  contribution {naira(mean(sel, 'contribution')):>8}   mix: {mix}")
python3 ltv.py
1. what one loan earns, by product (loans that have matured; integer kobo shown as naira)
       loans  avg loan   income  funding  serving     lost  contribution    bad
SAL     1959   ₦26,626   ₦1,478    -₦650    -₦800  -₦3,495       -₦3,468  14.3%
PL        35  ₦156,142  ₦15,520  -₦6,788  -₦2,500 -₦22,593      -₦16,361  17.1%
BNPL     510   ₦48,280     ₦152  -₦1,064  -₦1,200  -₦2,826       -₦4,938  10.2%
SME       71  ₦990,507  ₦88,853 -₦32,109  -₦6,000 -₦12,158       ₦38,585   5.6%

2. the same loans, by channel within product
product channel             loans bad rate  contribution
SAL     app                  1438    14.3%       -₦3,520
SAL     ussd                  521    14.6%       -₦3,323
BNPL    merchant_checkout     510    10.2%       -₦4,938
SME     app                    51     5.9%       ₦38,845
SME     ussd                   20     5.0%       ₦37,924

3. the same loans, by channel alone
app                  1513 loans  bad 13.9%  contribution  -₦2,156   mix: SAL 1438, PL 24, BNPL 0, SME 51
ussd                  552 loans  bad 14.5%  contribution  -₦2,471   mix: SAL 521, PL 11, BNPL 0, SME 20
merchant_checkout     510 loans  bad 10.2%  contribution  -₦4,938   mix: SAL 0, PL 0, BNPL 510, SME 0

Redo the salary advance by hand: ₦1,478 − ₦650 − ₦800 − ₦3,495 is −₦3,467; the printed −₦3,468 comes from averaging whole kobo. PL and SME rest on 35 and 71 loans. Table 2 shows the same product and the same bad rate through two channels; table 3 shows the channel averages differing because their mix differs.

5. CAC per approved loan and the loan net of it. Save this as cac.py. It charges each application the channel’s spend, and carries it on the loans it produced.

import sqlite3
from acq import DB, SPEND_PER_APPLICATION, load, naira

db = sqlite3.connect(DB)
apps = {(ch, p): (n, ok) for ch, p, n, ok in db.execute(
    "SELECT channel, product, COUNT(*), SUM(decision = 'approved') FROM applications GROUP BY 1, 2")}
loans = [l for l in load() if l["mature"]]

print("1. cost per application, per approved loan, and what the loan earns before and after it")
print(f"{'channel':<19}{'product':<8}{'per app':>9}{'CAC / loan':>12}{'contribution':>14}{'net of CAC':>12}")
net_total = {}
for (ch, p), (n, ok) in sorted(apps.items()):
    cac = n * SPEND_PER_APPLICATION[ch] // ok                   # all the spend, on the loans it produced
    sel = [l for l in loans if l["channel"] == ch and l["product"] == p]
    contrib = sum(l["contribution"] for l in sel) // len(sel)
    print(f"{ch:<19}{p:<8}{naira(SPEND_PER_APPLICATION[ch]):>9}{naira(cac):>12}{naira(contrib):>14}{naira(contrib - cac):>12}")
    net_total.setdefault(ch, []).append(((contrib - cac) * len(sel), len(sel)))

print("\n2. per channel, all products (matured loans)")
for ch, parts in net_total.items():
    total, n = sum(a for a, _ in parts), sum(b for _, b in parts)
    print(f"{ch:<19}{n:>6} loans  net of CAC {naira(total):>14}  = {naira(total // n)} a loan")

print("\n3. how many loans a borrower takes (all 2,881 borrowers)")
per = {}
for (c,) in db.execute("SELECT customer_id FROM loans"):
    per[c] = per.get(c, 0) + 1
for k in (1, 2, 3):
    print(f"   {k} loan(s): {sum(1 for v in per.values() if v == k)}")
print(f"   loans per borrower {sum(per.values()) / len(per):.2f}")
python3 cac.py
1. cost per application, per approved loan, and what the loan earns before and after it
channel            product   per app  CAC / loan  contribution  net of CAC
app                PL         ₦1,500      ₦3,009       -₦7,557    -₦10,567
app                SAL        ₦1,500      ₦3,415       -₦3,520     -₦6,935
app                SME        ₦1,500      ₦2,465       ₦38,845     ₦36,379
merchant_checkout  BNPL         ₦300        ₦908       -₦4,938     -₦5,846
ussd               PL           ₦200        ₦355      -₦35,570    -₦35,926
ussd               SAL          ₦200        ₦438       -₦3,323     -₦3,761
ussd               SME          ₦200        ₦333       ₦37,924     ₦37,590

2. per channel, all products (matured loans)
app                  1513 loans  net of CAC    -₦8,372,178  = -₦5,533 a loan
merchant_checkout     510 loans  net of CAC    -₦2,981,827  = -₦5,846 a loan
ussd                  552 loans  net of CAC    -₦1,603,272  = -₦2,904 a loan

3. how many loans a borrower takes (all 2,881 borrowers)
   1 loan(s): 2157
   2 loan(s): 684
   3 loan(s): 40
   loans per borrower 1.27

Check one row. Salary advances through the app: 3,274 applications × ₦1,500 ÷ 1,438 loans = ₦3,415. The contribution of −₦3,520 less ₦3,415 is −₦6,935. Only SME loans are positive after CAC. The checkout loses most a loan (−₦5,846); the app loses most in total (−₦8,372,178). The personal-loan rows use 24 and 11 matured loans and say little.

6. Payback by loan age. Save this as payback.py. It rebuilds the day each loan reaches 90 days past due from schedule and repayments, asserts the result matches loans.status, and adds up each loan’s contribution at the end of each month.

import datetime as dt
import sqlite3
from collections import defaultdict
from acq import CUT, COST_OF_FUNDS_BPS, DB, SPEND_PER_APPLICATION, d, load, naira

COHORT_END = dt.date(2026, 3, 31)       # loans disbursed by here have been watched for at least 210 days
MONTHS = range(0, 8)
db = sqlite3.connect(DB)
loans = {l["id"]: l for l in load()}
fee = dict(db.execute("SELECT id, fee_kobo FROM loans"))

sched = defaultdict(list)
for lid, i, due, total in db.execute("SELECT loan_id, instalment, due_date, total_kobo FROM schedule ORDER BY 1, 2"):
    sched[lid].append((i, d(due), total))
paid = defaultdict(list)
for lid, i, at, amount, late, interest, principal in db.execute(
        "SELECT loan_id, instalment, paid_at, amount_kobo, late_fee_kobo, interest_kobo, principal_kobo "
        "FROM repayments ORDER BY paid_at, id"):
    paid[lid].append((i, d(at), amount - late, late, interest, principal))

# The day each bad loan reaches 90 days past due: its oldest instalment never paid in full, plus 90 days.
default_on = {}
for lid in loans:
    for i, due, total in sched[lid]:
        if due <= CUT and not any(j == i and a >= total for j, _, a, _, _, _ in paid[lid]):
            if (CUT - due).days >= 90:
                default_on[lid] = due + dt.timedelta(days=90)
            break
assert set(default_on) == {l for l, v in loans.items() if v["bad"]}, "reconstructed defaults disagree with loans.status"
print(f"{len(default_on)} loans reach 90 days past due: the same set as loans.status default and written_off")

# What the loans' applications cost: spend per application, spread over the loans it produced.
n_app = {(c, p): (n, ok) for c, p, n, ok in db.execute(
    "SELECT channel, product, COUNT(*), SUM(decision = 'approved') FROM applications GROUP BY 1, 2")}
cac = {k: n * SPEND_PER_APPLICATION[k[0]] // ok for k, (n, ok) in n_app.items()}


def cumulative(lid, on, with_cac):
    """Contribution of one loan up to the day `on`: fee and interest received, less servicing, funding to
    that day and any loss, which counts only from the day the loan reaches 90 days past due."""
    l = loans[lid]
    income = fee[lid] + sum(it + lf for _, at, _, lf, it, _ in paid[lid] if at <= on)
    out, last, pdays, end = l["principal"], l["disbursed"], 0, min(on, CUT)
    for _, at, _, _, _, principal in paid[lid]:
        if at > end:
            break
        pdays += out * (at - last).days
        out, last = out - principal, at
    pdays += out * (end - last).days
    lost = l["lost"] if lid in default_on and default_on[lid] <= on else 0
    spent = cac[(l["channel"], l["product"])] if with_cac else 0
    return income - pdays * COST_OF_FUNDS_BPS // (10_000 * 365) - l["serve"] - lost - spent


print("\ncumulative contribution per loan, by months since disbursement (loans disbursed to 31 March)")
print(f"{'':<14}{'loans':>6}" + "".join(f"{'m' + str(m):>9}" for m in MONTHS))
for product in ("SAL", "BNPL", "SME", "PL"):
    ids = [i for i, l in loans.items() if l["product"] == product and l["disbursed"] <= COHORT_END]
    for label, flag in (("before CAC", False), ("after CAC", True)):
        row = [sum(cumulative(i, loans[i]["disbursed"] + dt.timedelta(days=30 * m), flag) for i in ids) // len(ids)
               for m in MONTHS]
        print(f"{product + ' ' + label:<14}{len(ids):>6}" + "".join(f"{naira(v):>9}" for v in row))
python3 payback.py
368 loans reach 90 days past due: the same set as loans.status default and written_off

cumulative contribution per loan, by months since disbursement (loans disbursed to 31 March)
               loans       m0       m1       m2       m3       m4       m5       m6       m7
SAL before CAC   299    -₦526     ₦102     ₦265     ₦226  -₦3,198  -₦3,248  -₦3,297  -₦3,347
SAL after CAC    299  -₦3,195  -₦2,566  -₦2,403  -₦2,442  -₦5,866  -₦5,916  -₦5,966  -₦6,016
BNPL before CAC   109  -₦1,200  -₦1,866  -₦2,080  -₦2,109  -₦5,164  -₦5,673  -₦5,724  -₦5,776
BNPL after CAC   109  -₦2,108  -₦2,774  -₦2,988  -₦3,017  -₦6,072  -₦6,581  -₦6,632  -₦6,684
SME before CAC    61  ₦10,618  ₦32,066  ₦47,899  ₦59,841  ₦69,522  ₦73,894  ₦76,623  ₦76,884
SME after CAC     61   ₦8,607  ₦30,054  ₦45,888  ₦57,830  ₦67,510  ₦71,883  ₦74,612  ₦74,873
PL before CAC     69    -₦671   ₦3,429   ₦7,102  ₦10,748   ₦2,366  -₦5,423  -₦3,941  -₦3,922
PL after CAC      69  -₦2,757   ₦1,343   ₦5,016   ₦8,662     ₦280  -₦7,509  -₦6,027  -₦6,008

The assertion line says the 368 reconstructed defaults are exactly the loans the book marks default or written_off. Read the SAL rows: before CAC the cohort is ahead by ₦265 in month 2 and behind by ₦3,198 in month 4, the month in which a missed first instalment (due on day 30) passes 90 days. After CAC it is never positive. SME is positive throughout. PL peaks at month 3 and falls; most of its loans are still running, so its curve is unfinished.

7. A referral bonus and shared devices. Save this as referral.py.

import sqlite3
from collections import defaultdict
from acq import CUT, DB, d, naira

BONUS = 100_000                  # ILLUSTRATIVE: a ₦1,000 bonus to the referrer for each referred customer's first loan
db = sqlite3.connect(DB)

first_total = {}                 # loan -> its first instalment's total, and whether that was paid in full
for lid, total in db.execute("SELECT loan_id, total_kobo FROM schedule WHERE instalment = 1"):
    first_total[lid] = total
full = set()
for lid, amount, late in db.execute("SELECT loan_id, amount_kobo, late_fee_kobo FROM repayments WHERE instalment = 1"):
    if amount - late >= first_total[lid]:
        full.add(lid)

# each customer's first loan
first_loan = {}
for lid, cust, at in db.execute("SELECT id, customer_id, disbursed_at FROM loans ORDER BY disbursed_at, id"):
    first_loan.setdefault(cust, lid)
n = len(first_loan)
ok = sum(1 for lid in first_loan.values() if lid in full)
print("1. when to pay a referral bonus (first loans of 2,881 borrowers)")
print(f"   paid at disbursement:               {n:>5} bonuses  {naira(n * BONUS):>11}")
print(f"   paid when instalment 1 is paid:     {ok:>5} bonuses  {naira(ok * BONUS):>11}")
print(f"   first loans whose instalment 1 was not paid in full: {n - ok}  ({(n - ok) / n:.1%}); the first rule pays {naira((n - ok) * BONUS)} for them")

# devices used by 3 or more different customers
dev = defaultdict(set)
cust_dev = {}
for device, cust in db.execute("""SELECT s.device_id, a.customer_id FROM applicant_signals s
                                  JOIN applications a ON a.id = s.application_id"""):
    dev[device].add(cust)
shared = {c for v in dev.values() if len(v) >= 3 for c in v}
print(f"\n2. devices shared by 3 or more customers: {sum(1 for v in dev.values() if len(v) >= 3)}, "
      f"carrying {len(shared)} customers")
for label, members in (("on a shared device", lambda c: c in shared), ("on their own device", lambda c: c not in shared)):
    firsts = [lid for c, lid in first_loan.items() if members(c)]
    bad = sum(1 for lid in firsts if lid not in full)
    print(f"   first loans {label:<20}{len(firsts):>5}  instalment 1 unpaid {bad:>4}  ({bad / len(firsts) if firsts else 0:.1%})")
python3 referral.py
1. when to pay a referral bonus (first loans of 2,881 borrowers)
   paid at disbursement:                2881 bonuses   ₦2,881,000
   paid when instalment 1 is paid:      2624 bonuses   ₦2,624,000
   first loans whose instalment 1 was not paid in full: 257  (8.9%); the first rule pays ₦257,000 for them

2. devices shared by 3 or more customers: 25, carrying 88 customers
   first loans on a shared device     88  instalment 1 unpaid   78  (88.6%)
   first loans on their own device  2793  instalment 1 unpaid  179  (6.4%)

Paying at disbursement costs ₦2,881,000; paying on the first full instalment ₦2,624,000. The gap, ₦257,000, is 257 bonuses to first loans that never paid in full. Of the 88 first loans on shared devices, 78 did not pay; that is a flag to review and not a finding of fraud.

In acq.py, change the app’s spend per application from 150_000 to 50_000 (₦500) and run python3 cac.py again. The app’s salary-advance CAC falls from ₦3,415 to ₦1,138 and the app’s total net loss from ₦8,372,178 to ₦4,966,207 (₦3,282 a loan), so the app now loses less a loan than the checkout. The salary advance is still −₦4,659 a loan after CAC, and the channel’s loss is smaller only because less was spent. A cheaper channel for a product that loses money loses less slowly. Change it back before you go on.

ARTEFACT Write the quarter's channel plan ~50 MIN
YOU PRODUCEA channel plan: CAC and LTV by channel, payback, referral-fraud controls and budget allocation

Template

# Channel plan: <company>, <quarter>
Prepared by <analyst>, <date>. Signed by <head of growth> and <head of credit risk>.

## 1. Decision needed
<what budget or rule is being approved, by whom, by when>

## 2. CAC and LTV by channel and product
| Channel | Product | Applications | Approved loans | CAC per loan | Contribution per loan | Net of CAC | Loans behind it |

## 3. Payback
<by cohort age: when each product turns positive, when its losses arrive, which cohorts are still too young to judge>

## 4. Referral and fraud controls
- Bonus amount and trigger: <what event pays it>
- Cost under each trigger: <₦>, and the difference
- Flags that start a review (not a verdict): <signal, count, what happens next>

## 5. Budget allocation
| Channel / product | Spend this quarter | Rule for more |

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

## 7. Out of scope and sign-off
Not covered: <overheads, other products, rules to be checked by counsel>.
Prepared <name, date>. Approved <name, date>.
WORKED EXAMPLE

At a real lender a growth or finance analyst writes this each quarter; the head of growth and the head of credit risk sign it together. Here Kayinsola writes it for Owoleaf’s next quarter, and Iyanu signs with the head of credit risk.

Decision. Do not double the app budget; approve a hold and two small changes before the quarter starts.

CAC and LTV. App salary advances: 3,274 applications, 1,438 loans, CAC ₦3,415, contribution −₦3,520, so −₦6,935 net of CAC. USSD salary advances: CAC ₦438, contribution −₦3,323, net −₦3,761. Bad rates are 14.3% and 14.6%: much the same borrower, so the channels differ mainly in cost. SME through the app: 51 loans, net ₦36,379; through USSD, 20 loans, net ₦37,590. Both samples are small.

Payback. The salary-advance cohort is ₦265 ahead per loan at month 2 before CAC and ₦3,198 behind at month 4. After CAC it is never positive. SME is positive from month 0.

Referral. Paying a ₦1,000 bonus at disbursement costs ₦2,881,000; on the first full instalment, ₦2,624,000. Switch the trigger and save ₦257,000. The 88 customers on 25 shared devices went to review: 78 of their first loans (88.6%) missed instalment 1, against 6.4% elsewhere.

Budget. Hold app salary-advance spend at ₦4,911,000 (3,274 × ₦1,500); release more only when contribution is positive. Stop showing the checkout offer below the minimum: 1,232 applications at the lab’s illustrative ₦300 is ₦369,600 spent on applications that could not be approved. Test SME through the app with ₦500,000 (an assumption): about 333 applications at ₦1,500, and about 200 loans at the lab’s 60.8% approval rate.

Could be wrong. SME rests on 71 matured loans; a few large defaults would change it. A rising bad rate in the test cohort would show it.

Out of scope. Overheads, and whether any campaign complies with the DEON rules, which is for counsel.

Now you

An unnamed digital lender with the same three channels has the lab’s book as its own: use the outputs of funnel.py, ltv.py, cac.py, payback.py and referral.py as its figures. Its growth lead has two proposals for next quarter. The first is a referral scheme paying ₦1,000 to the referrer when a referred customer is disbursed. The second is to cut the app’s cost per application to ₦500, which is the lab’s break step, and spend the saving on more applications. You have an assumed ₦6,000,000 for the quarter, spread across the app, USSD and the checkout.

Write the channel plan. Show CAC and net contribution by channel and product, run the break step for the ₦500 case, say what the referral trigger should be and what you would do with shared devices, and give each channel an amount or a hold. The head of growth and the head of credit risk will read it, and it decides how the ₦6,000,000 is split and whether the referral scheme launches.

Self-check

DECIDE

Iyanu wants to double the app budget, because cost per application fell to ₦1,500 and applications rose. Kayinsola's table shows an app salary advance costing ₦3,415 to acquire and contributing −₦3,520 before that, and a payback chart whose salary-advance cohort turns negative at month 4. What should Owoleaf do?

READING
  1. DOC
    Digital lending: FCCPC tackles abuses, issues landmark regulations (press release)

    The regulator's own announcement of the 2025 digital lending regulations. Read it for what the FCCPC says it is stopping; for the clauses on advertising and consent, read the regulations next.

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

    The regulations on the FCCPC's site. Check the provisions on advertising, opt-in credit and access to contacts yourself; this chapter's summary of them rests on secondary sources.

  3. DOC
    DEON Consumer Lending Guidelines 2025 (FCCPC)

    The guidelines published on the FCCPC's site. Check what it says on marketing, consent and contact before you design an offer or a referral scheme.

  4. DOC
    Nigeria Data Protection Act 2023

    The text behind the marketing objection right. Read section 36 yourself: commentary disagrees on how absolute it is. Read: Part VI, section 36 (the right to object to direct marketing).

  5. POST
    The Ultimate SaaS Metric: The Customer Lifetime Value to Customer Acquisition Cost Ratio (LTV/CAC) Dave Kellogg

    A clear account of LTV, CAC and payback in subscription businesses. Read it for the definitions of LTV and CAC and the ratio between them; its formulas rest on subscription churn, which does not carry to a loan.

  6. POST
    Why I don't like the LTV metric (long-form PDF) Jason Cohen

    A sceptical essay arguing that a single LTV number can mislead. Useful as the counterweight to any single LTV number.

  7. POST
    Unsolicited messaging and the limits of opt-out provisions Templars

    A law-firm note on opt-out and unsolicited messaging in Nigeria. A secondary source: use it to learn what to ask counsel, not as the rule.

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: Writing a credit policy that a regulator, a funder and a board can read →