<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_fundings(self, status=None, **kwargs):
 """ Every order placed with a margin profile that draws funding will create a funding record. This method returns a generator which may make multiple HTTP requests while iterating through it. Args: status (list/str):
 Limit funding records to these statuses. ** Options: 'outstanding', 'settled', 'rejected' kwargs (dict):
 Additional HTTP request parameters. Returns: list: Containing information on margin funding. Example:: [ { "id": "b93d26cd-7193-4c8d-bfcc-446b2fe18f71", "order_id": "b93d26cd-7193-4c8d-bfcc-446b2fe18f71", "profile_id": "d881e5a6-58eb-47cd-b8e2-8d9f2e3ec6f6", "amount": "1057.6519956381537500", "status": "settled", "created_at": "2017-03-17T23:46:16.663397Z", "currency": "USD", "repaid_amount": "1057.6519956381537500", "default_amount": "0", "repaid_default": false }, { } ] """

        params = {}
        if status is not None:
            params['status'] = status
        params.update(kwargs)
        return self._send_paginated_message('/funding', params=params)