Any interest which remains unpaid at the end of any forty-five-day period or which remains unpaid at the end of any specified period provided by contract must be added to the principal amount of the debt and must thereafter accumulate interest.
N.D.C.C. § 13-01.1-03