Since all of the conditions were made clear up-front, it is probably enforceable. (To be certain, you would have to have the language reviewed by a lawyer.) However, unless they are able to collect directly from your lump sum balance before the check is issued to you, they would probably have a hard time collecting it if you refuse to pay.