Update counterparty account

Purpose

Changes the details of one counterparty account. Use it to propagate changes made in an external system.

Rights

  • COUNTERPARTY_ACCOUNT_WRITE
  • The counterparty account must be in the counterparty groups of the API user's COUNTERPARTY_ACCOUNT_READ scope
  • KYC_RISK_LOG_WRITE when the request sets riskLevelName

Rules

  • Only counterparty accounts created through the API can be updated, see Counterparty Accounts. Other counterparty accounts return a validation error stating that a counterparty created directly in the application cannot be edited via API
  • The update is partial: fields absent from the request, or set to null, keep their current values
  • The counterparty group memberships cannot be changed with this endpoint. To change them, use the Counterparty Groups endpoints
  • When type changes, the request must contain the name fields of the new type: orgName for ORGANISATION, firstName and lastName for INDIVIDUAL
  • A new bic follows the same rules as on creation: BIC or national clearing code, duplicate check against counterparty accounts in status PENDING or APPROVED, and blacklist check. See Create counterparty account
  • FinologeeBKO accepts updates on counterparty accounts in any status. The status of a PENDING, REJECTED or DEACTIVATED counterparty account does not change

Effects

  • A change of type, orgName, firstName or lastName on an APPROVED counterparty account moves it back to PENDING, and subscribers to counterparty webhooks receive COUNTERPARTY_STATUS_CHANGED. When the API user holds COUNTERPARTY_ACCOUNT_SKIP_4EYES, FinologeeBKO approves the counterparty account again in the same call and records the API user as approver
  • Changes to other fields, such as bic, aliasName or address, keep the counterparty account APPROVED
  • A change of type or name clears the Counterparty verification result shown for the counterparty account
  • The audit log of the counterparty account records each changed field, with its old and new value

Errors

StatusWhen
400type is set and the counterparty account does not exist or is outside the API user's read scope. The response has no validationErrors
404The counterparty account does not exist or is outside the API user's read scope, and type is not set in the request
409The counterparty account was modified concurrently

Related

Path Params
int64
required

Counterparty account identifier

Body Params

Counterparty payload

address
object

The address details. The total length of address + zip + city cannot exceed 103 characters.

string
length between 0 and 70

The new alias name for the account.

string
required

BIC of the counterparty account.

date

individual date of birth

string

counterparty external id

string
length between 1 and 35

The first name of the individual. This field is only considered if type is INDIVIDUAL.

string
enum

individual gender

Allowed:
int64

counterparty identifier

string
length between 1 and 35

The last name of the individual. This field is only considered if type is INDIVIDUAL.

string
length between 0 and 35

The organisation name.

string

risk level name

string
enum

type of the new account

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json