Update Sub-Entity

This endpoint updates the details of an existing sub-entity (e.g. a branch or zone) that belongs to the institution associated with the token. The sub-entity to be updated is identified by the {{id}} path parameter.

PATCH {{host}}/api/v1/institutions/update/sub-entity/{{id}}

Content-Type: application/json

Request Message Description

#Field NameData TypeMax Length (API)Max Length (UI)RequiredDescription
1nameString--NoUpdated name for the sub-entity
2emailString--NoUpdated contact email address for the sub-entity
3enabledBoolean--NoEnable or disable the sub-entity (true/false)
4additionalInfoObject--NoOptional object for updated metadata
4.1additionalInfo.descriptionString--NoUpdated description of the sub-entity
4.2additionalInfo.addressString--NoUpdated physical address of the sub-entity
4.3additionalInfo.controllerString--NoController direction or reference for the sub-entity

Sample Request

{
  "name": "Yab Zone T1"
}

Response Message Field Description

#Field NameDescription
1successIndicates whether the request was successful (true for success)
2responseCodeHTTP-like response code (e.g. 200 for success)
3responseMessageHuman-readable result message (e.g. Success)
4dataObject containing the updated sub-entity details
4.1data.idUnique internal ID of the sub-entity
4.2data.createdOnTimestamp when the sub-entity was originally created (ISO 8601)
4.3data.lastUpdatedOnTimestamp of the most recent update to the sub-entity (ISO 8601)
4.4data.institutionIdInternal ID of the parent institution this sub-entity belongs to
4.5data.institutionCodeShort unique code of the parent institution
4.6data.nameUpdated name of the sub-entity
4.7data.vaultIdVault identifier associated with the sub-entity
4.8data.kycStatusKYC verification status of the sub-entity (e.g. DISABLED)
4.9data.kycLevelKYC tier level assigned to the sub-entity (e.g. TIER_1)
4.10data.enabledIndicates whether the sub-entity is currently active (true/false)
4.11data.additionalInfoJSON string containing extra metadata (e.g. description and address)

Sample Response (Success)

{
  "success": true,
  "responseCode": "200",
  "responseMessage": "Success",
  "data": {
    "id": 77,
    "createdOn": "2026-05-20T21:04:59.7633333",
    "lastUpdatedOn": "2026-05-20T21:04:59.7633333",
    "institutionId": 2,
    "institutionCode": "HYDR",
    "name": "Yab Zone T1",
    "vaultId": "94",
    "kycStatus": "DISABLED",
    "kycLevel": "TIER_1",
    "enabled": true,
    "additionalInfo": "{\"description\":\"yaba branch custom wallet\",\"address\":\"Sabo Yaba\"}"
  }
}

Sample Response (Failure)

{
  "success": false,
  "responseCode": "400",
  "responseMessage": "Entity Name You're Trying to Update Already Exists Within Your Domain"
}

Did this page help you?