29 lines
778 B
Python
29 lines
778 B
Python
|
|
from plaid.api.api import API
|
||
|
|
|
||
|
|
|
||
|
|
class Liabilities(API):
|
||
|
|
'''
|
||
|
|
Liabilities endpoints.
|
||
|
|
(`HTTP docs <https://plaid.com/docs/api/#liabilities>`__)
|
||
|
|
'''
|
||
|
|
|
||
|
|
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,
|
||
|
|
})
|