Debt 900, payment 400, outstanding 500: which conclusion is certain?

Kitab al-Rahn: Partial Repayment, Agency to Sell and Pledgee Rights