---
title: "View Payaza Sub Account Details"
method: GET
path: "/payaza-account/api/v1/subaccounts/merchant/enquiry/{payazaSubAccountReference}"
tags: ["Sub Accounts"]
---

# View Payaza Sub Account Details

`GET /payaza-account/api/v1/subaccounts/merchant/enquiry/{payazaSubAccountReference}`

This retrieves the Payaza subaccount details for a merchant using the subaccount account reference value in the Create A Subaccount API..

## Path parameters

- `payazaSubAccountReference` string, required

## Response `200`

Payment successful

- ViewPayazaSubAccountDetailsResponse
  - `message` string — Response message.
  - `status` boolean — Request status.
  - `data` object[] — List containing the account details.
    - `id` integer — Unique identifier for the sub-account.
    - `accountName` string — Name of the sub-account.
    - `accountStatus` string — Current status of the account.
    - `accountBalance` number, double — Current available balance.
    - `escrowBalance` number, double — Balance currently in escrow.
    - `businessFk` integer — Foreign key linking to the main business.
    - `currency` string — Currency code.
    - `owner` string — Owner of the account.
    - `country` string — Country code.
    - `creationReference` string — Unique creation reference.
    - `actionStatus` string — Action status.
    - `payazaAccountReference` string — Payaza reference ID.
    - `pnc` boolean — Post No Credit status.
    - `pnd` boolean — Post No Debit status.
    - `virtualAccounts` object[] — Virtual accounts linked to this sub-account.
      - `accountNumber` string — Virtual account number.
      - `accountName` string — Virtual account name.
      - `bankCode` string — Bank code.

## Other responses

- `400` — Payment failed

---

[API](https://skmtc.net/payaza/apis/payaza-documentation.md) · [All operations](https://skmtc.net/payaza/apis/payaza-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/payaza/payaza-documentation/revisions/1ecd4b94ff07/schema)
