Skip to main content
Bastion Research Insights

Architecture

Digital Banking Platform Architecture: How the Main Layers Fit Together

A practical guide to digital banking platform architecture: ledger, payments, integrations, operations, security and AI-assisted customer support.

Bastion Research Published Updated
On this page

A digital banking platform is not simply a mobile application connected to a payment provider. It is a coordinated system responsible for customer identity, balances, financial transactions, approvals, external integrations, accounting, compliance, customer service and operational control.

Many platforms work adequately while transaction volumes are low and exceptional cases are handled manually. Architectural weaknesses usually become visible later: when a payment provider times out, a callback arrives twice, a card transaction is reversed after settlement, or the finance team cannot explain why an external account balance differs from the internal ledger.

A resilient architecture therefore needs more than a collection of APIs. It requires explicit ownership of financial state, controlled transaction lifecycles and clear boundaries between internal records and external providers.

The principal architectural layers

A practical digital banking architecture can be divided into seven connected layers:

The principal architectural layers. Customer channels connect to identity and access, which connects to product and workflow services. AI-assisted support also connects to product and workflow services. These services connect separately to the financial ledger and the provider integration layer. Both connect to operations and reconciliation.

The exact implementation may use a modular monolith, microservices or a combination of both. The important issue is not the number of deployable services. It is whether responsibility for each type of information is clear.

1. Customer channels

Web banking, mobile applications and customer-facing APIs should use a shared banking model. A customer should not receive different balances or payment states depending on which channel is used.

The channel layer should manage presentation and interaction, but it should not become the authoritative source for balances, transaction status or permissions. Those decisions belong in the platform's controlled backend services.

A common backend also makes it possible to introduce new channels without rebuilding the financial model.

2. Identity and access

Authentication establishes who is making a request. Authorisation determines what that person or system is permitted to do.

A banking platform normally needs several authorisation dimensions:

  • Customer or legal entity
  • Account ownership
  • User role
  • Transaction type
  • Transaction amount
  • Approval requirements
  • Jurisdiction or product restrictions
  • Staff permissions
  • Service-to-service permissions

Authorisation must be applied to the underlying object, not only to the API endpoint. An authenticated user who can retrieve one account must not automatically be able to retrieve another account by changing an identifier.

This is particularly important in API-based platforms. The OWASP API Security Top 10 identifies broken object-level authorisation and broken authentication among the principal API risks.

3. Product and workflow services

Banking products contain operational state as well as accounting state.

For example, a payment may move through the following lifecycle:

Create → Validate → Compliance review → Approve → Submit → Monitor → Complete → Reconcile

The payment service owns this operational lifecycle. The ledger records the corresponding financial effect.

These records are connected, but they are not interchangeable. A payment may be rejected before it produces a final ledger movement. A card authorisation may reserve funds before settlement. A provider may accept an instruction but settle it later.

Keeping workflow state separate from accounting entries makes exceptional cases easier to understand and control.

4. The financial ledger

The ledger should be the platform's internal financial source of truth.

A well-designed ledger normally provides:

  • Double-entry accounting
  • Balanced postings
  • Immutable financial history
  • Currency-specific accounts
  • Reservations or holds
  • Transaction references
  • Effective and posting dates
  • Reversals and compensating entries
  • Links to the originating payment, card transaction, fee or FX operation

The ledger should not infer balances by repeatedly aggregating operational payment records. Nor should a payment provider's balance be treated as the only authoritative record.

External providers report what happened in their systems. The ledger records the institution's own accounting position. Reconciliation establishes whether the two views agree.

5. Provider integration layer

Banks, card processors, KYC providers, payment institutions and FX providers expose different APIs, status models and operational rules.

The rest of the platform should not be forced to adopt every provider's terminology and data structures. A provider-neutral integration layer translates between a canonical internal model and provider-specific APIs.

For payments, the internal model might contain states such as:

  • Created
  • Pending approval
  • Submitted
  • Accepted
  • Rejected
  • Completed
  • Returned
  • Reversed
  • Reconciliation exception

One provider may report BOOKED, another SETTLED, and another may require a statement file before settlement is confirmed. The adapter translates these events without changing the customer application or ledger model.

Provider neutrality does not mean every provider is identical. Differences in cut-off times, settlement, compliance requirements and error handling must remain visible. The purpose of abstraction is to isolate those differences, not to hide them.

6. Events, retries and idempotency

Financial systems have to assume that networks fail and messages may be delivered more than once.

If a client does not receive a response, it may retry the request. A provider may repeat a webhook. A background process may resume after a temporary interruption.

Every operation capable of producing a financial effect should therefore have an idempotency strategy. Repeating the same instruction must not create a second payment or duplicate ledger entry.

