---
title: "Get Customer Accounts"
method: GET
path: "/customers/{customerId}/accounts"
tags: ["Customers", "Accounts"]
---

# Get Customer Accounts

`GET /customers/{customerId}/accounts`

## Request

- Base URL: `http://replace-host-name/parabank/services_proxy/bank`
- URL: `http://replace-host-name/parabank/services_proxy/bank/customers/{customerId}/accounts`
- Auth: none declared
- TypeScript: <https://skmtc.dev/parasoft/apis/the-parabank-services-proxy-rest-api/docs/customers/:customerId/accounts/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `customerId` integer, required

## Response `200`

successful operation

- Account[]
  - `id` integer
  - `customerId` integer
  - `balance` number
  - `type` 'CHECKING' | 'SAVINGS' | 'LOAN'

---

[API](https://skmtc.dev/parasoft/apis/the-parabank-services-proxy-rest-api.md) - [All operations](https://skmtc.dev/parasoft/apis/the-parabank-services-proxy-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/parasoft/apis/the-parabank-services-proxy-rest-api/revisions/dde8a8455a0b?raw)
