Receive money intent
Payments, transfers, cards, or account changes declare what should move.
Anchor payments, transfers, accounts, and reconciliation in ledger behavior that remains inspectable after retries, provider drift, and support escalation.
Entrypoint
POST /ledger-entries
Payments, transfers, cards, or account changes declare what should move.
Minor-unit ledger entries preserve exact accounting behavior.
Posting boundaries prevent duplicate effects under replay pressure.
Downstream systems receive signed state changes with correlation identifiers.
Finance and compliance can inspect the actor, tenant, policy, and entries.
Events emitted
Evidence retained
Every debit, credit, posting boundary, replay decision, and exportable audit record stays tied to the money movement.
Incident
A service retries the same money-writing operation after losing its response.
Zentra path
The posting boundary resolves replay posture before balances can change again.
Evidence
Posting ID, idempotency key, debit account, credit account, and replay result are retained.
Incident
Finance needs to explain why an account balance changed during closeout.
Zentra path
Entries, source event, actor, and policy context are available from one ledger trail.
Evidence
Entry IDs, minor units, source event, account IDs, and timestamp are retained.
One call to POST /ledger-entries produces status, emitted events, and retained evidence a team can inspect without leaving the product surface.
await zentra.ledgers.post({
debit: "customer_balance",
credit: "reserved_balance",
amount_minor: 125000,
idempotency_key: "led_8172"
})product consequence
Represent money without floating-point ambiguity or hidden rounding behavior.
Preserve debit and credit balance across holds, releases, reversals, and settlement.
Protect ledger mutation boundaries when clients, providers, or services retry.
Attach actor, tenant, timestamp, policy, and event context to each money storyline.
Visual center
Minor-unit debits and credits tied to actors, tenants, policies, and event history.
State, actor, tenant, signature, and policy context remain reviewable after the happy path breaks — written to be checked by operators and compliance teams, not admired in a deck.