---
title: "View Payaza Account Details"
method: GET
path: "/payaza-account/api/v1/mainaccounts/merchant/enquiry/main"
tags: ["Payaza Account"]
---

# View Payaza Account Details

`GET /payaza-account/api/v1/mainaccounts/merchant/enquiry/main`

This endpoint retrieves the Payaza account details for a merchant.

## Response `200`

Account Enquiry Response

- ViewPayazaAccountDetailsResponse
  - `message` string — Response message.
  - `status` boolean — Request status.
  - `data` object[] — List of Payaza accounts found.
    - `id` integer
    - `accountName` string — The name of the Payaza Account
    - `payazaAccountReference` string — The Payaza Account Reference
    - `status` string
    - `accountBalance` number, double — Current balance of the account.
    - `businessId` integer
    - `currency` string
    - `country` string
    - `organizationName` string
    - `productCode` string
    - `productNumber` string
    - `postNoCredit` boolean
    - `postNoDebit` boolean
    - `originatorName` string, nullable
    - `pauseTransactions` boolean, nullable
    - `hasVirtualAccounts` boolean
    - `holdTransactionAtLowBalance` boolean
    - `createdDate` string, date-time
    - `currencyCountry` string, nullable
    - `virtualAccounts` object[] — List of virtual accounts linked to this main account.
      - `accountNumber` string
      - `accountName` string
      - `bankCode` string
      - `bankId` integer
      - `status` string
      - `street` string
      - `street2` string
      - `city` string
      - `countryCode` string
      - `_api` boolean
  - `pageDetail` object — Pagination details.
    - `sorted` boolean
    - `pageNumber` integer
    - `pageSize` integer
    - `paged` boolean
    - `totalPages` integer
    - `totalElements` integer
    - `last` boolean
    - `size` integer
    - `number` integer
    - `numberOfElements` integer
    - `offset` integer, nullable
  - `totalCount` integer
  - `responseCode` string, nullable

## 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)
