He shall be exempt from the obligation to restore who, believing in good faith that the payment was being made of a legitimate and subsisting claim, destroyed the document, or allowed the action to prescribe, or gave up the pledges, or cancelled the guaranties for his right. He who paid unduly may proceed only against the true debtor or the guarantors with regard to whom the action is still effective. (1899)