> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prosperavest.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Bank Lists

<span style={{ color: "#16a34a" }}>`GET`</span> `/banks`

Retrieves a list of supported banks for Nigerian transactions. This endpoint fetches bank data and returns details such as bank ID, code, and name.

**Headers**

| Name          | Value                   |
| ------------- | ----------------------- |
| Content-Type  | `application/json`      |
| Authorization | `Bearer <your_api_key>` |

**Response**

<Tabs>
  <Tab title="200">
    ```json theme={null}
    {
      "status": 200,
      "message": "Banks fetched successfully",
      "data": [
        {
          "id": 1,
          "code": "044",
          "name": "Access Bank Nigeria"
        },
        {
          "id": 2,
          "code": "023",
          "name": "Citibank Nigeria"
        }
        // ... additional banks
      ]
    }

    ```
  </Tab>

  <Tab title="400">
    ```json theme={null}
    {
      "status": 400,
      "message": "Failed to fetch banks",
      "data": null
    }

    ```
  </Tab>
</Tabs>
