Accounts

Fetch sub account details

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

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

Query parameters

accountIdstring uuid

The id of the sub account whose details is to be fetched

accountRefstring uuid

The unique reference you passed when creating the sub account

Headers

accountIdstring uuid required
Example:890022ce-bae0-45c1-9b9d-ee7872e6ca27

The parent accountId of the business.

Response

OK - your request was successful.

codestring required

Response Code

descriptionstring required

Response description

Example response

{
  "code": "00",
  "description": "Success",
  "data": {
    "createdAt": "2023-09-04T07:09:06.900Z",
    "accountId": "fc81b80e-e607-4b86-8591-840925191733",
    "accountHolderId": "01a10aeb-d989-460a-bbde-9842f2b4320f",
    "accountRef": "1oWbJQQHLyQqqf1SwxjSpudeA21",
    "bvn": "12234412345",
    "status": "ACTIVE",
    "type": "virtual",
    "accountName": "Daniel Scorsese",
    "currency": "NGN",
    "banks": [
      {
        "bankAccountNumber": "93910",
        "bankName": "Sterling Bank",
        "bankAccountName": "Nomba/Ifeoluwa Adeboye"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.