If anything is given to a creditor by way of performance which the creditor refuses to accept as such, the creditor is not bound to return it without demand, but if the creditor retains it, the creditor is a gratuitous depositary thereof.
N.D.C.C. § 9-12-27