Skip to main content
GET
/
payaza-account
/
api
/
v1
/
mainaccounts
/
merchant
/
enquiry
/
main
View Payaza Account Details
curl --request GET \
  --url https://api.payaza.africa/live/payaza-account/api/v1/mainaccounts/merchant/enquiry/main \
  --header 'Authorization: <api-key>' \
  --header 'X-TenantID: <api-key>'
{
  "message": "Account enquiry response",
  "status": true,
  "data": [
    {
      "id": 1,
      "accountName": "Test Merchant",
      "payazaAccountReference": "1010000000",
      "status": "ACTIVE",
      "accountBalance": 990.13,
      "businessId": 92,
      "currency": "NGN",
      "country": "NGA",
      "organizationName": "PAYAZA",
      "productCode": "PAYOUT-MAIN-NGN",
      "productNumber": "101",
      "postNoCredit": false,
      "postNoDebit": true,
      "originatorName": null,
      "pauseTransactions": null,
      "hasVirtualAccounts": true,
      "holdTransactionAtLowBalance": false,
      "virtualAccounts": [
        {
          "accountNumber": "99926838326",
          "accountName": "PAYAZA(Test Merchant)",
          "bankCode": "000023",
          "bankId": 306,
          "status": "Active",
          "street": "",
          "street2": "",
          "city": "",
          "countryCode": "",
          "_api": false
        }
      ],
      "createdDate": "2022-02-01T18:51:16.762865",
      "currencyCountry": null
    },
    {
      "id": 1658,
      "accountName": "Test Merchant",
      "payazaAccountReference": "3010000000",
      "status": "ACTIVE",
      "accountBalance": 1000,
      "businessId": 1,
      "currency": "GHS",
      "country": "GHA",
      "organizationName": "PAYAZA",
      "productCode": "PAYOUT-MAIN-GHS",
      "productNumber": "301",
      "postNoCredit": false,
      "postNoDebit": true,
      "originatorName": null,
      "pauseTransactions": null,
      "hasVirtualAccounts": false,
      "holdTransactionAtLowBalance": false,
      "virtualAccounts": [],
      "createdDate": "2022-02-04T04:11:50.850974",
      "currencyCountry": null
    }
  ],
  "pageDetail": {
    "sorted": false,
    "pageNumber": 0,
    "pageSize": 0,
    "paged": false,
    "totalPages": 0,
    "totalElements": 0,
    "last": false,
    "size": 0,
    "number": 0,
    "numberOfElements": 0,
    "offset": null
  },
  "totalCount": 0,
  "responseCode": null
}

Authorizations

Authorization
string
header
required

Payaza {{Public API Key in Base 64}}

X-TenantID
string
header
required

live or test

Response

Account Enquiry Response

message
string

Response message.

status
boolean

Request status.

data
object[]

List of Payaza accounts found.

pageDetail
object

Pagination details.

totalCount
integer
responseCode
string | null