Skip to main content
This page is for developers and database administrators. It contains detailed database schemas and table structures. For a business-level overview of Midaz entities and their relationships, see About Midaz.
Explore the core tables that power Midaz. As Midaz evolves, it may add new fields and tables. Midaz keeps the tables on this page in two PostgreSQL databases:
  • Onboarding database: organization, ledger, asset, account_type, account, portfolio, and segment.
  • Transaction database: balance, operation_route, operation, transaction_route, and transaction.
Midaz stores the metadata of each entity in MongoDB, not in these tables. Column names are database names and can differ from the API field names.

Tables


Table: organization

Table: ledger

Table: asset

Table: account_type

Table: account

Table: portfolio

Table: segment

Table: balance

Table: operation_route

Table: operation

Table: transaction_route

The operation_transaction_route table links each Transaction Route to its Operation Routes.

Table: transaction

Data model


Figure 1 shows the core Midaz tables and their relationships. Use it to guide data handling and integration.
Core Midaz database tables and the relationships between them, as a reference for data handling and integration

Figure 1. Midaz tables and their relations.