Core Architecture of a Financial Platform
Four platform patterns dominate B2B financial app engineering, each with distinct architecture requirements.
Open Banking and Account Data Aggregation
Bank connectivity via PSD2/Open Banking APIs (UK Open Banking, Berlin Group NextGenPSD2) or aggregation platforms (TrueLayer, Plaid, Tink, Yapily) requires consent management at the account level, token lifecycle management (access and refresh tokens per ASPSP), periodic re-authentication enforcement, and consent withdrawal cascades. Aggregated transaction data normalisation (categorisation, merchant normalisation, currency conversion) feeds downstream affordability assessments, financial health scoring, and cashflow analytics. Webhook infrastructure propagates balance and transaction updates to downstream consumers within seconds of bank notification.
Payment Orchestration and Processing
A payment orchestration layer selects the optimal payment rail for each request based on cost, speed, currency, and counterparty capabilities, choosing between card (Stripe, Adyen, Checkout.com), bank transfer (Bacs, SEPA, FedNow, SWIFT), or instant payment (Faster Payments, SEPA Instant). Intelligent retry logic applies per-failure-reason strategies: network timeouts retry immediately, insufficient funds retry after statement date, fraud blocks route to alternative method. Idempotency keys at the API layer prevent duplicate charges on network failures. Payment status state machines (Pending, Authorised, Captured, Settled, Refunded, Disputed) drive downstream reconciliation and ledger posting.
Digital Lending and Credit Origination
Loan origination systems manage the full application lifecycle: identity verification (KYC), affordability assessment (open banking transaction analysis, credit bureau integration via Experian, Equifax, and TransUnion), underwriting rule engine (scorecard-based or ML model inference), offer generation with APR/APRC calculation compliant with TILA/Regulation Z and the UK Consumer Credit Act, e-signature workflow, and drawdown initiation. The credit decisioning engine separates model inference from business rules: a model score feeds into a configurable rules engine that applies product-specific cutoffs, regulatory caps, and manual review routing. Every decision stores the input features and output for adverse action notice generation.
Wealth Management and Portfolio Infrastructure
Wealth platforms require: account aggregation across custodians (via FIX or proprietary APIs), order management system (OMS) with pre-trade compliance checks (investment policy statement validation, concentration limits, regulatory suitability scoring under MiFID II), portfolio rebalancing engine (drift-based or calendar-based with tax-lot optimisation), performance attribution (time-weighted and money-weighted returns per GIPS standards), and client reporting (PDF factsheets, PRIIP KIDs for packaged retail investment products). Robo-advisor variants add risk profiling questionnaire, model portfolio mapping, and automated rebalancing triggers.