---
page_source: https://juspay.io/in/docs/lotuspay/web/core-resources/list-all-bank-accounts
page_title: List all bank accounts
---

## API Version: default


# **List all bank accounts** 



You can see a list of the bank accounts belonging to a customer. The bank accounts are returned sorted by creation date, with the most recent appearing first. Note that the 10 most recent bank accounts are always available by default on the customer. If you need more than those 10, you can use this API method and the `limit` parameter to page through bank accounts.

**ARGUMENTS** 


| Argument | Description |
|---|---|
| customer REQUIRED	 | The identifier of the customer whose bank accounts will be retrieved. |
| limit optional, default is 100	 | A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 100. |
| page optional | This will return all the bank accounts within the page. |


**Returns**  A dictionary with a `data` property that contains an array of up to `limit` bank accounts and when you pass `page`  it will return you all the entries in the respective page. Each entry in the array is a separate bank account object. If no more bank accounts are available, the resulting array will be empty.## Endpoints:
- Sandbox: https://api-test.lotuspay.com/v1/customers/{ID}/bank_accounts

- Production: https://api.lotuspay.com/v1/customers/{ID}/bank_accounts

## Request Type: 
GET

## Content-Type: 
application/json

## Authorization:

#### Basic Auth:
Auth example
- Value:  sk_test_XjIHowXWSI23uvjepz2X82
## Sample Code Snippets:
### Sample Request and Response:

#### Request:
```Shell
{"success":false,"message":"No Data found for the given path"}
```

#### Response:
```json
{"success":false,"message":"No Data found for the given path"}
```

## API Responses:
