<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def repay_funding(self, amount, currency):
 """ Repay funding. Repays the older funding records first. Args: amount (int):
 Amount of currency to repay currency (str):
 The currency, example USD Returns: Not specified by cbpro. """

        params = {
            'amount': amount,
            'currency': currency  # example: USD
            }
        return self._send_message('post', '/funding/repay',
                                  data=json.dumps(params))