> For the complete documentation index, see [llms.txt](https://docs.udara360.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.udara360.io/udara360-docs-1/account/editor/search-branches.md).

# Search Branches

To retrieve the list of branches, make a GET request to this endpoint, no parameters need to be passed.

A successful request returns an array of branches under `data`

This process allows you to view every branch registered on the platform

<mark style="color:green;">`GET`</mark> `/api/account/v1/getaccountbalancebyaccountnumber`

**Headers**

| Name                                            | Value                |
| ----------------------------------------------- | -------------------- |
| Content-Type<mark style="color:red;">\*</mark>  | `application/json`   |
| Authorization<mark style="color:red;">\*</mark> | `bearer {token}`     |
| Request-Reference                               | `{unique_reference}` |

**Query Params**

| Name            | Description                                         |
| --------------- | --------------------------------------------------- |
| `AccountNumber` | The account number to retrieve balance details for. |

Here is an example request and response with a sample payload sent to the endpoint in Curl format.

<details>

<summary>Sample Request</summary>

```json
curl --location -g '{{baseurl}}/api/account/v1/getaccountbalancebyaccountnumber?AccountNumber=1100029938' \
--header 'Authorization: bearer {token}' \
--header 'request-reference: {unique_reference}' \
--header 'Content-Type: application/json' \
--data ''
```

</details>

<details>

<summary>Response : <code>200</code></summary>

```
{
  "status": true,
  "message": "string",
  "data": {
    "accountNumber": "string",
    "ledgerBalance": 0,
    "availableBalance": 0,
    "withdrawableBalance": 0,
    "lienAmount": 0
  }
}
```

</details>
