code: def refund_reward(self, agreement_id, amount, account):
          
          return self.release_reward(agreement_id, amount, account)
docs: Refund reaward condition.
  
          :param agreement_id: id of the agreement, hex str
          :param amount: Amount of tokens, int
          :param account: Account
          :return: