openbankproject_client.counterparty_limits module
Counterparty Limits endpoints for the OpenBankProject API Client.
- class openbankproject_client.counterparty_limits.CounterpartyLimitsEndpoints(client)[source]
Bases:
objectCounterparty Limits-related API endpoints.
- __init__(client)[source]
Initialize the endpoint group.
- Parameters:
client – OpenBankProjectClient instance
- create_counterparty_limit(bank_id: str, account_id: str, view_id: str, counterparty_id: str, data: Dict) Dict[source]
Create Counterparty Limit.
- Parameters:
bank_id – Bank identifier
account_id – Account identifier
view_id – View identifier
counterparty_id – Counterparty identifier
data – Counterparty limit data
- Returns:
Dict containing created counterparty limit information
- get_counterparty_limit(bank_id: str, account_id: str, view_id: str, counterparty_id: str) Dict[source]
Get Counterparty Limit.
- Parameters:
bank_id – Bank identifier
account_id – Account identifier
view_id – View identifier
counterparty_id – Counterparty identifier
- Returns:
Dict containing counterparty limit information
- get_counterparty_limit_status(bank_id: str, account_id: str, view_id: str, counterparty_id: str) Dict[source]
Get Counterparty Limit Status.
- Parameters:
bank_id – Bank identifier
account_id – Account identifier
view_id – View identifier
counterparty_id – Counterparty identifier
- Returns:
Dict containing counterparty limit status
- update_counterparty_limit(bank_id: str, account_id: str, view_id: str, counterparty_id: str, data: Dict) Dict[source]
Update Counterparty Limit.
- Parameters:
bank_id – Bank identifier
account_id – Account identifier
view_id – View identifier
counterparty_id – Counterparty identifier
data – Updated counterparty limit data
- Returns:
Dict containing updated counterparty limit information
- delete_counterparty_limit(bank_id: str, account_id: str, view_id: str, counterparty_id: str) Dict[source]
Delete Counterparty Limit.
- Parameters:
bank_id – Bank identifier
account_id – Account identifier
view_id – View identifier
counterparty_id – Counterparty identifier
- Returns:
Dict containing deletion status