post
https://{tenant}.bko.finologee.com/v2/counterparties//deactivate
Purpose
Deactivates a counterparty account so that it can no longer be used for payments. Use it when a beneficiary relationship ends, or to block a counterparty account found to be incorrect. Deactivation is the API equivalent of the Deactivate action in the FinologeeBKO interface.
Rights
COUNTERPARTY_ACCOUNT_DEACTIVATE. TheCOUNTERPARTY_ACCOUNT_READright is not required- The counterparty account must be in the counterparty groups of the API user's
COUNTERPARTY_ACCOUNT_DEACTIVATEscope
Rules
- Only counterparty accounts in status
PENDINGorAPPROVEDcan be deactivated - Counterparty accounts created in the FinologeeBKO interface can be deactivated through the API
Effects
- The counterparty account moves to
DEACTIVATED, and FinologeeBKO records the deactivation date. The audit log of the counterparty account records the action - FinologeeBKO cancels the payments to this counterparty account that are not yet sent to the bank, with the cancellation reason
COUNTERPARTY_DEACTIVATED. This covers credit transfers in statusDRAFT,WAITING_FOR_AUTHORISATION,AUTHORISED,WAITING_FOR_TRANSFERorWAITING_FOR_DEPOSITARY_AUTHORISATION, the batch bookings that contain them, and the executions of standing orders - Subscribers to counterparty webhooks receive the
COUNTERPARTY_DEACTIVATEDevent. See Counterparty Webhook API
Related
- Counterparty Accounts
- Reject counterparty account
- Counterparties: deactivation and reactivation in the FinologeeBKO interface
- Permissions: scope of
COUNTERPARTY_ACCOUNT_DEACTIVATE
200Success. The counterparty account has been deactivated.

