API reference
GET/account/balance

Read the account balance

Read the shared account balance in this environment

Overview

Read the shared account wallet balance for the authenticated environment. All application keys on an account share this balance. Test funds are isolated from the real wallet.

Available, pending and locked values are decimal strings in UGX. Sufficient balance does not guarantee provider availability.

Example request

Read the account balance
curl https://api.nuepay.net/v1/account/balance \
  -H "Authorization: Bearer $NUEPAY_TEST_KEY"

Example response

Illustrative sandbox response
{
  "data": {
    "account_number": "YOUR_ACCOUNT_NUMBER",
    "currency": "UGX",
    "available": "1000000.00",
    "pending": "0.00",
    "locked": "0.00",
    "mode": "test",
    "livemode": false
  }
}

Examples omit timestamps for readability. Use POST /quotes to confirm current fees rather than hard-coding these examples.

Response fields

FieldTypeDetails
account_numberstringSee the response and related guide.
currencystringUGX
availablestringSee the response and related guide.
pendingstringSee the response and related guide.
lockedstringSee the response and related guide.
modestringlive, test
livemodebooleanSee the response and related guide.

HTTP status codes

StatusMeaning
200UGX available, pending and locked decimal strings. Test balances are isolated from real wallets.
201Invalid credentials.
202Access unavailable or operation paused.
203Resource not found in this application and environment.
204Idempotency conflict, insufficient funds, or payout setup required.
205Invalid input; inspect errors and code.
206Rate limit exceeded.
207Live provider unavailable; accepted payments can still be read or retried.

Errors contain a stable code and support request_id. See error handling for recovery guidance.

Made for builders. Built in Uganda.NuePay API v1

Search endpoints, guides and examples.