Counterparty Groups

Create, update and search counterparty groups, and manage and approve the memberships of counterparty accounts in them.

A counterparty group is a named set of counterparty accounts in FinologeeBKO. Counterparty groups organise beneficiaries by business unit, purpose or region, and they define the data scope of users: a user sees and uses the counterparty accounts of the groups that their permissions give access to. An integration uses the Counterparty Groups endpoints to create and rename groups, to search them, to list their members, and to add counterparty accounts to them or remove counterparty accounts from them under the maker-checker principle.

Counterparty groups contain counterparty accounts. Create counterparty account can place new counterparty accounts in groups directly, and Find all groups a counterparty is part of lists the groups of one counterparty account. Administrators assign counterparty groups to user groups in the FinologeeBKO interface, see Permissions. Signatory rules can also target counterparty groups, see Signatory rules.

Key concepts

  • Name: the name of a counterparty group is unique within the tenant, ignoring case
  • Membership: the link between a counterparty account and a counterparty group. A counterparty account can belong to several groups. A membership is pending until a second user approves it, unless the user who adds it holds COUNTERPARTY_ACCOUNT_SKIP_4EYES
  • All-counterparties group: every tenant has a system group that contains all its counterparty accounts, and every new counterparty account joins it. This group has no name and this section does not expose it: Find counterparty groups does not return it, and the other endpoints of this section answer 404 for it. FinologeeBKO also keeps internal groups that this section does not expose
  • Group scope: COUNTERPARTY_ACCOUNT_READ is scoped by counterparty group. A counterparty group is in the API user's scope when one of the API user's user groups grants COUNTERPARTY_ACCOUNT_READ on that group. Access to the all-counterparties group puts every counterparty group of the tenant in scope. A counterparty group outside the API user's scope behaves as if it does not exist (404)
  • Effect on counterparty account scope: an approved membership adds the counterparty account to the COUNTERPARTY_ACCOUNT_READ and COUNTERPARTY_ACCOUNT_DEACTIVATE scope of the users who have access to the group. A pending membership counts in that scope only for users who also hold COUNTERPARTY_ACCOUNT_WRITE or COUNTERPARTY_ACCOUNT_AUTHORISE, so that they can review it
  • Visibility through the API: this section works only with the counterparty accounts visible through the API, see Counterparty Accounts. The other counterparty accounts answer 404

Lifecycle and statuses

A counterparty group has no status. Each membership is in one of the following states:

StateMeaningHow it is reached
PendingWaiting for approval by a second user. It counts only in the scope of reviewers, see Key conceptsAdd counterparty to group, or Create counterparty group with counterpartyIds, by an API user without COUNTERPARTY_ACCOUNT_SKIP_4EYES
ApprovedActive: the counterparty account is part of the group's scopeApprove counterparty link, or addition by an API user with COUNTERPARTY_ACCOUNT_SKIP_4EYES

Reject counterparty link and Remove counterparty from group delete the membership. FinologeeBKO keeps no rejected membership.

Rights

RightWhat it allows in this section
COUNTERPARTY_ACCOUNT_READSearch and read counterparty groups and their members. Also required to create groups and to add, remove, approve and reject memberships. Its scope limits which groups and counterparty accounts the API user can work with
COUNTERPARTY_ACCOUNT_WRITECreate and update counterparty groups, add and remove memberships, reject pending memberships. Creation also needs COUNTERPARTY_ACCOUNT_READ on the all-counterparties group
COUNTERPARTY_ACCOUNT_AUTHORISEApprove and reject pending memberships
COUNTERPARTY_ACCOUNT_SKIP_4EYESAdd memberships that take effect immediately, without approval

See Permissions for how rights and scopes are assigned to users.

Typical integration flows

Create a group with members under the maker-checker principle

  1. The API user (maker, with COUNTERPARTY_ACCOUNT_WRITE and COUNTERPARTY_ACCOUNT_READ on the all-counterparties group, without COUNTERPARTY_ACCOUNT_SKIP_4EYES) calls Create counterparty group with counterpartyIds. FinologeeBKO creates the group with pending memberships
  2. A second user (checker, with COUNTERPARTY_ACCOUNT_AUTHORISE) calls Approve counterparty link for each membership, or approves in the FinologeeBKO interface. The user who added a membership cannot approve it
  3. The memberships become approved, and the counterparty accounts enter the scope of the users who have access to the group

Maintain the members of an existing group

  1. Call Find counterparty groups with names to retrieve the id of the group
  2. Call Find all counterparties in counterparty group to read the current members
  3. Call Add counterparty to group for each new member, and Remove counterparty from group for each member to drop
  4. Without COUNTERPARTY_ACCOUNT_SKIP_4EYES, a second user approves or rejects the new memberships with Approve counterparty link or Reject counterparty link

Related documentation