business.addBankAccount

Associate a Bank Account entity with a specific Business entity.

POST http://api.kompliant.com/business.addBankAccount (OpenAPI specification)

Usage Info

This method establishes a relationship between a Bank Account and a Business entity, specifying the purposes the account serves for the business (such as primary operations, fees, settlements). Use this method when adding new financial accounts to a business profile.

Request

Authentication: KSig1-HMAC-SHA256

Parameters

ParameterTypeRequiredDescription
business_idstringYesThe Business to add this Owner to.
business_bank_accountobjectNoThe business_bank_account parameter defined in the table below.

Business Bank Account Parameters

ParameterTypeRequiredDescription
bank_account_idstringYesThe Bank Account to be added to the Business.
bank_account_purposesarrayNoThe purpose(s) of the bank account in the business. Must be one or more of the BANK_ACCOUNT_PURPOSES.

Example

{
  "business_id": "b_7eobHllxknr7mfqbjnX2Pp",
  "business_bank_account": {
    "bank_account_id": "ba_6zNzQZHSf26V83BO3uW6dS",
    "bank_account_purposes": [
      "PRIMARY",
      "FEES",
      "SETTLEMENT"
    ]
  }
}

Response

Data

ParameterTypeDescription
business_bank_accountobjectThe business_bank_account parameter defined in the table below.

Business Bank Account Parameters

ParameterTypeDescription
business_bank_account_idstringThe identifier for the Business Bank Account just created.

Example

{
  "meta": {
    "status": "SUCCESS",
    "trace_id": "trc_3S6w6VfAnOG0QtdrdMCmaz",
    "version": "2025-03-24"
  },
  "data": {
    "business_bank_account": {
      "business_bank_account_id": "bba_79HaMs4zgYfilF3xQuJy3J"
    }
  }
}

Errors

Error CodeHTTP CodePossible Cause
ACCOUNT_CONFIGURATION_VIOLATION 400Account configuration rule violations are described below.
BAD_REQUEST400Required parameters not provided.
Invalid values provided.
Enum value provided does not correspond to an available type.
ENTITY_NOT_FOUND400The business_id or bank_account_id provided does not exist.
SYSTEM_RULE_VIOLATION 400System rule violations are described below.

Account Configuration Violations

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
BusinessMAX_BANK_ACCOUNT_LIMITThe maximum number of bank accounts allowed per Business has been reached. No additional bank accounts can be added.

System Rule Violations

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

Entity TypeSub-codeDescription
BusinessDUPLICATE_BANK_ACCOUNT_ASSOCIATIONThe Bank Account is already associated with this Business entity.
BusinessSINGLE_PRIMARY_BANK_ACCOUNTA Business can only have one bank account designated as PRIMARY. Another bank account is already set with this purpose.
Subject RecordCROSS_SUBJECT_RECORD_REFERENCEThe referenced entities must belong to the same subject record. Associations cannot be created between entities that exist in different subject records. The Bank Account must belong to the same Subject Record as the Business specified in the business_id parameter.