Content
Here, you’ll find:
- Balances: The value held by a specific account. Balances reflect the result of all operations over time and support multiple balance keys for advanced fund segmentation — like separating operational, collateral, and credit funds within a single account.
- Balance Overdraft: Controlled negative balances with automatic split between primary and companion balances, repayment priority on incoming credits, and real-time tracking — covering use cases from credit lines to BNPL and settlement accounts.
- Transactions: Complete financial events powered by Midaz’s double-entry accounting system. Every transaction involves debits and credits that must balance before being committed.
- Transaction amount: How Midaz stores and handles financial values using precise decimal representation, ensuring accuracy across all asset types — from fiat currencies to high-precision crypto tokens.
- Event publisher: Real-time event publishing for transactional updates. When enabled, every processed transaction emits an event to a dedicated RabbitMQ exchange, allowing external applications to consume them without creating tight dependencies.
- Async transaction processing: How Midaz decouples transaction writes using RabbitMQ for higher throughput and lower latency. Covers sync vs async modes, built-in resilience, and balance synchronization.
- Bulk Recorder: Batch transaction processing that groups multiple writes into efficient bulk operations. Reduces database round trips and increases throughput for high-volume workloads.
- Transactions DSL: A Domain-Specific Language called gold for structuring financial transactions in readable
.goldfiles. (Deprecated) - Operations: The smallest unit of financial activity — a single ledger entry, either a debit or a credit on a specific account. Operations are the building blocks of every transaction.

