Overview
The Payaza Account API gives you access to the core details of your merchant account: yourpayazaAccountReference (required for initiating transfers), current balance per currency, and any virtual account numbers assigned to your account.
This is typically called once at startup, or refreshed before any significant money movement to confirm your available balance.
Key Requirements
Use your public API key encoded in Base64. See the Authentication guide for setup instructions.
Endpoint
| Method | Endpoint | Description |
|---|---|---|
GET | /payaza-account/api/v1/mainaccounts/merchant/enquiry/main | Retrieve all main accounts for your merchant |
Key response fields
| Field | Description |
|---|---|
payazaAccountReference | The account reference used in Transfer requests. Use the one that matches the currency you want to send from. |
accountBalance | Current available balance for this currency account |
currency | The currency of this account (e.g. "NGN", "GHS") |
status | Account status — should be "ACTIVE" before initiating transfers |
virtualAccounts | Any virtual account numbers assigned to this account |
postNoDebit | If true, outbound transactions (payouts) are blocked — check this before initiating a transfer |
The response returns one object per currency. Each currency your account supports (NGN, GHS, etc.) will appear as a separate item in the
data array. Use the payazaAccountReference from the item whose currency matches your intended payout.How to use it
Fetch account details
Call the Main Accounts endpoint to retrieve your full account summary across all currencies.
Select the correct account reference
Find the account in the response whose
currency matches the currency you want to send from. Copy its payazaAccountReference.Use the reference in transfer requests
Pass the
payazaAccountReference as account_reference in your Initiate A Transfer request body.Best practices
- Cache the
payazaAccountReferenceper currency — it does not change and you do not need to re-fetch it on every transfer - Always check
postNoDebitandaccountBalancebefore initiating a large transfer to surface issues early - If
postNoDebitistrue, contact support@payaza.africa to have the restriction reviewed
What’s next
Transfers
Use your account reference to initiate payouts to bank accounts and mobile wallets.
Sub Accounts
Create segmented accounts for separate business units or verticals.