Create Sub-Entity

This endpoint creates a sub-entity (e.g. a branch or zone) under an existing institution.

POST {{url}}/api/v1/institutions/create/sub-entity

Content-Type: application/json

Request Message Description

#Field NameData TypeRequiredDescription
1nameStringYesName of the sub-entity (e.g. a branch or zone name)
2emailStringYesContact email address for the sub-entity
3additionalInfoObjectNoOptional key-value pairs for extra metadata about the sub-entity
3.1additionalInfo.descriptionStringNoA brief description of the sub-entity
3.2additionalInfo.addressStringNoPhysical address of the sub-entity

Sample Request

{
  "name": "Yaba Zone 9",
  "email": "[email protected]",
  "additionalInfo": {
    "description": "yaba branch custom wallet",
    "address": "Sabo Yaba"
  }
}

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 newly created sub-entity details
4.1data.idUnique internal ID assigned to the sub-entity
4.2data.createdOnTimestamp when the sub-entity was created (ISO 8601)
4.3data.institutionIdInternal ID of the parent institution this sub-entity belongs to
4.4data.institutionCodeShort unique code of the parent institution
4.5data.nameName of the sub-entity
4.6data.vaultIdVault identifier associated with the sub-entity
4.7data.kycStatusKYC verification status of the sub-entity (e.g. DISABLED)
4.8data.kycLevelKYC tier level assigned to the sub-entity (e.g. TIER_1)
4.9data.enabledIndicates whether the sub-entity is currently active (true/false)
4.10data.additionalInfoJSON string containing extra metadata (e.g. description and address)

Sample Response (Success)

{
  "success": true,
  "responseCode": "200",
  "responseMessage": "Success",
  "data": {
    "id": 78,
    "createdOn": "2026-05-20T21:58:03.4",
    "institutionId": 2,
    "institutionCode": "HYDR",
    "name": "Yaba Zone 1",
    "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 Already Exists For This Institution"
}

Did this page help you?