Written by

Halkwinds Editorial Team

Halkwinds Research & Editorial

Published January 15, 2026
Finance Technology

Embedded Finance and Banking-as-a-Service: The Technical Architecture Behind It

How non-bank companies embed lending, cards, and accounts into their products through BaaS platforms and sponsor banks — and the ledger, API, and compliance architecture that makes it work

Blog image

Every product team that has shipped a branded debit card, an in-app lending offer, or a "pay later" checkout button has, whether they framed it this way or not, become a financial services company. Embedded finance is the umbrella term for this shift — non-bank companies embedding lending, card issuance, deposit accounts, and payments directly into their own software rather than sending customers to a third-party bank. Banking-as-a-Service (BaaS) is the infrastructure layer that makes it possible without the embedding company acquiring a bank charter.

What gets lost in the marketing narrative around embedded finance is that this is fundamentally a systems architecture problem before it is a product or growth problem. Ledgers have to reconcile to the penny. Compliance obligations have to be split across three or more parties in a way that survives a regulatory exam. APIs have to abstract core banking complexity without hiding the operational risk underneath it. This piece walks through that architecture — the sponsor bank relationship model, the ledger and API design patterns, how compliance responsibility actually gets divided, and how the major platforms in this space (Stripe Treasury, Unit, Synctera, and Marqeta) differ in practice.


Table of Contents

  • The Three-Layer Stack: Brand, BaaS Platform, Sponsor Bank
  • Core Ledger Architecture: How Money Movement Is Actually Recorded
  • APIs and Program Management: What a BaaS Platform Actually Builds
  • The Sponsor Bank Relationship: Compliance Responsibility in Practice
  • Compliance Splitting: KYC, AML, and Who Owns What
  • Platform Landscape: Stripe Treasury, Unit, Synctera, and Marqeta Compared
  • Build vs. Buy: When Embedding Finance Makes Sense on a Product Roadmap
  • Implementation Risks and Technical Due Diligence

Key Takeaways

  • Sponsor banks retain ultimate regulatory and legal responsibility for embedded programs even when a BaaS platform operationalizes the day-to-day compliance workflow — the bank's exam authority does not transfer.
  • Ledger design — typically a double-entry, immutable, event-sourced system with per-customer sub-ledgers — is the technical backbone that determines whether a program can pass a bank's reconciliation and audit requirements.
  • Stripe Treasury, Unit, Synctera, and Marqeta occupy meaningfully different positions in the stack: full-stack BaaS, marketplace-style multi-bank BaaS, and card-issuing processor are not interchangeable categories.
  • In our experience, embedded finance typically compresses time-to-launch from the 12-18 months required for a direct bank partnership down to 3-6 months, but it shifts a significant share of ongoing operational and compliance risk onto the embedding company's program management function.

The Three-Layer Stack: Brand, BaaS Platform, Sponsor Bank

Nearly every embedded finance program in the U.S. market is built on the same three-layer structure, even when the marketing surface makes it look like a single seamless product. The top layer is the brand — the software company whose logo appears on the card or the app screen, and whose product experience the end customer actually interacts with. The middle layer is the BaaS platform, which provides the API surface, the ledger, card issuance and processing connectivity, and program management tooling. The bottom layer is the sponsor bank — an FDIC-insured, chartered institution that actually holds the deposits, originates the loans, or issues the cards under its own banking license.

The brand does not touch a banking charter at any point. It builds against APIs. The BaaS platform does not hold a charter either, in most cases — it is a technology and services company that has negotiated program agreements with one or more sponsor banks. The sponsor bank is the only entity in the stack with direct regulatory authority to hold insured deposits or issue certain credit products, and it is the only entity examined directly by the OCC, FDIC, or state banking regulators for safety and soundness on that specific program.

Core Ledger Architecture: How Money Movement Is Actually Recorded

The ledger is the single most consequential technical component in an embedded finance stack, because it is what a bank examiner, an auditor, and a regulator will all eventually want to inspect. Nearly every serious BaaS platform implements a double-entry ledger — every transaction posts as a debit and a credit across at least two accounts, so the system is self-balancing by construction rather than by after-the-fact reconciliation.

