DEV Community

The UK Treasury is asking whether bank APIs should stay free. Do the maths now.

arun rajkumar on October 22, 2026

Every open banking pitch has a line in it that nobody reads twice: the bank APIs are free. That's true today. It's also the biggest assumption in ...
Collapse
 
khalisollis profile image
Khali Sollis •

This is a brilliantly practical and sharp wake-up call for anyone building in the open banking space. We’ve all gotten so used to treating "free bank APIs" as an immutable law of nature, forgetting that it’s essentially an artifact of regulatory subsidy rather than a sustainable market equilibrium.

The author makes a crucial point: free access often translates to underfunded, patchy infrastructure. A paid model with actual SLAs and accountability might actually elevate the ecosystem—if the pricing structure doesn't crush low-basket-size transactions in the process. Dropping that little code snippet to test break-even margins is absolute gold. It’s the kind of gritty, operational realism that separates a viable business model from a fragile pitch deck waiting on a regulatory rug-pull.

Collapse
 
mickyarun profile image
arun rajkumar •

The low-basket point is the one that actually bites, and the post undersold it. Two people in this thread found the arithmetic wrong in my favour.

Break-even on a £25 basket is 25 − 6 = 19p, and the script in the post only loops 0/1/5/10p — so it cannot print the number the post calls the only one that matters. @ilragioniere caught that. The sharper half is that 6p is an invented figure: at a real 14p of other costs, break-even is 11p, and the 10p row still prints a positive margin while sitting at 91% of the cliff.

The fee isn't even the bigger term. At £2,000/mo of fixed cost and 14,000 completions, fixed is 14.3p of that 19p before a bank charges anything. So "will this fee kill my margin" and "does this business work at this volume" are two different questions sharing one piece of arithmetic, and the post pointed at the smaller one.

On the SLA trade you raise: paid access with real accountability would lift the floor, but the term to watch is whether the fee is per call or per payment. Per call prices your retry policy, and status polls are most of the call count — @arhancanli's point, and it's the only term in the chain an engineer actually controls.

Collapse
 
ilragioniere profile image
Riccardo Vitali •

On the fallback: you are right, and I compared the wrong two things. The merchant pays something either way, so the fallback costs the lost saving rather than the gross card fee. On a 25p payment that is 32.5p, about 1.3 completed payments, not more than two. I priced the A2A at zero and then charged the card fee in full, which is the same mistake as reading a fee against revenue instead of against the alternative.

The split you named has a second consequence. If break-even is volume-free and viability is not, one script cannot answer both, and a row that mixes them is the least stable thing on the page while looking like the most. Your -2.4p at 14,000 completions is roughly 3,000 completions from flipping sign: at 17,000 the fixed term is 11.8p and the row sits at about +0.1p. Nothing in a single-volume table warns a reader how close the boundary is, and the row that gets quoted after someone's traffic changes is usually one of those.

So: two scripts, and a flag on near-boundary rows rather than on negative ones. The fee question has an answer at any volume. The business question has none until someone states a volume, and the honest output would say that instead of printing a margin that implies it has one.

Thread Thread
 
mickyarun profile image
arun rajkumar •

Taking the correction, and your two-scripts split is the better structure. One thing to fix in the flag before it ships: the distance to the boundary is not symmetric, so one radius misreads it.

Margin against volume is fixed over N, so it bends. At 2,000 a month, 14,000 completions carries 14.3p of fixed. Going up 3,000 to 17,000 takes it to 11.8p, a 2.5p gain, which is your flip. Going down 3,000 to 11,000 takes it to 18.2p, a 3.9p loss. Same step, half again the damage, in the direction nobody plans for. A row that says 3,000 completions from flipping sign reads as a cushion, and it is a cushion on one side only.

So the flag wants two numbers, completions to the boundary going down and going up, not a radius. Cheap to print, and it stops the row being quoted as a margin of safety.

The term neither script has is the one I cannot model honestly. Completions is an input in both of them and it is partly an output of the fee: price a payment and some baskets stop converting, which moves N while you are varying the thing that moved it. Both scripts hold constant the quantity most likely to respond. I would rather state that under the table than fit an elasticity I have no data for.

Thread Thread
 
ilragioniere profile image
Riccardo Vitali •

Checked it; your asymmetry is exact, and the two numbers you want to print are not independent.

With p0 the fixed term at current volume and m the cushion in pence, completions lost before the boundary over completions needed to double the cushion is (p0−m)/(p0+m). On your row: p0 = 14.3p, m = 2.5p, so losing it takes 2,087 fewer completions (−15%) and earning the same 2.5p takes 2,978 more (+21%). Both of your figures hold, and that ratio is cheaper to print than a second number.

