> For the complete documentation index, see [llms.txt](https://tembo.gitbook.io/tembo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tembo.gitbook.io/tembo/wallet-management-api/api-reference/get-wallet-balance.md).

# Get Wallet Balance

### Endpoint

```
POST /wallet/balance
```

***

### Request

#### **Headers**

* **`Content-Type`**<mark style="color:red;">**\***</mark> — Must be `application/json`&#x20;
* **`x-account-id`**<mark style="color:red;">**\***</mark> — Your unique TemboPlus account identifier
* **`x-secret-key`**<mark style="color:red;">**\***</mark> — Your TemboPlus API secret key
* **`x-request-id`**<mark style="color:red;">**\***</mark> — Unique UUID per request for tracing

#### **Body Parameters**

* **`accountNo`**<mark style="color:red;">**\***</mark> *(string)* — Wallet account number.

***

### Responses

<details>

<summary><code>200</code> OK</summary>

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

#### Response Format

```json
{
    "availableBalance": 4500000,
    "currentBalance": 4500000,
    "accountStatus": "ACTIVE",
    "accountNo": "9000112233",
    "accountName": "ACME CORP",
    "type": "DEFAULT DISBURSEMENT",
    "currencyCode": "TZS",
    "countryCode": "TZ"
}
```

</details>

<details>

<summary><code>400</code> BAD REQUEST</summary>

Returned when the request payload is missing one or more required fields, or when any field contains invalid data.

#### Response Format

```json
{
    "statusCode": 400,
    "reason": "VALIDATION_ERROR",
    "details": {
        "accountNo": "\"accountNo\" is required"
    },
    "message": "{\"accountNo\":\"\\\"accountNo\\\" is required\"}"
}
```

</details>

<details>

<summary><code>401</code> UNAUTHORIZED</summary>

Returned when authentication headers are missing or invalid.

#### Response Format:

```json
{
    "statusCode": 401,
    "reason": "INVALID_CREDENTIALS",
    "details": {}
}
```

</details>

<details>

<summary><code>404</code> NOT FOUND</summary>

Returned when no wallet was found for the provided account number.

#### Response Format

```json
{
    "statusCode": 404,
    "reason": "NOT_FOUND",
    "details": {}
}
```

</details>

<details>

<summary><code>500</code> INTERNAL SERVER ERROR</summary>

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

#### Response Format:

```json
{
    "statusCode": 500,
    "reason": "SERVER_ERROR"
}
```

</details>