On top of double-entry bookkeeping, most platforms layer an append-only, event-sourced design: transactions are never mutated or deleted, only appended, with corrections posted as new offsetting entries. This gives a full, immutable audit trail, which matters enormously when a sponsor bank's compliance team needs to reconstruct exactly what happened to a given dollar six months after the fact. Per-customer sub-ledgers roll up into master settlement accounts that reconcile against the sponsor bank's own core banking system, typically on a daily batch cycle for ACH-based movement and in near-real-time for card authorization and settlement. Idempotency keys on every write operation are a practical necessity here — without them, network retries during payment processing can silently double-post transactions, which is precisely the class of bug that turns into a reconciliation break discovered weeks later.

APIs and Program Management: What a BaaS Platform Actually Builds

The API surface is what the embedding company actually builds against, and it typically covers account and customer creation (with KYC/CIP data collection built into the onboarding call), card issuance and lifecycle management (virtual and physical card creation, activation, PIN management, freeze/unfreeze), payment rails connectivity (ACH origination and receipt, wire, and increasingly real-time rails like RTP and FedNow), and webhook-based event notifications for every state change in the system — a transaction posting, a card being declined, a dispute being opened.

Program management tooling sits alongside the customer-facing API and is arguably the more compliance-critical half of the platform. This is where velocity limits, risk rules, transaction monitoring thresholds, and reporting dashboards live — the tooling a sponsor bank's compliance team actually uses to oversee the program in production, not just at launch. A BaaS platform that has invested heavily in program management tooling is generally a signal of a more mature, bank-friendly operation than one that has invested only in developer-facing API polish.

The Sponsor Bank Relationship: Compliance Responsibility in Practice

The program agreement between the BaaS platform (or, in some structures, directly between the brand and the bank) and the sponsor bank is the legal document that actually allocates responsibility, and it typically runs to hundreds of pages. Regulatory guidance in this space has, in recent years, put increasing emphasis on the principle that a bank cannot outsource its compliance obligations even when it outsources the operational work — the bank's board and management remain accountable for the program regardless of how many vendors sit in the technical chain.

In practice this means the sponsor bank commonly retains final approval rights over new products launched on the program, audit rights over the BaaS platform's systems and the brand's marketing and customer service practices, and the authority to unilaterally pause or terminate the program if it identifies a compliance gap. This is not a formality — sponsor banks have exited embedded finance programs, sometimes with short notice, when their own risk tolerance or regulatory posture shifted. Any technical architecture for an embedded finance product should be built with the assumption that a sponsor bank relationship is not permanent infrastructure in the way a cloud provider contract is.

Compliance Splitting: KYC, AML, and Who Owns What

Know-your-customer and customer identification program checks are typically executed by the BaaS platform through a third-party identity verification vendor at account opening, but the sponsor bank commonly retains ultimate approval authority and can require manual review or rejection of applicants the platform's automated system would otherwise approve. Ongoing AML transaction monitoring is usually configured and run through tooling the BaaS platform operates, but Suspicious Activity Report filing — the actual regulatory filing — is a bank function that cannot be delegated away, since only the chartered institution has standing to file.

Fraud liability is one of the more commercially contentious splits, and it varies significantly by program agreement: some structures push first-dollar fraud loss to the brand, others split it by transaction type or fraud category, and card network rules add another layer of liability allocation on top of whatever the program agreement specifies. Complaint handling and Reg E dispute timelines are frequently the operational responsibility of the brand's customer support team but remain the legal responsibility of the sponsor bank, which is why banks typically require detailed service-level agreements and audit access into the brand's support tooling before launch.

Platform Landscape: Stripe Treasury, Unit, Synctera, and Marqeta Compared

These four platforms are frequently mentioned together, but they occupy genuinely different positions in the stack. Stripe Treasury is embedded banking infrastructure built to extend Stripe's existing payments platform — it is typically adopted by companies already using Stripe Connect for marketplace or platform payments, and it pairs the product with a sponsor bank relationship Stripe has negotiated, giving end users the ability to hold balances and move money without Stripe itself being a bank.

