After the tender has been refused, the obligor may deposit the thing or the sum of money to the order of the court in a place designated by the court for that purpose, and may demand judgment declaring the performance valid.
If the deposit is accepted by the obligee, or if the court declares the performance valid, all expenses of the deposit must be borne by the obligee.
La. C.C. § 1871