location.removeBankAccount

Remove the association between a BankAccount and a Location entity.

POST http://api.kompliant.com/location.removeBankAccount (OpenAPI specification)

Usage Info

This method terminates the relationship between a BankAccount and a Location entity. Use this when financial relationships change, such as when accounts are closed or reassigned to different purposes. This operation affects only the relationship, not the underlying BankAccount entity, which remains in the Subject Record.

Request

Authentication: KSig1-HMAC-SHA256

Parameters

ParameterTypeRequiredDescription
location_bank_account_idstringYesThe ID of the LocationBankAccount Entity.

Example

{
  "location_bank_account_id": "lba_79HaMs4zgYfilF3xQuJy3J"
}

Response

Data

An empty data object is returned when the completion is successful.

Example

{
  "meta": {
    "status": "SUCCESS",
    "trace_id": "trc_6zNzQZHSf26V83BO3uW6dS",
    "version": "2025-03-24"
  },
  "data": {}
}

Errors

Error CodeHTTP CodePossible Cause
BAD_REQUEST400Required parameters not provided.
Invalid values provided.
ENTITY_NOT_FOUND400The location_bank_account_id provided does not exist.
ACCOUNT_CONFIGURATION_VIOLATION400Account configuration rule violations are described below.

ACCOUNT_CONFIGURATION_VIOLATION

When a ACCOUNT_CONFIGURATION_VIOLATION error occurs, the response will include additional entity_type and sub_code fields to provide more specific information:

Entity TypeSub-codeDescription
LocationFEATURE_NOT_ENABLEDLocation feature is not enabled for this account.