If we pay the merchants,
Debit: accounts payable,
Debit: bank deposit,
When payment is wrong,
Debit: Accounts payable (red),
When payment is reconfirmed,
Loan: bank deposit.