Skip to main content
Reserve an amount now and decide later whether it moves. Use this journey when a check or an approval runs between the request and the transfer.

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


Diagram


Reserve an amount, then confirm or cancel

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.

What can go wrong