from plaid.api.api import API class Liabilities(API): ''' Liabilities endpoints. (`HTTP docs `__) ''' def get(self, access_token, _options=None, account_ids=None): ''' Retrieve liabilities information about an item. :param str access_token: :param [str] account_ids: A list of account_ids to retrieve for the item. Optional ''' options = _options or {} if account_ids is not None: options['account_ids'] = account_ids return self.client.post('/liabilities/get', { 'access_token': access_token, 'options': options, })