Fetch Sub-Entity Profile By Id

This endpoint retrieves the full profile of a specific sub-entity by its ID, including its balance information across all registered blockchain assets. Access is scoped to sub-entities belonging to the institution associated with the auth token.

GET {{host}}/api/v1/institutions/profile/sub-entity/{id}

Path Parameter

#Field NameData TypeRequiredDescription
1idIntegerYesUnique internal ID of the sub-entity to retrieve

Sample Request

GET {{host}}/api/v1/institutions/profile/sub-entity/78

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 sub-entity's full profile and balance details
4.1data.idUnique internal identifier of the sub-entity
4.2data.institutionIdUnique internal ID of the parent institution
4.3data.institutionCodeAlphanumeric code identifying the parent institution
4.4data.nameDisplay name of the sub-entity
4.5data.emailContact email address of the sub-entity
4.6data.vaultIdVault identifier assigned to the sub-entity
4.7data.kycStatusCurrent KYC verification status
4.8data.kycLevelKYC level of the sub-entity
4.9data.enabledWhether the sub-entity is currently active
4.10data.balanceInformationObject containing asset balance and metadata details
4.10.1data.balanceInformation.balancesArray of balance objects, one per registered asset
4.10.1.1data.balanceInformation.balances[].institutionIdUnique internal ID of the parent institution
4.10.1.2data.balanceInformation.balances[].subInstitutionIdUnique internal ID of the sub-entity
4.10.1.3data.balanceInformation.balances[].vaultIdVault identifier for this asset
4.10.1.4data.balanceInformation.balances[].assetIdUnique identifier of the blockchain asset
4.10.1.5data.balanceInformation.balances[].addressBlockchain wallet address for this asset
4.10.1.6data.balanceInformation.balances[].availableBalanceCurrent available balance for the asset
4.10.1.7data.balanceInformation.balances[].frozenBalanceAmount of the asset currently frozen
4.10.2data.balanceInformation.assetInfoArray of asset metadata objects
4.10.2.1data.balanceInformation.assetInfo[].idUnique identifier of the asset
4.10.2.2data.balanceInformation.assetInfo[].displayNameHuman-readable name of the asset
4.10.2.3data.balanceInformation.assetInfo[].displaySymbolsDisplay ticker symbol (e.g. cNGN)
4.10.2.4data.balanceInformation.assetInfo[].onChainDecimalsNumber of decimal places used on-chain
4.10.2.5data.balanceInformation.assetInfo[].blockchainIdBlockchain network identifier
4.10.2.6data.balanceInformation.assetInfo[].blockchainDisplayNameDisplay name of the blockchain network

Sample Response (Success)

{
  "success": true,
  "responseCode": "200",
  "responseMessage": "Success",
  "data": {
    "id": 78,
    "institutionId": 3,
    "institutionCode": "ACME001",
    "name": "Acme Sub-entity Alpha",
    "email": "[email protected]",
    "vaultId": "94",
    "kycStatus": "APPROVED",
    "kycLevel": "TIER_2",
    "enabled": true,
    "balanceInformation": {
      "balances": [
        {
          "institutionId": 3,
          "subInstitutionId": "78",
          "vaultId": "94",
          "assetId": "CNGN_B75VRLGX_8GWM",
          "address": "0x632E8..............",
          "availableBalance": "1200.00",
          "frozenBalance": "0"
        }
      ],
      "assetInfo": [
        {
          "id": "CNGN_B75VRLGX_8GWM",
          "displayName": "Cardano Nigerian Naira",
          "displaySymbols": "cNGN",
          "onChainDecimals": 6,
          "blockchainId": "BASE_TEST",
          "blockchainDisplayName": "Base Testnet"
        }
      ]
    }
  }
}

Sample Response (Failure)

{
  "success": false,
  "responseCode": "404",
  "responseMessage": "Entity Not Found"
}

Did this page help you?