| Time | Status | User Agent |  |
| :-- | :-- | :-- | :-- |
| Make a request to see history. |

#### URL Expired

The URL for this request expired after 30 days.

Create a bank account object for _a worker (employee or contractor)_ in Zeal's system. Zeal can use this bank account information to pay the worker through direct deposit.

**Please ensure that you are providing validated bank account information.**

## Returns   
Returns boolean indicating success status and a direct deposit object.

| attribute | type | description |
| --- | --- | --- |
| success | boolean | Response status |
| data | object | Newly created [Bank Account Object](https://docs.zeal.com/reference/bank-account-object) |
| errors | array | Contains list of error objects which consists of:<br>`message`: Error message<br>`code`: Error code as described in [Error codes](https://docs.zeal.com/reference/error-codes) |

### Attributes

| Attribute             | Type   | Description                                   |
| --------------------- | ------ | --------------------------------------------- |
| companyID            | string | Company ID of employer                        |
| id                   | string | Employee ID or Contractor ID of the worker who owns this bank account |
| institution_name     | string | Institution Name for bank account (Bank Name) |
| account_number       | string | Required: Account number of bank account      |
| routing_number       | string | Required: Routing number of bank account      |
| type                 | string | Enum: Required: Account type. Can either be `checking` or `savings` |
| nickname             | string | Nickname of the bank account                  |

# ``200      200

# ``400      400

Updated about 1 month ago

---

## Example CURL Command

```bash
curl --request POST \
     --url https://api.zeal.com/bankaccount \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '{"type":"checking"}'
```

## Response Example

```json
{
  "status": 200,
  "result": "Success"
}
```
