---
title: "Fetch sub account details"
method: GET
path: "/v1/accounts/sub-account-details"
tags: ["Accounts"]
---

# Fetch sub account details

`GET /v1/accounts/sub-account-details`

## Request

- Base URL: `https://api.nomba.com`
- URL: `https://api.nomba.com/v1/accounts/sub-account-details`
- Auth: HTTP bearer

You can use this endpoint to get details of a sub account.

## Query parameters

- `accountId` string, uuid
- `accountRef` string, uuid

## Headers

- `accountId` string, uuid, required

## Response `200`

OK - your request was successful.

- object
  - `code` string, required: Response Code
  - `description` string, required: Response description
  - `data` AccountDetailsResponse, required
    - `createdAt` string, date-time, required: Creation timestamp
    - `accountId` string, required: Account ID
    - `accountHolderId` string, required: Account holder ID
    - `accountRef` string, required: Account reference
    - `bvn` string, required: Bank Verification Number (BVN)
    - `status` 'ACTIVE' | 'INACTIVE' | 'SUSPENDED' | 'PND' | 'BLACKLISTED', required: Account status
    - `type` 'virtual' | 'outlet', required: Account type
    - `accountName` string, required: Account holder's name
    - `currency` 'NGN', required: Currency code
    - `banks` object[], required: List of associated bank accounts
      - `bankAccountNumber` string, required: Bank account number
      - `bankName` string, required: Bank name
      - `bankAccountName` string, required: Bank account holder name

## Other responses

- `400`: The request body sent by merchant did not pass the validation checks
- `401`: The access_token provided to access the resource is missing or invalid.
- `403`: The client does not have the permissions to access this resource
- `404`: The record that the client is trying to access does not exist.
- `429`: The client has maxed out the number of calls within a time period on this resource.
- `500`: Downstream system error.

---

[API](https://skmtc.dev/nomba/apis/vendor-api.md) - [All operations](https://skmtc.dev/nomba/apis/vendor-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nomba/apis/vendor-api/revisions/278a25dccfe5?raw)