Typical controls include:

  • Client-generated idempotency keys
  • Unique provider-reference constraints
  • Deduplication of callbacks
  • Transactional outbox patterns
  • Retry limits and dead-letter queues
  • Explicit timeout and unknown-result states
  • Manual investigation queues

“Unknown” is a valid operational state. Automatically treating a timeout as either success or failure can create duplicate payments or unexplained balances.

7. Operations, audit and reconciliation

A production banking platform needs operational interfaces designed for exceptions, not only dashboards showing successful activity.

Operations teams need to see:

  • Who initiated and approved an action
  • The complete state history
  • Related ledger postings
  • Provider requests and responses
  • Compliance decisions
  • Reconciliation status
  • Failed retries
  • Manual interventions
  • Supporting documents and communications

Material staff actions should be recorded in an audit trail. Financial history should be corrected through controlled reversals or compensating entries rather than silent database changes.

Where AI-assisted customer support fits

AI-assisted customer support should be treated as a controlled service layer, not as an unrestricted interface to the banking core.

A support assistant can answer routine questions, explain transaction states, guide customers through product workflows and collect information before escalation. It can operate continuously and apply a consistent service standard across languages and time zones.

However, a financial-services support assistant needs stricter controls than a general website chatbot.

A suitable architecture should include:

  • A curated, version-controlled knowledge base
  • Retrieval restricted to approved customer and product data
  • Object-level authorisation for every customer-specific request
  • Redaction or controlled handling of sensitive information
  • Confidence thresholds
  • Clear disclosure that the customer is interacting with an AI system
  • Human escalation for uncertain, disputed or sensitive cases
  • Complete logs of prompts, retrieved context and answers
  • Protection against prompt injection and untrusted external content
  • Separate authorisation for any action that changes financial state

The AI assistant should not move money, change a beneficiary, disclose sensitive records or override a compliance decision merely because a customer requested it in natural language.

If transactional functionality is introduced, the assistant should initiate the same authenticated and authorised workflow used by other channels. Existing transaction limits, multi-factor authentication, maker-checker requirements and compliance controls must continue to apply.

In other words, AI can improve the support interface without becoming a parallel banking system.

Security and operational resilience

Security must apply across the architecture rather than being added at the perimeter.

Relevant controls include:

  • Strong customer and staff authentication
  • Least-privilege access
  • Service identity and authorisation
  • Encryption in transit and at rest
  • Secrets and key management
  • Network and workload isolation
  • Secure API inventory
  • Audit logging
  • Monitoring and alerting
  • Backup and recovery testing
  • Dependency and software-supply-chain controls
  • Incident response procedures

NIST's Zero Trust Architecture guidance emphasises that trust should not be granted solely because a user or service is located on an internal network. Access decisions should be based on identity, policy and the resource being accessed.

For institutions operating in the European Union, the Digital Operational Resilience Act establishes requirements relating to ICT risk management, incident handling, resilience testing and third-party risk. The precise controls required depend on the institution, jurisdiction and operating model.

Card-data environments may also fall within the scope of PCI DSS. Architecture should minimise where sensitive card data is stored or processed rather than spreading it throughout the banking platform.

Bastion platform capabilities

How Bastion approaches the architecture

Bastion provides a modular banking platform covering customer applications, onboarding, accounts, ledger, payments, cards, compliance workflows, bank operations, reporting and external integrations.

The platform can be deployed as a complete banking foundation or introduced through individual modules connected to an institution's existing infrastructure.

Relevant Bastion capabilities include:

Bastion has completed the development of its AI Support Assistant. The module is production-ready, with the core support logic, customer-context handling, escalation workflows and audit controls implemented. Its production rollout is scheduled for the coming days.

The assistant is designed to provide continuous customer support, answer routine questions, explain transaction states and transfer complex or sensitive cases to human operators. It operates within the platform's existing authorisation and security model and does not bypass transaction approvals, compliance controls or customer authentication.

Bastion provides technology rather than regulated financial services. Licensing, financial-service availability and regulatory responsibility remain with the relevant licensed institution.

Architecture should make exceptions explainable

The quality of a banking architecture is not demonstrated only when every provider responds correctly.

It is demonstrated when:

  • A callback is delivered twice
  • A transaction remains pending
  • A provider changes a status retrospectively
  • Settlement differs from authorisation
  • A balance does not reconcile
  • A customer disputes a transaction
  • A service becomes unavailable
  • A staff member performs a manual correction

A mature platform preserves enough state, accounting information and audit evidence to explain what happened and recover without creating a second financial inconsistency.

That is the difference between connecting financial APIs and operating a financial platform.

References

Discuss the relevant module.