Get Wallet Balance

Use this endpoint to retrieve the balance of your wallet.

Endpoint

POST /wallet/balance

Request

Headers

  • Content-Type* — Must be application/json

  • x-account-id* — Your unique TemboPlus account identifier

  • x-secret-key* — Your TemboPlus API secret key

  • x-request-id* — Unique UUID per request for tracing

Body Parameters

  • accountNo* (string) — Wallet account number.


Responses

chevron-right200 OKhashtag

Returns the current and available balance along with account details such as account name, number and status.

Response Format

{
    "availableBalance": 4500000,
    "currentBalance": 4500000,
    "accountStatus": "ACTIVE",
    "accountNo": "9000112233",
    "accountName": "ACME CORP",
    "type": "DEFAULT DISBURSEMENT",
    "currencyCode": "TZS",
    "countryCode": "TZ"
}
chevron-right400 BAD REQUESThashtag

A validation error when a required header or required accountNo is not passed

Response Format

chevron-right404 NOT FOUNDhashtag

A wallet with the passed account no is not found

Response Format

chevron-right401 UNAUTHORIZEDhashtag

Returned when authentication headers are missing or invalid.

Response Format:

chevron-right500 INTERNAL SERVER ERRORhashtag

Indicates a temporary issue within TemboPlus. Retry later or contact TemboPlus Support with your x-request-id.

Response Format:

Last updated