code: def get_payments(self, **kwargs) -> List[Dict]:
      connection = self.handler.connect()
      payments = paypalrestsdk.Payment.all(kwargs, api=connection)
      return [payment.to_dict() for payment in payments["payments"]]
  
imports: import paypalrestsdk
  import pandas
  from typing import Text, List, Dict
  from mindsdb_sql.parser import ast
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.handlers.utilities.query_utilities import SELECTQueryParser, SELECTQueryExecutor
label_desc: Use image node_id 3 for calling the PaymentsTable obj's underlying member method code with example usage: obj.get_payments() and returns: unknown