Unit positions itself as a full-stack BaaS platform, bundling the ledger, compliance tooling, and pre-negotiated sponsor bank relationships into a single integration aimed at moving fintechs from contract signature to launch quickly. Synctera takes a marketplace approach, working with multiple sponsor banks and giving companies more latitude to shop program terms and customize product design, which typically suits companies wanting differentiated card or deposit products rather than a standardized offering. Marqeta, by contrast, is primarily a card issuing processor rather than a full BaaS platform — its core strength is card issuance, authorization, and processing infrastructure, and companies commonly pair Marqeta with a separate BaaS platform or direct sponsor bank relationship to handle the deposit account and compliance layers Marqeta itself does not provide.

Build vs. Buy: When Embedding Finance Makes Sense on a Product Roadmap

The decision to embed a financial product is rarely purely technical, but the technical cost structure should drive a meaningful part of it. Building a compliant ledger, reconciliation pipeline, and sponsor bank relationship from scratch is typically a multi-year, specialist-engineering-heavy undertaking that most software companies should not attempt unless financial infrastructure is genuinely core to their competitive differentiation. For most product teams, a BaaS platform is the correct starting point, with the build-vs-buy question really becoming a choice of which platform's API design, program management tooling, and sponsor bank options fit the product roadmap and target customer risk profile.

The teams that get the most value out of embedded finance treat the integration as a long-term systems commitment, not a feature sprint — dedicating engineering ownership to reconciliation monitoring, webhook reliability, and compliance reporting on an ongoing basis rather than treating the BaaS platform as a black box that eliminates operational work entirely.

Implementation Risks and Technical Due Diligence

The most common failure modes we see in embedded finance implementations are not fraud or regulatory violations — they are reconciliation breaks caused by webhook delivery failures, idempotency gaps under retry conditions, and insufficient monitoring of settlement timing mismatches between the ledger and the sponsor bank's core system. A technical due diligence checklist before committing to a BaaS platform should typically cover webhook delivery guarantees and retry semantics, ledger reconciliation cadence and audit log immutability, sponsor bank concentration (is the program dependent on a single bank relationship, and what happens if that bank exits), API rate limits under real transaction volume rather than sandbox conditions, and the platform's own track record of program continuity — how it has handled previous sponsor bank transitions for other customers.

Engineering teams evaluating this space also need architecture-level judgment about where AI-driven fraud detection, underwriting, and customer support fit into a program governed by strict compliance splitting — a domain Halkwinds works in directly through our enterprise AI development practice, where we help finance and fintech teams design systems that hold up under both engineering scrutiny and regulatory audit. If your team is scoping an embedded finance build or evaluating BaaS platform options, our engineers are available through contact to walk through the architecture decisions specific to your product.

Frequently Asked Questions

Is a BaaS platform itself a bank?

No. BaaS platforms are technology and program management companies that provide APIs, ledgers, and operational tooling, but they operate under program agreements with FDIC-insured sponsor banks that hold the actual banking charter and regulatory responsibility.

Who is legally responsible if an embedded finance program has a compliance failure?

The sponsor bank retains ultimate regulatory responsibility and is the entity examined by regulators, even though day-to-day compliance operations are commonly executed by the BaaS platform and the brand under the program agreement's division of labor.

How is Marqeta different from a full BaaS platform like Unit or Synctera?

Marqeta is primarily a card issuing processor focused on card issuance, authorization, and transaction processing infrastructure. Full BaaS platforms typically bundle card issuance with deposit account ledgers, compliance tooling, and sponsor bank relationships in a single integration.

What is the typical timeline to launch an embedded finance product using a BaaS platform?

In our experience, timelines commonly range from 3 to 6 months from contract signature to a compliant production launch, compared to 12 to 18 months or more for a company negotiating a direct sponsor bank relationship without a BaaS intermediary.

What happens to an embedded finance program if the sponsor bank exits the relationship?

The BaaS platform typically works to migrate the program to an alternative sponsor bank, but this process can involve service interruptions, renewed compliance review, and contractual renegotiation, which is why sponsor bank concentration risk is a key item in technical due diligence.