Ledger as a service is a double-entry ledger that a fintech or software platform rents through an API instead of building itself. It records every money movement as balanced debit and credit entries and keeps each customer’s balance. It does not replace the bank’s core: it is the program’s own subledger, and the sponsor bank relies on it to know whose money sits in a pooled account.

What a ledger as a service does

A bank’s core system keeps the bank’s accounts. Our guide to what is core banking covers it. A fintech program usually holds its customers’ money in one pooled for-benefit-of (FBO) account at the bank. The core then sees one large balance. Someone still has to know that $40 of it belongs to one user and $1,200 to another, and which card authorizations are holding part of it.

That record is the program ledger. Teams can build it on their own database, run an open-source ledger, or call a managed ledger API. “Ledger as a service” is the managed option. Modern Treasury, Fragment and Twisp sell one; Formance and TigerBeetle publish open-source software that teams run themselves.

Product ledger or general ledger

Two different things are called a ledger. Formance’s documentation separates them. A product ledger controls balances and money movements inside an application, where concurrency, scarcity and an exact history matter at the moment of the transaction. A general ledger classifies financial events to report the financial position of a business, usually in an ERP or accounting system. A ledger as a service is a product ledger. The finance team’s general ledger still exists, and the product ledger’s events are mapped into it where needed.

The data model

The providers use different names for the same idea. Money moves only in transactions, and every transaction writes at least two entries whose debits and credits are equal.

Provider Objects, as its documentation names them Rule it enforces
Modern Treasury Ledgers Ledger, ledger accounts, ledger transactions, ledger entries; account categories group accounts A ledger transaction has at least two entries, and its credit and debit entries “must sum to the same amount”
Twisp Journals, accounts, entries, transactions, balances “The only way to write to a ledger is through a transaction,” and each posting creates at least two entries
Formance Ledger Ledgers, accounts, and atomic transactions made of postings, written in its Numscript language All postings in a transaction are applied together or the transaction is rejected; Ledger 2.x stores data in PostgreSQL
TigerBeetle Accounts and transfers A database built on debit/credit; transfers can be reserved first and resolved later
Fragment A chart of accounts defined as a schema; ledger entries posted through a GraphQL API Each entry type maps an event in the funds flow to balanced lines

Modern Treasury notes that a ledger transaction writes to only one ledger, so moving value between two ledgers takes two transactions. It also supports currencies and currency-like values such as rewards points.

Formance’s Ledger is changing under its users. Its documentation for Stack v3.2 describes Ledger 2.x on PostgreSQL. A Stack v4.0 preview, checked November 24, 2026, pins Ledger 3.0, which stores data in an embedded Pebble store and replicates through Raft instead. Formance says v4.0 has not shipped, that no v4.0 stack serves production traffic today, and that existing Ledger v2 integrations are not wire-compatible. Anyone choosing Formance now is choosing v2 and planning a migration.

Pending, posted and available balances

Card programs and bank transfers do not settle at once. A ledger has to show money that is promised but not yet moved.

Modern Treasury defines three balances on each account. The posted balance is the sum of posted entries. The pending balance is the sum of pending and posted entries. The available balance is posted incoming entries minus pending and posted outgoing amounts. A card authorization therefore lowers the available balance before the transaction settles.

Twisp uses layers for the same job: a settled layer, a pending layer for holds and authorized transactions, and an encumbrance layer for expected or scheduled transactions. TigerBeetle calls it a two-phase transfer. A pending transfer reserves funds; it is then posted, voided or left to expire. A partial post moves part of the amount and returns the rest.

Worked example: a $100 card authorization

An illustration using Modern Treasury’s balance definitions on a wallet account that holds $500; the figures are our arithmetic, not the provider’s. Other providers name the layers differently but the sequence is the same.

Step Ledger transaction Posted Pending Available
Start Funding posted earlier $500 $500 $500
Card authorized for $100 New transaction in pending $500 $400 $400
Merchant clears for $92 (a smaller final amount) The pending transaction is edited to $92, then set to posted $408 $408 $408
Authorization never clears The pending transaction is set to archived $500 $500 $500

The last two rows are alternatives. Modern Treasury’s rules explain why the order matters: a pending ledger transaction can be modified, and its earlier versions stay visible, but once a transaction is posted or archived its status and entries cannot be changed. Undoing a posted transaction takes a second, reversing transaction. Only the metadata of a transaction can always be updated. So a program that posts at authorization and corrects later produces reversals; one that holds in pending until the clearing file arrives does not.

