Skip to main content
Let a payment go through when the payer cannot pay the whole fee, and settle the rest of the fee later.

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 deferrable to true on it. Only a fee with isDeductibleFrom set to false can be deferrable.

Diagram


Settle fee debt

Steps through the API


Rules


  • Only a /v2 direct transaction opens fee debt.
  • A credit to the payer through the /v2 API 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.

What can go wrong