2761. A debtor or a person against whom a hypothecary right is exercised, or any other interested person, may defeat exercise of the right by paying the creditor the amount due to him or, where that is the case, by remedying the omission or breach set forth in the prior notice and any subsequent omission or breach, and, in either case, by paying the costs incurred.
This right may be exercised before the property is taken in payment or sold, or, if the right exercised is taking in possession, at any time.