---
page_title: Create a bank account
product: lotuspay
platform: web
page_source: https://docs.juspay.io/lotuspay/web/core-resources/create-a-bank-account
openapi: https://docs.juspay.io/api/swagger?document=https%3A%2F%2Fdocs.juspay.io%2Flotuspay%2Fweb%2Fcore-resources%2Fcreate-a-bank-account
llms_txt: https://docs.juspay.io/llms.txt
product_llms_txt: https://docs.juspay.io/lotuspay/llms.txt
---

## API Version: default


# **Create a bank account** 



When you create a new bank account, you must specify a Customer object on which to create it.

**ARGUMENTS** 


| Argument | Description |
|---|---|
| account_holder_name REQUIRED	 | The name of the person or business that owns the bank account. This must match the bank's records. |
| account_ifsc REQUIRED	 | Customer's bank branch 11-digit IFSC code. |
| account_number REQUIRED	 | Customer's bank account number. Must be at least five characters in length. |
| account_type REQUIRED	 | Customer's bank account type. One of savings, current, nre, nro, or cc. |
| customer REQUIRED	 | The identifier of the customer on which to create the bank account. |


**Returns**  Returns a bank account object.## Endpoints:
- Sandbox: https://api-test.lotuspay.com/v1/customers/{ID}/bank_accounts/

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

## Request Type: 
POST

## Content-Type: 
application/json

## Authorization:

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

#### Request:
```Shell
$ curl https://api-test.lotuspay.com/v1/customers/CU004433221AA/bank_accounts/ \
   -u sk_test_XjIHowXWSI23uvjepz2X82:
   -d account_holder_name="Amit Jain" \
   -d account_ifsc="ICIC0000047" \
   -d account_number="12341234" \
   -d account_type="savings"

```

#### Response:
```json
{
    "id": "BA004433221AA",
    "object": "bank_account",
    "created": 1530224170,
    "livemode": false,
    "account_holder_name": "Amit Jain",
    "account_ifsc": "ICIC0000047",
    "account_last4": "1234",
    "account_type": "savings",
    "bank_name": "ICICI BANK",
    "customer": "CU004433221AA",
    "mandates": {
      "object": "list",
      "data": [
  
      ],
      "total_count": 0,
      "url": "/v1/customers/CU004433221AA/bank_account/BA004433221AA/mandates"
      },
    "status": "enabled"
  }
  
```

## API Responses:
