2356. A surety who has bound himself with the consent of the debtor may claim from him what he has paid in capital, interest and costs, in addition to damages for any injury he has suffered by reason of the suretyship; he may also charge interest on any sum he has had to pay to the creditor, even if the principal debt was not producing interest.
A surety who has bound himself without the consent of the debtor may only recover from him what the debtor would have been bound to pay, including damages, if there had been no suretyship; however, costs subsequent to indication of the payment are payable by the debtor.