Banking Microservices for UK Firms: Design, Rails and Resilience
For a UK bank, EMI or payment institution, microservices mean running accounts, ledger, payments, KYC, cards and FX as separately deployed services that own their data and talk through APIs or events. They help when domains need their own release cycles and when each important business service must be mapped and tested under the FCA's resilience rules; small teams usually start with a modular monolith.
Should a UK fintech split its platform at all?
Put simply, a microservices design gives each business job its own small program, database and release: one service opens accounts, another posts to the ledger, another screens customers, another sends Faster Payments. They cooperate over APIs and events rather than sharing a codebase. You can change a fraud rule on a Tuesday afternoon without redeploying the ledger, and in exchange you have many more moving parts to secure, monitor and keep within impact tolerance.
Most UK banks grew their software the other way: one large application where deposits, lending, payments, onboarding and reporting share a database and an overnight batch. That works until one area needs to scale alone, or until a change to screening risks the books. Where services sit in the wider stack is covered in our digital banking architecture guide.
| Question | One application | Separate services |
|---|---|---|
| How it grows | Bigger machines for everything | More copies of only the busy service |
| Speed of a call | In-memory, very fast | A network hop each time, though calls can run in parallel |
| Cost at peak | The whole app scales for a spike in one area | Only payments or fraud scale on payday |
| When something breaks | A fault in one module can stop all of it | The failure stays in one service |
| Languages | One stack throughout | Each team chooses what suits its service |
| Releases | Every change ships the whole system | Each service ships and rolls back alone |
| Platform skills needed | A simple pipeline | Orchestration, service discovery, tracing |
For most new UK EMIs the right start is a well-organised single application. Below about twenty engineers and one product, the overhead of separate services costs more than it returns. The turning point comes when domains need different release rhythms, when one area needs ten times the compute of another, or when you want regulatory reporting kept apart from the live payment path.
Newly authorised EMI or PI
A modular monolith: quick to change, easy to debug, nothing distributed to operate. Begin here.
Growing challenger
A mix: lift out the busiest or riskiest domains, usually payments and fraud, and leave the rest together.
Large bank or multi-entity group
Full services with event streaming, bounded contexts and a target per service that feeds each impact tolerance.
The modular monolith is the option teams skip too often: one deployment, but code split into modules with hard boundaries, their own schemas and internal interfaces. It keeps in-process speed and simple operations, and a module can be lifted out later when it needs to scale or release on its own. Avoid the distributed monolith, where services deploy separately yet share a database, call each other in long synchronous chains and must ship together. It brings the cost of microservices with the coupling of a monolith.
Let's discuss your project and see how we can launch your digital banking product together
Request demoMoving off an older core in stages
Replacing a bank's core in one weekend is rarely approved in Britain, and for good reason. The usual route is the strangler fig: new services grow around the edge of the old system and take over its functions one domain at a time, until what is left can be switched off. Many banks never retire the mainframe; they wrap it in APIs and events and put new products on services next to it. Each step that touches an important business service, such as making a payment, has to pass through the firm's resilience framework before it goes live. Our core banking modernisation guide compares the paths.
Where to draw service boundaries
Domain-driven design gives the most reliable cut lines. A bounded context, the set of terms a team uses with one consistent meaning, is a candidate service. In banking the cuts land in much the same place whatever the technology, and they line up with the modules of a core banking system. Asked for examples, most architects would draw something like this:
Ledger and accounts
- Accounts: opening, closing, product assignment, sort codes
- Postings: booking entries and reversals
- Interest: accrual and rate changes
- General ledger and safeguarding: chart of accounts, daily CASS 15 figure
Financial crime and controls
- Identity and screening: KYC, sanctions, case work for the MLRO
- Fraud scoring: real-time rules and models for APP risk
- Limits: velocity, per-payment and product limits
- Reporting: FCA returns and the audit trail
Payments
- Orchestration: routing, retries, timeouts
- Rail adapters: Faster Payments, Bacs, CHAPS, plus SEPA and SWIFT
- Confirmation of Payee: outgoing checks and incoming responses
- FX: rates, conversion, margin
Customer
- Authentication: login, devices, strong customer authentication
- Profile: contact details, preferences, consents
- Products: definitions, eligibility, prices
- Onboarding and alerts: applications, documents, push and SMS
Put each outside provider behind its own adapter, so that changing supplier touches one service and never the ledger. Typical adapters wrap Sumsub for identity checks, Currencycloud for FX, and agency banking and safeguarding partners such as ClearBank or Banking Circle. The adapter translates the provider's format into your own events. It also gives you a clean exit plan for each supplier, which the FCA's outsourcing rules expect.
Two mistakes come up again and again. The first is slicing by technical layer, with a "data service", a "logic service" and a "UI service" that cannot change independently. Each service should own a full business slice, database included; a shared database brings the coupling straight back (see banking database design). The second is ignoring team structure. A split only holds when one team owns each service, a pattern known as Conway's law.
Use the boundaries for security as well. Services that hold card numbers, identity documents or biometric templates belong in their own network segments with separate encryption keys and access rules. That limits damage in a breach and keeps the scope of PCI DSS assessments and UK GDPR reviews small.
A Faster Payment through the services
Following one payment end to end shows where the design is tight. A customer sends £1,200 to a new payee at 11pm on a Saturday. Faster Payments runs all day, every day, with a scheme limit of £1 million per payment and each provider setting a lower one, so every check below runs while the customer waits.
- Gateway and authentication: the token is checked and strong customer authentication confirmed on the registered device.
- Confirmation of Payee: a name check against the receiving provider. The PSR extended it to around 400 firms from October 2024 (PSR).
- Limits and available balance: per-payment and daily limits, then a hold on the funds.
- Fraud scoring and sanctions: under the APP scam reimbursement rules, in force since 7 October 2024, the sending and receiving firms split claims up to £85,000 equally, so a risky new payee may trigger a warning or a delay here.
- Ledger posting: the debit and the entry to the outgoing settlement account in one transaction.
- Rail adapter: the message goes to the agency bank's API and on to the scheme; the response updates the payment status.
Six synchronous hops, each with its own retries and timeouts, can eat the customer's patience before any real work is done. The rule is to keep only blocking checks on the synchronous path, give each a strict timeout and a defined fallback, and send everything else (alerts, analytics, reporting) through events. Incoming payments need scoring too, since the receiving firm pays half of any APP claim. Bacs (three-day cycle, Direct Debits) and CHAPS (Bank of England RTGS, high value) follow different clocks and get their own adapters.
Mapping services to important business services
The FCA and PRA operational resilience rules, PS21/3, ask firms to identify important business services, set an impact tolerance for each and map the people, systems and suppliers behind them. Firms had to be able to stay within those tolerances by 31 March 2025. A well-run set of microservices is almost that map already.
| UK requirement | What it looks like in the service estate |
|---|---|
| Mapping (PS21/3) | A service catalogue with owners, criticality and the important business services each one supports |
| Scenario testing (PS21/3) | Failure injection and failover per critical service, not only for the platform as a whole |
| Outsourcing notice (PSRs 2017, EMRs 2011; SYSC 8 and PRA SS2/21 for banks) | Every provider behind an adapter listed, with the function it supports and a tested exit route |
| Incident reports and third-party register (PS26/2, from 18 March 2027) | Traces and SLO alerts that show which service failed, which customers were affected and for how long; adapters feed the register |
| Daily safeguarding (CASS 15, since 7 May 2026) | The ledger and reconciliation services produce the figure each business day, with breaks raised as events |
Under PS26/2, firms will make one standard incident submission and banks, authorised EMIs and authorised PIs will keep a register of material third-party arrangements. If your traces already tag each failure with the service, the customers affected and the duration, the report almost writes itself. For EMIs and PIs, CASS 15 and the FCA EMI licence guide cover the rest of the regulatory side.
Service mesh: securing traffic between services
With dozens of services calling one another, the network between them becomes infrastructure in its own right. A service mesh puts a small proxy next to every service instance, as a sidecar, and lets it handle encryption, routing, retries and telemetry without touching application code.
There are two parts. The data plane is the fleet of proxies, almost always Envoy, through which every request passes. The control plane pushes configuration to them; Istio is the most common, and Istio Ambient Mesh and the eBPF-based Cilium cut the overhead.
| Feature | Use in a payments platform | Tools |
|---|---|---|
| Mutual TLS | Every internal call is encrypted and both ends prove who they are, so a compromised service cannot pose as the ledger. | Istio, Linkerd, Consul |
| Policy as code | Declared rules such as "payments may call the ledger, but not marketing analytics", enforced in the proxy. | Open Policy Agent |
| Circuit breaking | If fraud scoring starts failing, the mesh stops sending it traffic and returns a fast error, so payments do not hang. | Envoy, Istio |
| Distributed tracing | When a Faster Payment takes 4 seconds instead of 400 ms, the trace shows which hop added the delay. | Jaeger, Zipkin, OpenTelemetry |
| Traffic shifting | Send 5% of requests to a new account service version, keep 95% on the old one, and roll back by configuration. | Istio, Argo Rollouts |
Bank security used to mean a strong perimeter. With microservices the exposure moves inside, to traffic between services in the cluster. A mesh applies zero trust by default: nothing is trusted because it shares a Kubernetes namespace, and every connection is authenticated, authorised and encrypted. Its fault-injection features matter as much as its security, because they let you run the scenario tests PS21/3 expects. Sidecars cost some CPU, memory and latency per call; measure it on your own traffic. For very latency-sensitive paths such as FX pricing, Ambient Mesh or eBPF approaches reduce the overhead considerably.
API gateways for apps, partners and open banking
The mesh handles traffic between services. The gateway handles traffic coming in: mobile apps, web banking, business clients, partners and third parties using open banking under the PSRs 2017. It is where authentication is enforced, rate limits applied, protocols translated and telemetry collected, before any request reaches a service.
| Layout | How it works | Fits when |
|---|---|---|
| One gateway | Every client goes through the same entry point | Early days, one product, small team |
| Backend for each frontend | A mobile entry point trims payloads; a business portal one returns richer data for dashboards | Client needs differ so much that one API over-fetches or under-fetches |
| Two tiers | An edge tier for DDoS, WAF and TLS, then domain gateways for retail, business and wealth | Groups with several business lines or separate regulated entities |
| Microgateway | A light gateway beside one service that faces partners, working with the mesh | A service with a partner API that also serves internal callers |
Aggregation is where gateways pay off for customers. A payment screen may need the available balance, a live FX rate and a fraud pre-check. The gateway calls all three in parallel and returns one response, so the app makes one round trip. Guard against gateway creep, where business rules slowly accumulate at the edge until no team owns them. Security, traffic shaping, protocol translation and telemetry belong in the gateway; whether a transfer is allowed belongs in the payments service.
Open banking traffic deserves its own route through the gateway. Third parties authorised for account information or payment initiation reach the same account and payments services as your app, but with consent checks, separate quotas and their own audit log in front. Keeping that layer at the edge means a change in the consent model never forces a release of the ledger, and you can show the FCA exactly which provider saw which data.
Checks at the door
OAuth 2.0 and OIDC, mutual TLS for partners and open banking providers, WAF rules and schema validation.
One view of traffic
p99 latency, 4xx against 5xx errors and per-partner quotas, collected where every request passes.
Caching the static
Currency lists, product terms and fee tables cached at the edge, while balances and payments always go to the service.
Events and Kafka for real-time work
A synchronous call is right when the caller needs an answer now and the other side is always up. Much of banking is not like that. Monthly statements, management information, loyalty points and most alerts do not need the customer to wait.
In an event-driven design, a service publishes facts such as "payment.sent", "kyc.status.changed" or "safeguarding.break.raised" to a durable stream, and any number of consumers read them at their own pace. The producer does not know or care who listens. Apache Kafka is the usual backbone in UK banks and fintechs.
| Aspect | Calls and batch | Events |
|---|---|---|
| When work happens | On a schedule, often next day | Milliseconds after the fact |
| Dependence | Caller waits; if the callee is down, so is the caller | Producer carries on; consumers retry on their own |
| Freshness | Stale between runs | Updated as events arrive |
| Peak load | One bottleneck | Consumer groups scale on lag |
| Audit | Rebuilt from logs after the event | The ordered, replayable log is the record |
Fraud is the textbook case. A payment event lands on the stream, the scoring service compares it with the customer's usual behaviour and publishes "clear" or "flag" within tens of milliseconds, and the orchestrator releases or holds the funds. The two services deploy and scale independently. Event sourcing goes one step further and stores every event that produced the current state, so a balance is the sum of its posted events. You get full history, replay to rebuild read models and a natural base for CQRS, with separate paths for writes and reads.
Teams adding events to an existing UK platform usually go in three steps: build an event catalogue (with ISO 20022 formats where rails require them, as CHAPS now does); deploy the broker and move the easiest wins first, typically fraud, alerts and reporting; then run the new flow in shadow alongside the old one before switching over.
Keeping data consistent: sagas, idempotency and circuit breakers
Once a transfer spans a payments service, a ledger service and a fraud service, no single database transaction covers all three writes. That is the central consistency problem of a distributed bank.
The standard answer is a saga: a chain of local transactions, each announcing itself with an event, where a failure at step three triggers compensating entries that undo steps one and two. It comes in two styles:
Choreography
Each service reacts to the previous event and emits the next. No coordinator, which is fine for short flows and confusing once many services take part.
Orchestration
A coordinator service tells each participant what to do and runs the compensations. Easier to trace, and the usual choice for multi-step payments.
The price is eventual consistency. For a moment the sender's account is debited and the recipient's not yet credited, and each service is right from its own point of view. That is acceptable as long as the ledger reconciles and the app shows the customer a sensible "in progress" state, which the Consumer Duty expects you to communicate clearly.
Idempotency is mandatory. A retry will sooner or later deliver the same event twice, and the consumer must recognise it and return the same result. Give every event a globally unique ID and record processed IDs in the same local transaction as the change. Circuit breakers complete the picture: when a downstream service fails, the breaker opens and routes to a fallback, a quick error or a retry queue instead of letting threads pile up. Resilience4j does this in code; Istio and Envoy do it in the mesh without code changes.
Running it: Kubernetes, observability and releases
Operating microservices is a separate craft. It covers orchestration, service discovery, secrets, central logs, tracing and alerting on service-level objectives, not just CPU graphs.
Kubernetes is the default runtime: the CNCF survey published in January 2026 found 82% of container users running it in production, up from 80% a year earlier. Whether it runs in a public cloud London region or your own data centre is a separate decision, discussed in cloud banking. For a regulated firm the useful features are namespace quotas (cost allocation and multi-tenancy), network policies as internal firewalls, pod security standards and autoscaling on queue lag as well as CPU.
| Area | What to measure or control | Typical tools |
|---|---|---|
| Metrics | p50, p95 and p99 latency, error rate and saturation (queue depth, connection pools) for each service | Prometheus, Grafana |
| Logs | Structured JSON with trace and correlation IDs, searchable in one place | ELK, Loki |
| Traces | One trace per payment across every hop | Jaeger, Tempo, OpenTelemetry |
| Alerts | Fire when the error budget burns too fast, not on fixed thresholds | Alertmanager, PagerDuty |
| Secrets | Nothing in environment variables or config maps; rotation without redeploys | HashiCorp Vault, GCP Secret Manager, AWS Secrets Manager |
Release patterns limit the damage of a bad change. Blue/green keeps two identical production environments and switches traffic in one move; canary sends a small share of traffic to the new version and watches the SLOs before going further. Both are far easier with services than with a monolith, where rolling back can take hours. The cloud platforms underneath are now overseen as critical third parties: HM Treasury designated AWS, Google Cloud, Microsoft and Oracle, with oversight from 13 July 2026. Your own failover and exit plans still have to work.
If your group has an EU entity: DORA and SEPA Instant
A UK permission has not passported since 1 January 2021, so a UK group serving EU customers runs a separate EU-authorised entity. That entity brings two more sets of rules into the same service estate.
| Date | EU rule | Effect on services |
|---|---|---|
| 17 Jan 2025 | DORA applies to EU financial entities | Services and ICT providers mapped, tested, listed in the register of information and covered by incident reporting |
| 9 Oct 2025 | Euro-area PSPs send instant payments and offer Verification of Payee | A synchronous name check on the SEPA path; screening and scoring within the 10-second window |
| 9 Apr 2027 | Euro-area EMIs and PIs must send instant payments | Round-the-clock SEPA services for the EU entity |
| 9 Jul 2027 | Core obligations reach EU states outside the euro area | The same pressure for entities in those countries |
The dates come from Regulation (EU) 2024/886 (ECB overview). On 18 November 2025 the European Supervisory Authorities named the first critical ICT third-party providers under DORA. In practice most groups run one platform with separate ledgers and rail adapters per entity, and one control set that satisfies both the FCA and the EU regulator. Our DORA for payment institutions guide has the detail.
Is your team ready? A checklist
If most of the statements below are already true, splitting will probably pay off. If fewer than half are, a modular monolith or a bought platform will get your EMI to market sooner. The list reflects where UK banking projects usually go wrong: people and process fail before the technology does.
| Area | Ready when |
|---|---|
| Teams | Two or three teams, each able to own a service end to end, on-call included |
| Release rhythm | Domains really do need different cycles, such as weekly product work and quarterly ledger changes |
| Pipelines | Every service builds, tests and deploys with no manual step |
| Tracing | You can follow one Faster Payment through every service by a single trace ID today |
| Data | No two services write the same tables, and reconciliation between them is automatic |
| Contracts | APIs and event schemas are versioned and CI catches breaking changes |
| Compliance | Risk and compliance can pull the dependency map and incident history for a PS21/3 self-assessment without asking engineers |
Count the cost too. Each new service needs its own pipeline, dashboards, alerts, security review and on-call rota, and that platform work needs engineers before the first feature ships. For a small UK EMI or PI that is often the deciding reason to buy the core and build only what makes the product different.
Where Crassula fits
Crassula provides a modular, API-first core banking platform, so you get separated domains without building and running the distributed layer yourself. Accounts, account transactions, transfers and batch transfers, card issuing, currency exchange, onboarding and verification, client limits, open banking and reporting are separate sections of one documented REST API.
Two set-ups follow from that. A team without platform engineers uses Crassula as the whole core and spends its own effort on the customer experience. A team with services of its own keeps them and calls Crassula as the ledger, card or payments service behind its gateway, using the adapter pattern above. Rails and providers connect through ready connectors, and Crassula Hub covers the integrations around the core.
Prices are published: £17,500 setup and £7,000 per month, see pricing. If you are comparing a build with a platform, request a demo and we will show how your target design maps onto the API.
FAQ
Usually a modular monolith first. With fewer than about twenty engineers and one product it is quicker to build and easier to run. Split out services, typically payments and fraud, when domains need their own release cycles or scaling, or when you want reporting isolated from the payment path.
PS21/3 asks you to map each important business service to the systems and suppliers behind it and test it against its impact tolerance. A service catalogue with owners, dependencies and per-service failover tests is most of that evidence.
Only blocking checks: authentication, Confirmation of Payee, limits, fraud and sanctions screening, the ledger posting and the call to the rail adapter. Each needs a strict timeout and fallback; alerts and reporting move to events.
Since 7 October 2024 the receiving firm pays half of each APP scam reimbursement claim, up to £85,000 in total. Spotting mule accounts on the way in is therefore a direct cost saving.
Not at the start. A mesh earns its keep at roughly 10 to 15 services with more than one team deploying. Before that, a shared library for mutual TLS and a gateway for partner traffic are simpler. Istio is the common choice; Cilium is worth a look if sidecar overhead worries you.
Begin with one gateway and move to a backend per frontend when mobile and business clients need very different data. Groups with several regulated entities often add a two-tier layout. In every layout, keep business rules in the services, not the gateway.
Events decouple services, so fraud, alerts, reporting and safeguarding checks can react to the same payment independently and in milliseconds. The ordered log also doubles as an audit trail you can replay.
With sagas: local transactions linked by events, and compensating entries if a step fails. Use orchestration for multi-step payments so the flow is traceable, and make every consumer idempotent by recording processed event IDs.
Yes. Most large UK banks wrap the existing core in APIs and events, build new products as services around it and move functions off it domain by domain. A hybrid estate can last for years.
Far fewer than a large bank. A common shape is a core of ledger, accounts and payments, plus separate services for fraud, identity checks, notifications and one adapter per provider: often ten to twenty in total. Size the estate to the teams that can own it.
Only to the services of an EU-authorised entity in your group. The UK firm follows PS21/3, the outsourcing rules and, from 18 March 2027, PS26/2 incident and third-party reporting. One control set can usually cover both.