In case of a contract, consideration can be either in the form of a benefit to the promisor or detriment to the promisee or else it can be a reciprocative promise.
In this case, it seems to be a reciprocative promise whereby, the promise to repay on whatever terms is itself a promise.