Participants
- Your institution. Your system. It posts the payments and the credits, and it can collect the fee debt.
- Midaz. The ledger. It opens the fee debt and settles it, oldest debt first.
Before you start
- The fee is deferrable: its fee package sets
deferrabletotrueon it. Only a fee withisDeductibleFromset tofalsecan be deferrable.
Diagram
Steps through the API
Rules
- Only a
/v2direct transaction opens fee debt. - A credit to the payer through the
/v2API can settle its open fee debt, oldest debt first, up to the amount of the credit. - A collection charges no fee, and you cannot reverse it.
How you know it finished
List the fee debts of the payer with
account_alias and status=open. The list is empty.