It is also scale-free in m/p0, which is the part I would put in the post. A thin fixed term means the cushion is a large fraction of it, so the one-sided read is most wrong exactly at the operator large enough to have one. A business whose 14.3p is mostly not volume gets a near-symmetric cushion. Same flag, opposite risk.

On the term you can't model: no elasticity needed to bound it. A fall of x% in volume raises the fixed term by x/(1−x)%. On your row, a 5% dip adds 0.75p to 14.3p, which is 30% of the 2.5p cushion, and 30% of the distance to the boundary with it. One observable percentage, no fitted curve, same table as the two distances.

Agreed on stating it rather than fitting it. The weaker version: N is an output at every step, so both distances are an upper bound on the cushion and never a forecast.

Thread Thread
 
mickyarun profile image
arun rajkumar •

Checked the ratio and it holds on the row. p0 = 14.3p and m = 2.5p gives 11.8/16.8 = 0.70, and the counts come out at about 2,088 completions down against 2,963 up from 14,000, so the asymmetry is the ratio rather than an artefact of the numbers I happened to pick. Scale-free in m/p0 is the part worth printing, and I would print m/p0 itself rather than the ratio. One number, comparable across businesses, and the ratio falls out of it.

The x/(1−x) bound is better than what I had, because it needs one observable and no fitted curve. A 5% dip adding 0.75p to a 2.5p cushion is the sentence that makes the exposure legible without pretending to an elasticity nobody has.

Where both of them stop is the word fixed. The 2,000 a month is not a constant, it is a staircase. Seats, a plan tier, a support contract. Going down 15% in completions some of it steps down with you, so the formula overstates the damage, which is the forgiving direction. Going up, a tier can trip and add cost exactly where the table says the cushion is growing, which is not. So both distances are clean inside one step and wrong at the boundary, and the boundary is a known number rather than an unknown one. Printing the next step on each side costs one row and stops the cushion being read across a staircase it does not survive.

Collapse
 
ilragioniere profile image
Riccardo Vitali •

Two answers, since you asked for the number at 5p.

The script cannot print the number you say is the only one that matters. Break-even is fee minus other costs, so 19p per payment. The loop runs 0, 1, 5, 10p. Margin never reaches zero, so the one output you told people to look for is the one the loop cannot produce. Compute it directly, or run the array past 19.

Worth adding: break-even is a per-payment ratio, so the 20,000 never enters it. Volume sizes the monthly damage, not the cliff. That makes the invented volume harmless and the invented other-costs line the risky one: if someone's real infra cost is 14p, their break-even is 11p, and 10p has already eaten most of it. Your post says "use your real numbers". The script just does not reward anyone for doing it.

On the rail already having a price. The January FCA/PSR position is that they will not prioritise a competition investigation into UKPI's central access fee. That is a regulator declining to spend on a case, with an expiry date, not a fee that has been priced and approved. Both readings point the same way, but they are different sentences, and yours is the more defensible one: the fee exists and nobody is challenging it yet. "The rail has a price" reads as settled, and nothing has been settled.

One thing on the agentic paragraph: per call and per payment only diverge where the agent retries or polls. That is also where the authorisation evidence has to be strongest, so the cost model and the liability log are the same design decision, not two.

Collapse
 
mickyarun profile image
arun rajkumar •

You are right, and it is worse than a loop that stops short.

The post says the only output that matters is the fee where margin hits zero, then ships a loop over 0, 1, 5, 10. Break-even is 25 − 6 = 19. The loop cannot reach it. I told people what to look for and handed them a tool that cannot print it. The fix is not a longer array, it is one line: const breakEven = yourFeePence - otherCostsPence. I searched for something I could have solved.

Your second point lands harder than the first. If break-even is a per-payment ratio then the 20,000 is decoration, and I caveated the invented number that does not matter. The one that does is the 6p. Break-even moves 1p for every 1p of other costs, so someone running 14p of real infra has a break-even of 11p, and the 10p row in my loop has already taken 91% of it while printing a positive margin. Anyone whose costs are above mine reads my output as comfortable while being nearly underwater.

On the FCA line, I will take your sentence. "Will not prioritise an investigation, until legislation or July 2027" is a regulator declining to spend, with an expiry date. Mine says the newest rail "already has a price attached", which reads as a fee that has been through a process and come out the other side. The fee exists and nobody is challenging it yet. That is the version I can carry.