Acquirer, processor or switch: build or partner
Owning a connection turns a fee per payment into a fixed cost per year. Find the volume where the two cross, the inputs that move it, and the year-and-a-half in which the own path costs money before it saves any
A model compares a partner that charges a fee on every payment with an own connection that has a high yearly fixed cost and a lower cost per payment. The crossover is the volume at which they cost the same. Which change moves that crossover the most?
Module 1 followed one card payment through issuer, acquirer, scheme and processor, and the module 3 pricing chapter split the price among them. Both left a question for the business: which of those jobs do you do yourself, and which do you buy? A company that pays a partner for every payment is renting a position in the chain. A company that holds the position owns the fixed cost of it. Neither is better in general. This chapter gives you the vocabulary, the rules that decide what you may own, and a model whose every input you can change.
Four jobs with similar names
People use “acquirer”, “processor”, “switch” and “gateway” for overlapping things, and a contract that says one while meaning another is a common source of surprise. Define them by what they do.
| Job | What it does | What you carry if you do it yourself |
|---|---|---|
| Switch | Routes payment messages between institutions that have no direct link to each other, and in some designs works out each institution’s net position for settlement | Connectivity to every institution, uptime to the standard of a utility, a settlement process, a dispute path |
| Processor | Runs authorisation, clearing and settlement files for an issuer or an acquirer, which are the card-side jobs from the card chapter | The message formats (see the payment messages chapter), certification with each scheme and switch, security audits, operations around the clock |
| Acquirer | Holds the merchant relationship and the scheme membership or sponsorship, is paid by the scheme side, and pays the merchant | Scheme rules, merchant risk and chargebacks, a settlement account, capital |
| Gateway, aggregator or orchestrator | Software and contracts in front of one or several of the above: one API for merchants, routing across providers | Code and contracts, but not the regulated position itself |
The last row is the cheap way to own part of the stack: you keep the customer’s integration and the routing decisions, and a partner holds the regulated position. The routing chapter, in this module, builds on that row. This chapter is about the three above it.
Real organisations fill these jobs in Nigeria, and what they say about themselves is a vendor’s or operator’s own description, not a rule. NIBSS’s pages on NIBSS Instant Payment (NIP) list its services as name enquiry, direct credit, direct debit and transaction status query. Search results about how often NIP settles do not agree: a NIBSS help-desk article describes two daily cutoffs, other summaries say several batches a day, and none was a rule or a rulebook. This chapter therefore gives no number of settlement sessions; read NIBSS’s current NIP documentation for itas of 2026-11. Interswitch describes itself on its own site as a transaction processing and switching technology infrastructure provider, and says it built Nigeria’s first transaction and switching infrastructure. That is the company’s own claim about itself, not a regulator’s findingas of 2026-11. Juspay describes Hyperswitch in its documentation as an open-source payments platform, and says it open-sourced its payment orchestrator; the documentation offers a hosted and a self-hosted option. It is named here as one design of the orchestrator row, not as a recommendationas of 2026-11.
What the rules decide before the money does
The first question about owning a position is whether you may. The licence is not a detail of the business case: it sets a capital figure, a set of permitted activities and a regulator’s attention, all of which enter the model.
Law-firm summaries of the CBN’s December 2020 circular on new licence categorisations for the Nigerian payments system (reference PSM/DIR/CON/CWD/14/152 in search listings; dated 9 December 2020, though some outlets report 10 December) say it groups payment licences into four categories: Switching and Processing, Mobile Money Operations, Payment Solution Services and a Regulatory Sandbox. They give the minimum capital for a Switching and Processing company as ₦2 billion, and list its permitted activities as switching and card processing, transaction clearing and settlement agent services, and non-bank acquiring services. One summary adds a separate refundable ₦2 billion escrow with the CBN, which other summaries do not mention, so even the shape of the capital requirement is not settled by what was read. They say an existing licensee who wants another licence needs a no-objection letter from the CBN’s Payments System Management Department. A CBN document titled Approved New Licence Categorization Requirements Consolidated - 2021 appeared in search results, but its text could not be opened here, so these points rest on commentary, and the commentary is dated: no later CBN circular changing the Switching and Processing figure turned up, but that is an absence in a search, not a confirmation. Read the CBN’s current licensing documents before you rely on any number hereas of 2026-11.
Sources disagree about neighbouring categories, which is a warning about all of them. Search summaries of the 2021 consolidated requirements disagree on the minimum capital for the payment solution services category after a follow-up circular of 24 May 2021: one firm gives ₦100,000,000 and another ₦250,000,000. This chapter does not use either figureas of 2026-11.
Two things follow for the engineer. First, being allowed to switch or to acquire does not make a payouts company a Switching and Processing company, and this chapter does not say which licence Ferrowave needs, because no source read here answers that. That question belongs with the CBN and counsel before the board paper goes further. Second, a regulator’s permission is only half of access. The operator of a rail decides who may use it, and for what.
NIBSS’s FAQ on a December 2023 letter (reference NIBSS/BD/NI/PO/005/051223 in search summaries) says that switches, payment solution service providers (PSSPs) and super-agents, which are non-deposit-taking institutions, cannot receive inflows through NIP because their licences do not permit them to hold customers’ funds, but can continue to use NIP for outward transfers for payments their licences permit. Press outlets read the December 2023 letter differently: some report a bar on receiving inflows, others that it delisted these institutions from NIP outward-transfer channels only. The search results do not show whether later notices changed it. Check NIBSS’s current notices and the letter itself before you design around itas of 2026-11.
For a payouts business that distinction is the whole design question. Paying out is outward, and receiving customers’ funding is inward, so a model of the own path has to say which flows it carries. The lab keeps that as an input: a share of inward NIP, of outward NIP and of cards that moves to the own path.
There is a third thing the rules do not settle and the market is changing. Press reports, not a rule or a NIBSS document, say NIBSS has built a National Payment Stack (NPS), described as ISO 20022-based, that a first live transaction between two institutions was reported on 7 November 2025, and that NIBSS has said it will eventually replace NIP, in a phased way. One outlet describes it as built on the foundation of NIP, so how the two relate is unclear. The results found no cut-off date for NIP. This is programme status as of those reports: confirm it with NIBSS and the CBNas of 2026-11. An own connection built to one interface is a bet on that interface’s life. The model carries it as a rework cost inside the build figure, and you should ask which rail your build targets.
The model: one fixed cost, one saving per payment
The partner path is almost entirely variable: you pay a fee per payment, or a share of card value, and a small minimum. The own path has a yearly fixed cost and a lower variable cost. Two straight lines cross.
- Partner cost per year = volume × partner price.
- Own cost per year = fixed cost + volume × own price.
- They are equal where the volume is the fixed cost divided by the gap between the two prices. That gap is the saving per payment, and the volume is the crossover.
The fraction tells you the first thing a board paper must show. A crossover is only as good as its denominator: a small saving per payment sends the crossover out to a volume the company may never reach, however low the fixed cost looks.
The model in the lab has these fixed lines, all invented for this lab and all yours to change. The arithmetic is below so a reviewer can redo it.
| Line, per year (all illustrative) | Working | ₦ million |
|---|---|---|
| Engineers on the own path | 8 × ₦39m (₦30m base pay × 1.3 loading, Ferrowave’s figures in the engineering-leadership track) | 312 |
| Operations and on-call staff | 4 × ₦20m | 80 |
| Security audits and certification | an input | 60 |
| Connectivity, hardware security modules, a second site | an input | 90 |
| Card extras (scheme sponsorship, chargeback team, card security assessment) | an input, counted only if cards move | 150 |
| Cost of licence capital | ₦2,000m × 20% | 400 |
| The build, written off | ₦600m over 5 years | 120 |
| A partner kept as failover | the contract minimum | 24 |
| Fixed cost of the own path | 1,236 |
Mastercard publishes a Site Data Protection (SDP) programme on its site that sets how merchants and service providers validate PCI DSS compliance; its FAQ, as summarised in search results, says merchants submit validation documents to their acquiring bank. Whether a business must be assessed, and at what level, is therefore set through its acquirer and the scheme, so the audit line above is a placeholder for a figure you must get from them. The PCI chapter in this module covers the scopeas of 2026-11.
Three of these lines deserve a sentence each.
Licence capital is a cost even if it is never spent. The ₦2,000m is the Switching and Processing minimum from the summaries above, used here as an input. It must be held, so it cannot earn elsewhere. The model charges the return it forgoes, at an invented 20%: ₦400m a year, a third of the fixed cost. If a partner’s licence carries the activity, the line is zero and the own path no longer has it. A single input, held or not held, moves the crossover by a third.
The build is a one-off, so it enters twice. In the yearly crossover it is written off over five years. In the cash view later it is spent before go-live. Mixing the two is a common way for two people to get different answers from the same inputs.
The partner stays. An own path with no fallback is a single point of failure for the product, so the model keeps a contract minimum with a partner and does not drop it to zero.
How many payments? Ask the books
The saving per payment multiplies volume, and the volume for a company that does not exist yet has to be guessed. The books in the lab give a rate to scale from. Owoleaf is a wallet company, not a payouts API, so what the lab does is a stand-in: it treats a “customer” as an end user with the books’ average activity. Ferrowave’s own payee counts are not in the lab, and the model asks for them. Replace the stand-in with them when you have them.
Counting the volume has one trap. The lab’s 180 days of data cover customers who signed up over time, so the average customer has been present for 91.6 days, not 180. Dividing a customer’s count by 180 days understates the rate by almost half. The right denominator is customer-days of tenure: the days each customer has existed, summed. Step 1 of the lab computes both.
| Kind of row | Rows per customer-year | Naira per customer-year |
|---|---|---|
| Inward NIP funding | 69.44 | ₦1,615,171 |
| Outward NIP payout | 41.65 | ₦1,595,720 |
| Card funding | 20.49 | ₦223,719 |
The model treats inward and outward NIP together as 111.1 rows per customer-year, for which the naive 180-day method gives 56.5. The books also show the partner’s price for cards: the processor’s fee is 100.00 basis points of settled value, a figure that comes from the ledger and not from this chapter’s inputs. (A basis point is one hundredth of a percent.) No price for NIP rows is in the books, since the generator charges the customer, not a partner, so the partner’s per-row fee is an invented input.
Scale matters less than it seems. At scale 1, with 20,000 customers, the NIP rate is 118.5 rows per customer-year against 111.1 at scale 0.1, and the crossover moves from 853,600 to 831,666 customers, a change of 2.6%. Customer activity varies a lot, so a model should say which customers it scales from.
Where the crossover lands
With the inputs of the lab, the saving per customer-year on the flows that move is ₦8 on each of 111.1 NIP rows (₦12 partner fee less ₦4 own cost), which is ₦889, plus 0.25% (100 less 75 basis points) of ₦223,719 of card value, which is ₦559: about ₦1,448 in all. The crossover is ₦1,236m divided by ₦1,448, or 853,600 customers. That is 94.8 million NIP rows and ₦190.97bn of card value a year, and at that volume the partner’s bill is ₦3,048m.
| Customers | NIP rows a year | Partner path (₦m) | Own path (₦m) | Own less partner (₦m) |
|---|---|---|---|---|
| 1,000,000 | 111.1m | 3,570 | 3,358 | -212 |
| 5,000,000 | 555.4m | 17,851 | 11,847 | -6,004 |
| 20,000,000 | 2,221.7m | 71,404 | 43,681 | -27,724 |
Do not read that as a result. It is what the invented inputs say. Check it against the company first. Ferrowave’s annual recurring revenue is ₦2.9bn. A partner bill of ₦3,048m at the crossover is about a year of that revenue. So either Ferrowave is far below the crossover on these inputs, or the inputs are wrong for a payouts company: the card flows in particular, which a payouts API may not carry at all. The scope rows of the next table show what happens when they are removed.
Step 3 of the lab runs the model with one input changed at a time, then with the scope changed. In the lab’s output the inputs that move the crossover most are unit prices or scope; the table shows a selection:
| Change | Crossover (customers) |
|---|---|
| Base | 853,600 |
| Partner’s card price at half | 3,752,401 |
| Partner’s card price at one and a half times | 481,575 |
| Partner’s NIP fee at half | 1,581,636 |
| Partner’s NIP fee at one and a half times | 584,536 |
| Own card cost at one and a half times | 1,992,829 |
| Licence capital at half | 715,477 |
| Engineers at half | 745,864 |
| Both NIP flows, no cards | 1,222,028 |
| Outward NIP only (payouts only) | 3,259,248 |
| Licence capital zero (a partner carries it) | 577,354 |
Read the card rows with care. At half, the partner’s 50 basis points is below the own path’s 75, so moving cards would lose ₦559 a customer-year, which eats most of the ₦889 saved on NIP rows and leaves ₦330, and the crossover jumps to 3.75 million. The model does not stop you from moving a flow that loses; a business would not move it, and the ‘no cards’ row below shows the better answer. Two inputs in the lab, licence capital with its cost of capital and engineers with their loaded cost, appear twice in the full table because they multiply.
The assumptions that move the answer most are therefore the ones a partner contract can change. A partner that cuts its price on a large volume moves the crossover out by more than any saving in the own path’s fixed cost, so run the model before the negotiation, not after it.
Time: the own path costs money before it saves any
A yearly crossover assumes the own path is live. It is not live for a long time. A licence application, a build and a certification take months, and the team and the locked capital cost money from the start. Step 4 of the lab runs five years month by month with three more invented inputs: 400,000 customers at the start, growing 60% a year, and a go-live in month 18.
In that run the own path is ₦1,492m behind at the end of year 1, ₦2,122m behind at the end of year 2 and ₦1,308m behind at the end of year 3. It moves ahead in year 4, and the cumulative cost is back to zero in month 45. By the end of year 5 it is ₦4,489m ahead. The growth is what pays for it. At 20% growth the own path is still ₦2,387m behind at the end of year 5 and never gets back to zero in the five years.
So the crossover tells you the scale you need and the cash view tells you whether you reach it in time. A board paper that shows only the first is asking for a bet on growth without saying so.
What the model leaves out
The model prices what can be priced. A decision to own a position also changes things that a spreadsheet does not carry, and the paper should name them, even where it cannot put a number on them.
Availability and who answers the phone. On the partner path, a partner’s outage is the partner’s problem, though your customers feel it. On the own path, the outage is yours, with a team on call. The partner kept as failover in the model is the cost of not being a single point of failure.
Concentration. Ferrowave’s Bank Connectors team has six engineers out of 38, and the model’s own path needs twelve more people, eight engineers and four in operations. Check that the company can hire and keep them.
The target moves. The NPS reports above are the example: an interface you build to today may be replaced. Ask who pays for the migration.
Obligations that arrive with the role. Holding a position brings settlement, finality and complaint handling, and the reporting that goes with a licence. The model has the cost of the team to do it. It does not have the cost of an examiner’s finding.
Middle paths. The choice is not two doors. You can add a second partner for resilience and price pressure, put an orchestrator in front of several partners, or own one flow (outward NIP, say) and leave the rest. Each is a different fixed cost and a different saving, and each fits the same model by changing the shares and the inputs.
Where it goes wrong
Name the failures first. Each one produces a confident number.
Comparing a unit price with a total. “Their fee is ₦12 a payment, ours would be ₦4” says nothing until it is multiplied by a volume and set against a fixed cost. The fraction in this chapter is the minimum honest form of the argument.
Scaling by the calendar, not by the customers. The naive 180-day method halves the volume and doubles the crossover. Any growing business has this trap.
Counting the capital as free. Locked capital has a cost, and leaving it out removes a third of the fixed cost in the lab.
Ignoring the go-live gap. A crossover at a volume you reach in year two means nothing if the build takes 18 months and growth is slow.
Taking one input as a fact. Every figure here is invented. The model’s use is to find out which of them you must replace with a quote, a contract or a regulator’s document first, and the sensitivity table ranks them.
Deciding on the licence without asking. Which licence an activity needs is a question for the regulator and counsel. Summaries of a circular, the ones used here included, are a starting point for a question.
You work in labs/finance. You create four small files there: volumes.py, buildmodel.py, sens.py and years.py. They only read data/finance.sqlite; none writes to it. No mock service is needed, because nothing here sends a payment. Every price, cost, capital figure and timing in buildmodel.py and years.py is invented for the lab: they are not a bank’s tariff, a switch’s charge or the CBN’s. The only partner price taken from the books is the card processor’s, in step 1. Queries run through Python’s sqlite3 module, so no sqlite3 program is needed. The files use no floats for money: amounts are whole kobo, and only the volume forecasts are estimates.
1. Measure the volume per customer-year. Save volumes.py. It counts the customer payments of each kind, leaves out the capital injection and the daily card_settlement rows (which repeat card fundings in bulk), and divides by customer-days of tenure.
"""Volume per customer-year, by the kind of payment, from the lab's books. Integer kobo throughout."""
import datetime as dt
import sqlite3
import sys
DB = sys.argv[1] if len(sys.argv) > 1 else "data/finance.sqlite"
WAT = dt.timezone(dt.timedelta(hours=1))
# Customer payments only: not the capital injection, and not card_settlement (it repeats card fundings in bulk).
KINDS = {"funding_transfer": "NIP in", "payout_nip": "NIP out", "funding_card": "card", "p2p_transfer": "internal"}
def per_customer_year(db_path=DB):
db = sqlite3.connect(db_path)
n_cust = db.execute("SELECT COUNT(*) FROM customers").fetchone()[0]
last = dt.datetime.fromisoformat(db.execute("SELECT MAX(created_at) FROM transactions").fetchone()[0])
end = dt.datetime.combine(last.date() + dt.timedelta(days=1), dt.time(0, 0), WAT)
tenure_days = sum((end - dt.datetime.fromisoformat(s)).total_seconds() / 86400
for (s,) in db.execute("SELECT signup_at FROM customers"))
out = {}
for kind in KINDS:
n, v = db.execute("SELECT COUNT(*), COALESCE(SUM(amount_kobo), 0) FROM transactions "
"WHERE kind = ? AND status != 'failed'", (kind,)).fetchone()
out[kind] = {"count": n, "kobo": v, "per_year_count": n / tenure_days * 365,
"per_year_kobo": int(v / tenure_days * 365)} # a rate estimate, held as whole kobo
return n_cust, tenure_days, out
if __name__ == "__main__":
n_cust, tenure, out = per_customer_year()
print(f"customers {n_cust:,}; mean tenure {tenure / n_cust:.1f} days (not 180: sign-ups keep arriving)")
print(f"{'kind':<18}{'rows':>8}{'naira':>16}{'rows/cust-yr':>14}{'naira/cust-yr':>15}")
for kind, label in KINDS.items():
r = out[kind]
print(f"{kind:<18}{r['count']:>8,}{r['kobo'] // 100:>16,}{r['per_year_count']:>14.2f}{r['per_year_kobo'] / 100:>15,.0f}")
nip = out["funding_transfer"]["per_year_count"] + out["payout_nip"]["per_year_count"]
print(f"NIP rows per customer-year (in + out): {nip:.1f}")
print(f"naive 180-day scaling would say: {(out['funding_transfer']['count'] + out['payout_nip']['count']) / n_cust * 365 / 180:.1f}")
# The one partner price the books do show: the processor's fee on card settlements, in basis points.
db = sqlite3.connect(DB)
fee = db.execute("SELECT SUM(e.amount_kobo) FROM entries e JOIN accounts a ON a.id = e.account_id "
"WHERE a.code = 'processing_expense' AND e.direction = 'debit'").fetchone()[0]
settled = db.execute("SELECT SUM(amount_kobo) FROM transactions WHERE kind = 'card_settlement'").fetchone()[0]
print(f"processor fee {fee:,} kobo on {settled:,} kobo settled = {fee * 10_000 / settled:.2f} basis points")cd labs/finance
ls data/finance.sqlite >/dev/null 2>&1 || (python3 generate.py && python3 cards.py)
python3 volumes.pycustomers 2,000; mean tenure 91.6 days (not 180: sign-ups keep arriving)
kind rows naira rows/cust-yr naira/cust-yr
funding_transfer 34,837 810,363,604 69.44 1,615,171
payout_nip 20,897 800,604,753 41.65 1,595,720
funding_card 10,280 112,244,350 20.49 223,719
p2p_transfer 13,540 84,359,324 26.99 168,140
NIP rows per customer-year (in + out): 111.1
naive 180-day scaling would say: 56.5
processor fee 110,590,267 kobo on 11,059,026,700 kobo settled = 100.00 basis pointsThe mean customer has 91.6 days of history, so the naive 180-day method gives 56.5 NIP rows per customer-year and the tenure method gives 111.1. The processor’s fee is exactly 100.00 basis points of settled value: that is the lab provider’s 1%, and it comes from the processing_expense entries.
2. Price both paths. Save buildmodel.py. Read the inputs first: each is a line in the table in the chapter, and each is yours to change. The functions compute the own path’s fixed cost, the yearly cost of each path for a volume, and the crossover as the fixed cost over the saving per customer-year.
"""Build or partner: yearly cost of each path, and the volume where they cross.
Every input below is ILLUSTRATIVE: invented for this lab, not a quote, a tariff or a regulator's figure.
Change them. Money is integer kobo; the volumes come from the books (volumes.py), not from here.
"""
from volumes import per_customer_year
NAIRA = 100
M = 1_000_000 * NAIRA # one million naira, in kobo
INPUTS = {
# --- what the partner charges (variable) ---
"partner_nip_fee": 12 * NAIRA, # per NIP row, in or out
"partner_card_bps": 100, # basis points of card value (the lab provider's 1%)
"partner_minimum": 24 * M, # yearly floor kept even on the own path, as the failover
# --- what share of each flow moves to the own path (0 to 100) ---
"share_nip_in_pct": 100,
"share_nip_out_pct": 100,
"share_card_pct": 100,
# --- what the own path costs (variable) ---
"own_nip_cost": 4 * NAIRA, # per NIP row: switch charge, network, compute
"own_card_bps": 75, # card value: interchange and scheme fees passed through
# --- what the own path costs (fixed, per year) ---
"engineers": 8,
"engineer_loaded": 39 * M, # N30m base x 1.3 loading
"ops_staff": 4,
"ops_loaded": 20 * M,
"card_fixed": 150 * M, # added only if cards move: scheme sponsorship, chargeback team, PCI assessment
"audits_certification": 60 * M, # security audits, scheme and switch certification
"connectivity_hsm": 90 * M, # leased lines, HSMs, a second site
"licence_capital": 2_000 * M, # capital that must sit in the company (set 0 if a partner carries the licence)
"cost_of_capital_pct": 20, # what that capital would earn elsewhere
"build_once": 600 * M, # one-off build
"build_years": 5, # years over which the build is written off
}
def volumes(customers, per=None, i=None):
"""Yearly NIP rows and card kobo that move to the own path for `customers` end users,
from the books' per-customer rates and the shares in the inputs."""
per = per or per_customer_year()[2]
i = i or INPUTS
nip = (per["funding_transfer"]["per_year_count"] * i["share_nip_in_pct"]
+ per["payout_nip"]["per_year_count"] * i["share_nip_out_pct"]) / 100 * customers
card = int(per["funding_card"]["per_year_kobo"] * i["share_card_pct"] * customers // 100)
return nip, card
def fixed_cost(i):
return (i["engineers"] * i["engineer_loaded"] + i["ops_staff"] * i["ops_loaded"] + i["audits_certification"]
+ i["connectivity_hsm"] + i["licence_capital"] * i["cost_of_capital_pct"] // 100
+ i["build_once"] // i["build_years"] + i["partner_minimum"]
+ (i["card_fixed"] if i["share_card_pct"] > 0 else 0))
def yearly(i, nip, card):
"""(partner path, own path) in kobo a year for nip rows and card kobo."""
partner = int(nip * i["partner_nip_fee"]) + card * i["partner_card_bps"] // 10_000
own = fixed_cost(i) + int(nip * i["own_nip_cost"]) + card * i["own_card_bps"] // 10_000
return partner, own
def crossover_customers(i, per=None):
"""Customers at which the two paths cost the same: fixed cost over the saving per customer-year."""
nip1, card1 = volumes(1, per, i)
saving = nip1 * (i["partner_nip_fee"] - i["own_nip_cost"]) + card1 * (i["partner_card_bps"] - i["own_card_bps"]) / 10_000
return fixed_cost(i) / saving if saving > 0 else float("inf")
if __name__ == "__main__":
per = per_customer_year()[2]
print(f"fixed cost of the own path: ₦{fixed_cost(INPUTS) / M:,.0f}m a year (cards included: {INPUTS['share_card_pct'] > 0})")
nip1, card1 = volumes(1, per, INPUTS)
print(f"per customer-year: {nip1:.1f} NIP rows, ₦{card1 / NAIRA:,.0f} of card value")
print(f"{'customers':>11}{'NIP rows (m)':>14}{'partner ₦m':>12}{'own ₦m':>9}{'own - partner':>15}")
for c in (1_000_000, 5_000_000, 20_000_000):
nip, card = volumes(c, per, INPUTS)
p, o = yearly(INPUTS, nip, card)
print(f"{c:>11,}{nip / 1e6:>14,.1f}{p / M:>12,.0f}{o / M:>9,.0f}{(o - p) / M:>+15,.0f}")
x = crossover_customers(INPUTS, per)
nip, card = volumes(x, per, INPUTS)
p, _ = yearly(INPUTS, nip, card)
print(f"crossover: {x:,.0f} customers = {nip / 1e6:,.1f}m NIP rows and ₦{card / NAIRA / 1e9:,.2f}bn of card value a year")
print(f"at the crossover the partner bill is ₦{p / M:,.0f}m a year")python3 buildmodel.pyfixed cost of the own path: ₦1,236m a year (cards included: True)
per customer-year: 111.1 NIP rows, ₦223,719 of card value
customers NIP rows (m) partner ₦m own ₦m own - partner
1,000,000 111.1 3,570 3,358 -212
5,000,000 555.4 17,851 11,847 -6,004
20,000,000 2,221.7 71,404 43,681 -27,724
crossover: 853,600 customers = 94.8m NIP rows and ₦190.97bn of card value a year
at the crossover the partner bill is ₦3,048m a yearThe fixed cost is ₦1,236m a year, which is the table’s sum. The paths cross at 853,600 customers; at 1 million the own path is ₦212m ahead, and at 20 million ₦27,724m ahead. Check the crossover by hand: ₦1,236m over about ₦1,448 a customer-year.
3. Find what moves it. Save sens.py. It sets each input to half and to one and a half times, one at a time, and ranks them by how far the crossover moves. It then changes which flows move to the own path, and the licence capital.
"""What moves the crossover most: each input at half and at one and a half times, one at a time."""
from buildmodel import INPUTS, crossover_customers
from volumes import per_customer_year
per = per_customer_year()[2]
base = crossover_customers(INPUTS, per)
print(f"base crossover: {base:,.0f} customers\n")
rows = []
for name, value in INPUTS.items():
if name.startswith("share_") or name == "build_years":
continue
lo, hi = (dict(INPUTS, **{name: int(value * f)}) for f in (0.5, 1.5))
a, b = crossover_customers(lo, per), crossover_customers(hi, per)
rows.append((abs(b - a), name, a, b))
print(f"{'input (x0.5 / x1.5)':<24}{'crossover at x0.5':>19}{'at x1.5':>12}{'swing':>12}")
for swing, name, a, b in sorted(rows, reverse=True):
print(f"{name:<24}{a:>19,.0f}{b:>12,.0f}{swing:>12,.0f}")
print("\nwhich flows move to the own path")
for label, shares in (("all three flows", (100, 100, 100)), ("NIP in and out, no cards", (100, 100, 0)),
("payouts only (NIP out)", (0, 100, 0)), ("cards only", (0, 0, 100))):
i = dict(INPUTS, share_nip_in_pct=shares[0], share_nip_out_pct=shares[1], share_card_pct=shares[2])
print(f" {label:<26}{crossover_customers(i, per):>12,.0f}")
print("\nthe licence capital")
for label, cap in (("₦2bn held, 20% cost of capital", INPUTS["licence_capital"]), ("a partner carries the licence (0)", 0)):
print(f" {label:<36}{crossover_customers(dict(INPUTS, licence_capital=cap), per):>12,.0f}")python3 sens.pybase crossover: 853,600 customers
input (x0.5 / x1.5) crossover at x0.5 at x1.5 swing
partner_card_bps 3,752,401 481,575 3,270,826
own_card_bps 537,832 1,992,829 1,454,997
partner_nip_fee 1,581,636 584,536 997,101
licence_capital 715,477 991,723 276,246
cost_of_capital_pct 715,477 991,723 276,246
own_nip_cost 740,051 1,008,311 268,260
engineers 745,864 961,336 215,472
engineer_loaded 745,864 961,336 215,472
card_fixed 801,804 905,397 103,592
build_once 812,164 895,037 82,874
connectivity_hsm 822,523 884,678 62,155
ops_staff 825,976 881,225 55,249
ops_loaded 825,976 881,225 55,249
audits_certification 832,882 874,319 41,437
partner_minimum 845,313 861,888 16,575
which flows move to the own path
all three flows 853,600
NIP in and out, no cards 1,222,028
payouts only (NIP out) 3,259,248
cards only 2,209,915
the licence capital
₦2bn held, 20% cost of capital 853,600
a partner carries the licence (0) 577,354The unit prices lead: the partner’s card price swings the crossover by 3.3 million customers and the partner’s NIP fee by about 1.0 million, while the engineers’ cost swings it by 0.2 million. Where the partner’s card price is at half (50 basis points), it is below the own path’s 75, so cards lose money to move and cancel most of the NIP saving. Payouts alone put it at 3,259,248 customers. A partner that carries the licence puts it at 577,354.
4. Put it on a timeline. Save years.py. It runs 60 months for an invented start of 400,000 customers growing 60% a year, with the own path going live in month 18. Before go-live the team and the locked capital cost money and the build is spent; afterwards the difference is the monthly saving.
"""Five years, month by month: the own path costs money before it saves any.
Illustrative inputs: starting customers, yearly growth, and months to go live. Integer kobo.
"""
from buildmodel import INPUTS, NAIRA, M, fixed_cost, volumes, yearly
from volumes import per_customer_year
START_CUSTOMERS = 400_000 # ILLUSTRATIVE
GROWTH_PCT = 60 # ILLUSTRATIVE, per year
GO_LIVE_MONTH = 18 # ILLUSTRATIVE: licence, build, certification before any traffic moves
per = per_customer_year()[2]
def run(i=INPUTS, start=START_CUSTOMERS, growth=GROWTH_PCT, go_live=GO_LIVE_MONTH, months=60):
cum, first_in_front, history = 0, None, []
run_cost = (fixed_cost(i) - i["build_once"] // i["build_years"] - i["partner_minimum"]) // 12 # monthly, before go-live too
for m in range(1, months + 1):
customers = start * (1 + growth / 100) ** (m / 12)
if m <= go_live:
cum += run_cost + i["build_once"] // go_live # spend, no saving yet
else:
nip, card = volumes(customers, per, i)
p, o = yearly(i, nip, card)
cum += (o - p - i["build_once"] // i["build_years"]) // 12 # the build was paid up front, so no write-off
if first_in_front is None and m > go_live and cum <= 0:
first_in_front = m
history.append(cum)
return history, first_in_front
if __name__ == "__main__":
history, back = run()
print("(positive: the own path has cost more so far; negative: it is ahead)")
print(f"start {START_CUSTOMERS:,} customers, +{GROWTH_PCT}% a year, live in month {GO_LIVE_MONTH}")
for y in range(1, 6):
gap = f"₦{history[12 * y - 1] / M:+,.0f}m"
print(f" end of year {y}: own path minus partner path, cumulative {gap:>10}")
print("cumulative cost back to zero in month:", back if back else "not within 60 months")python3 years.py(positive: the own path has cost more so far; negative: it is ahead)
start 400,000 customers, +60% a year, live in month 18
end of year 1: own path minus partner path, cumulative ₦+1,492m
end of year 2: own path minus partner path, cumulative ₦+2,122m
end of year 3: own path minus partner path, cumulative ₦+1,308m
end of year 4: own path minus partner path, cumulative ₦-664m
end of year 5: own path minus partner path, cumulative ₦-4,489m
cumulative cost back to zero in month: 45The own path is behind for three years and back to zero in month 45, because the saving starts only after month 18 and the volume has to grow into it.
5. Optional: check the scale. The extrapolation is firmer against a bigger sample. Generate scale 1 in /tmp, run the first two files against it, and delete it. It takes about 35 seconds and 715 MB.
python3 generate.py --scale 1 --out /tmp/atlas-s1
python3 volumes.py /tmp/atlas-s1/finance.sqlite
python3 buildmodel.py /tmp/atlas-s1/finance.sqlite
rm -rf /tmp/atlas-s1customers 20,000; mean tenure 90.5 days (not 180: sign-ups keep arriving)
kind rows naira rows/cust-yr naira/cust-yr
funding_transfer 372,491 9,464,869,560 75.10 1,908,350
payout_nip 214,993 9,325,911,074 43.35 1,880,332
funding_card 96,886 1,068,450,536 19.53 215,426
p2p_transfer 130,855 816,943,251 26.38 164,716
NIP rows per customer-year (in + out): 118.5
naive 180-day scaling would say: 59.6
processor fee 1,057,322,208 kobo on 105,732,220,800 kobo settled = 100.00 basis points 20,000,000 2,369.0 71,513 43,026 -28,487
crossover: 831,666 customers = 98.5m NIP rows and ₦179.16bn of card value a year
at the crossover the partner bill is ₦2,974m a yearThe rates move by a few percent (NIP rows by 7%, NIP value per customer by 18%, card value per customer down 4%) and the crossover by 2.6%, which is small against what the unit prices do. The last three lines of buildmodel.py are shown.
Change one thing and read the answer. In buildmodel.py set "licence_capital": 0, as if a partner’s licence carried the activity, and run python3 buildmodel.py.
python3 buildmodel.py | tail -2What to look for: the crossover falls from 853,600 to 577,354 customers, 64.1 million NIP rows and ₦129.17bn of card value a year, and the partner bill at the crossover from ₦3,048m to ₦2,061m. A fixed cost the company never spends decided a third of the answer. Restore it. Then in years.py set GROWTH_PCT = 20 and run python3 years.py: the cumulative gap is ₦+1,492m, ₦+2,394m, ₦+2,589m, ₦+2,598m and ₦+2,387m at the ends of years 1 to 5, and the final line says the cost is not back to zero within 60 months. At 20% growth the own path is live from month 19 but still costs more each month until about month 44, because the customer count stays below the monthly break-even of roughly 770,000 until then; the saving after that is too small to repay what was spent first. Restore 60.
Template
# Board paper: <build or partner, for which flow>
Author · Reviewed by · Date · Decision needed from the board by <date>
## The decision
<One sentence: what the board is asked to approve, and what happens if it does nothing.>
Scope: <which flows move (inward NIP, outward NIP, cards) and whose volumes the figures use>
## Options
| Option | What it is | Fixed cost a year | Saving per customer-year | Break-even volume |
|---|---|---|---|---|
## Costs and assumptions
<Each input, its figure, its source: the lab, a quote, a contract, or 'assumed'.>
## Timing
<Start, go-live month, cumulative cost over five years at two growth rates, month it turns.>
## What each option commits us to
- <option>: <people, capital held, contract term, rail it depends on>
## Risks
- <risk> — <what would show it>
## Recommendation
<Which option, and the figure or event that would change it.>
## Out of scope
<Questions for the regulator, counsel or a partner, and who is asked.> WORKED EXAMPLE
Ferrowave, the bulk-payouts company, is asked by its board whether to build its own connection to the instant-payment switch. Tamilore, who looks after partner contracts and the cost line, writes the paper using Nengi’s headcount plan; the chief executive signs it, and the board decides.
Decision needed by the next board meeting: build now, or stay with partners and rerun the model at a stated trigger. Scope: inward and outward NIP and cards, at the per-customer rates of the lab’s books, which are a wallet company’s, not Ferrowave’s payees.
Options. (A) Stay as now. (B) Stay and add a second partner for resilience and price pressure; its price is not in the lab, so the paper asks for a quote. (C) Build the own connection.
Costs, on the lab’s invented inputs. A costs ₦3,570 per customer-year (the lab’s ₦3,570m at 1 million customers), so ₦1,428m at 400,000 customers, an assumed start. C has a fixed cost of ₦1,236m a year, of which ₦400m is licence capital (₦2,000m at 20%), and costs ₦2,085m at the same volume. The saving is about ₦1,448 per customer-year, so the break-even is 853,600 customers, where the partner bill is ₦3,048m. Payouts alone move it to 3,259,248 customers; a partner carrying the licence, to 577,354.
Timing. With 60% a year growth (assumed) and go-live in month 18, C is ₦1,492m behind at the end of year 1 and ₦2,122m at year 2, and back to zero in month 45. At 20% growth it is still ₦2,387m behind at year 5.
Commits us to. C: twelve more people, ₦2,000m held, and a rail NIBSS is reported to be replacing. B: a second contract.
Recommendation. B, then rerun with Ferrowave’s own payee counts; reconsider C if payouts-only break-even is within reach and growth is contracted.
Could be wrong because the volumes come from a wallet company’s books, not Ferrowave’s payees; their counts would show it. Which licence is needed is for the CBN and counsel.
Now you
You are head of payments at Owoleaf, the wallet company, now at 200 people. Its partner bank has offered to halve the fee on each NIP payment, from the ₦12 the lab assumes to ₦6, if Owoleaf signs a three-year exclusive contract. The founders ask whether that makes owning the connection pointless.
Assume, as invented inputs, 150,000 customers today growing 30% a year, an own path live 18 months after a start, card pricing unchanged, and an exclusive that bars a second partner and any move of volume to your own connection. Your lab copy supplies the rest: step 3’s row for the partner’s NIP fee at half (1,581,636 customers), step 4 rerun with START_CUSTOMERS, GROWTH_PCT and partner_nip_fee changed, and the licence-capital-zero run.
Write a board paper on three options: accept the exclusive, decline and stay as you are, or start the build. Say what the exclusive gives up. The chief executive signs it, and the board decides, before the offer lapses at the end of next month, whether to accept it.
Self-check
Tamilore and Nengi have run the model with Ferrowave's own payee counts in place of the stand-in. Assume it says that payouts alone put the crossover at about ten times today's volume, and that the own path would be live 18 months after a start. Assume also that one partner bank had a long outage last quarter that held payouts for an hour, and the board wants a decision, not a debate. What do they put to the board?
- DOC Approved New Licence Categorization Requirements, Consolidated 2021 (CBN) Central Bank of Nigeria, 2021
The CBN's own document, the one to check every capital figure in this chapter against. The text could not be opened while this chapter was reviewed, so the figures here come from the summaries below.
- POST New licence categorisations for the Nigerian payments system (TNP) TNP, 2020
A law firm's summary of the CBN's December 2020 circular: the four categories, the Switching and Processing capital and its permitted activities. It is commentary on the rule, not the rule. Read it to know which question to put to the CBN's own text, and check that text before you use any figure.
- POST Highlights of the CBN's approved new licence categorisation requirements, consolidated 2021 (Mondaq) Mondaq, 2021
A second summary, of the 2021 consolidated requirements. Read it beside the first and note where they disagree, which the chapter does on the payment solution services figure. Skip the application checklists on a first pass.
- DOC NIBSS Instant Payment (NIP) NIBSS
The operator's own description of NIP and its services: name enquiry, direct credit, direct debit and status query. It is the operator's account of its own product, so read the services and check its current settlement documentation elsewhere.
- DOC FAQs for the letter to delist non-deposit taking institutions from receiving inflows through NIP NIBSS, 2023
NIBSS's own answers on who may receive and who may send through NIP, which is the access rule behind the chapter's inward and outward split. Read the answers on outward transfers and on switches and payment solution service providers, and check for newer notices.
- DOC About Interswitch Interswitch
A switching and processing company's own account of what it does. Read it as a picture of the kind of organisation that holds the build path's jobs, and as a vendor's claim about itself, not as evidence of its market position.
- DOC Hyperswitch documentation Juspay
Juspay's documentation for an open-source payments orchestrator, one design of the gateway and orchestrator row: you own the routing and the integration, and the providers keep the regulated position. Read the overview and the orchestration section; skip the deployment guides unless you plan to run it.
- BOOK Payments Systems in the U.S.: A Guide for the Payments Professional, third edition Benson, Loftesness and Jones, 2017
The standard practitioner guide to how card networks, processors and acquirers fit together and make money, from a consultancy that advises payment companies. It describes the US, so read it for the structure, not for rules. The link is a bookseller's listing. Read: the chapters on cards and on payments system economics; the listing shows only part of the contents.
All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.