Participants
- Your institution. Your system. It calls the Midaz API and decides whether to confirm or cancel.
- Midaz. The ledger. It reserves the amount and moves it only when you confirm.
Before you start
- The accounts and their balances exist. See Set up a ledger and post the first transaction.
Diagram
Steps through the API
Rules
- The amount stays on hold until you confirm or cancel the transaction.
- When the Tracer mode of the ledger is
enforce, Midaz refuses the reservation before it moves any balance if Tracer does not allow it.
How you know it finished
Read the transaction with
GET /v2/organizations/{organization_id}/ledgers/{ledger_id}/transactions/{transaction_id}. APPROVED means that Midaz moved the held amount. CANCELED means that Midaz released the hold.