Keeping the ledger and your own database in step

A ledger as a service is a separate system, and a write to it is not part of your database transaction. Fragment’s documentation says so directly: application database updates and Fragment writes do not share a transaction, so use stable idempotency keys and an outbox for reliable delivery. The pattern is to save the intended ledger write next to your own record in one database transaction, then have a worker send it with the same idempotency key until it succeeds. A retry then cannot post twice. Formance documents idempotency keys for the same purpose.

Concurrency is the second half. Modern Treasury lets a ledger transaction be written conditional on the resulting balance or on a lock version of the account, so two simultaneous authorizations cannot spend the same $100.

Why the sponsor bank cares about your ledger

FDIC pass-through insurance depends on records. Under 12 CFR 330.5(b)(2), when a bank’s account records show a fiduciary or custodial relationship, “the details of the relationship and the interests of other parties in the account must be ascertainable” either from the bank’s records or from records “maintained, in good faith and in the regular course of business” by the depositor or by “some person or entity that has undertaken to maintain such records.” For many fintech programs, that entity is the program ledger.

Cross River Bank’s documentation shows how a sponsor bank turns this into operating rules. When Cross River holds customer funds in an FBO account, it says partners “must make beneficial owner identity and ownership interests ascertainable for FDIC pass-through insurance.”

Cross River model Who holds funds What the partner’s ledger must send
Card-only BIN sponsorship Not Cross River Daily transaction file and chargeback file; no balance sync, since no customer funds are held
FBO subledger Cross River, pooled FBO account Customer balances synced into the bank’s subledgers at least once daily, plus a daily balance file, daily transaction file and chargeback file
FBO pooled account Cross River, pooled FBO account Daily balance file with individual customer balances, plus a daily transaction file and chargeback file

In the subledger model, Cross River writes, the bank “becomes the system of record through these subledgers.” Each customer subledger that changed during the day posts one book transfer against an implicit subledger, which collects small timing differences as the program’s net position. The documentation adds that high-volume programs may need more than one sync a day, and that subledgers are routable accounts on all Cross River payment rails, which is the reason it gives for choosing that model if a program needs rails other than ACH. The models are also described in our guide to bin sponsorship.

When a program ledger and the bank’s records disagree, end users can lose access to their money while the gap is worked out. The synapse bankruptcy shows what that looks like.

Managed API or open source

Option Examples What you run
Managed ledger API Modern Treasury Ledgers, Fragment, Twisp Your integration; the provider runs the ledger. Twisp lets one account provision several accounting-core instances, each with one ledger
Open-source ledger Formance Ledger (MIT license) The ledger service and its PostgreSQL database (Ledger 2.x); Formance’s self-hosted documentation deploys it through Kubernetes custom resources
Open-source ledger database TigerBeetle (Apache License 2.0) A database cluster; your application defines accounts and transfers on top

A ledger is also part of many card and BaaS platforms. Cross River’s partner-managed models assume the partner keeps its own ledger, while a platform that acts as program manager may keep it for you. Ask which party holds the ledger of record before signing; how to choose an issuer processor covers that question for card programs.

What to check before choosing

  • Immutability and history. Modern Treasury documents how to read prior states of a ledger and that posted transactions cannot be edited; Fragment’s API returns balance history by period. Ask how you would prove a customer’s balance on a past date.
  • Idempotency. Fragment’s entry calls carry an idempotency key, so a retried request does not post twice, and Formance documents idempotency keys too. Ask every vendor how retries are handled.
  • Concurrency. Modern Treasury exposes a lock version and balance conditions on entries, so two writes cannot overspend one account. Ask what happens when two authorizations hit the same balance at once.
  • Holds. Check that pending, posted and available balances, or equivalent layers, exist natively.
  • Bank files. Check that the ledger can produce the daily balance and transaction files your sponsor bank asks for, at the customer level, and which cutoff time they follow. Our guide to core banking end-of-day processing shows why a transaction after the cutoff lands on the next day’s books.
  • Reconciliation. Fragment publishes a guide to matching synced external transactions to ledger entries. Ask how breaks between the ledger and bank statements are found and cleared.
  • Roadmap. Ask whether a major version is coming that is not wire-compatible, as with Formance’s Ledger 3.0 preview.

For a bank changing its own core, read core banking migration. For how fintechs reach bank accounts and payments, see api banking.