Skip to main content
Transactions are where financial value moves. This section covers balances, transaction processing, events, and operations.

Content


Here, you’ll find:
  • Balances: The value an account holds. Balances reflect every operation over time and support multiple balance keys to segment funds within one account.
  • Balance Overdraft: Controlled negative balances. When a balance goes negative, Midaz caps its available amount at zero and records the deficit as a debit on a companion overdraft balance.
  • Transactions: Complete financial events built on Midaz’s double-entry accounting. Every transaction pairs debits and credits, and they must balance before Midaz commits it.
  • Transaction amount: How Midaz stores financial values as precise decimals. This keeps values accurate across all asset types, from fiat currency to high-precision crypto tokens.
  • Event publisher: Real-time event publishing for transaction updates. When you enable it, every transaction emits an event to a dedicated RabbitMQ exchange. External applications consume it without a tight dependency.
  • Receiving events from Midaz: Consume ledger events in two ways. Bind directly to Midaz’s RabbitMQ exchanges, or subscribe through the Streaming Hub.
  • Async transaction processing: How Midaz decouples transaction writes with RabbitMQ for higher throughput and lower latency. It covers sync and async modes, built-in resilience, and balance synchronization.
  • Bulk Recorder: Batch transaction processing that groups multiple writes into one bulk operation. It reduces database round trips and increases throughput for high-volume workloads.
  • Operations: The smallest unit of financial activity — a single ledger entry, either a debit or a credit on a specific account. Operations form the building blocks of every transaction.