---
title: "Fetch All Branches"
method: GET
path: "/branches/api/v1/merchant-branches"
tags: ["Branches"]
---

# Fetch All Branches

`GET /branches/api/v1/merchant-branches`

This fetches all branches that have been created by a Payaza account.

## Response `200`

Fetch All Branches Response

- FetchAllBranchesResponse
  - `message` string — Status message.
  - `success` boolean — Indicates if the request was successful.
  - `status` integer — HTTP status code.
  - `data` object[] — List of merchant branches.
    - `name` string — Name of the branch.
    - `status` string — Current status of the branch (e.g., Active).
    - `branch_id` integer — Unique identifier for the branch.
    - `account_name` string — Account name associated with the branch.
    - `created_at` string, date-time — Timestamp when the branch was created.
  - `meta` object — Pagination metadata.
    - `page` integer — Current page number.
    - `limit` integer — Number of items per page.
    - `total` integer — Total number of branches found.
  - `resp_code` string — Internal response code.

## Other responses

- `400` — Payment failed

---

[API](https://skmtc.net/payaza/apis/payaza-documentation.md) · [All operations](https://skmtc.net/payaza/apis/payaza-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/payaza/payaza-documentation/revisions/1ecd4b94ff07/schema)
