# Bank Accounts

Bill contracts can also be used by Banks to interface with their clients and enable them to deposit/withdraw money into/from their accounts.

Read this guide to understand how to deploy your own Bill contract and add accounts to it.

* The first step is to deploy a Bill contract (with the **Is Payable** parameter set to Yes since accounts can make withdrawals)

{% content-ref url="/pages/v2HoXYWwRZ5KYOh6Saww" %}
[Bills](/products/bills.md)
{% endcontent-ref %}

## Depositing Money Into Accounts

Here is a step by step guide to depositing money into your account in a Bill contract:

* Go to your Bill contract and click on the **Details** button to expose its panel
* Click on the ID of your account to select it

<figure><img src="/files/0bMr8w7iINURzvvcruXj" alt=""><figcaption></figcaption></figure>

* Now click on the **Control Panel** button and then on the **Deposit** button in the control panel's menu

<div><figure><img src="/files/FNDtzhTOlQWzcYYWyaSl" alt=""><figcaption></figcaption></figure> <figure><img src="/files/f4tolHH80UdepvQcFtxb" alt=""><figcaption></figcaption></figure></div>

* Fill in the fields with your account ID and the amount you wish to deposit in your account and validate the transaction

Congratualtions! You have succesfully deposited funds into your account. In our use bank use case, all funds deposited should be available for withdrawal at any time.

## Withdrawing Money From Accounts

Here is a step by step guide to withdrawing money from your account in a Bill contract:

* Go to your Bill contract and click on the **Details** button to expose its panel
* Click on the ID of your account to select it

<figure><img src="/files/0bMr8w7iINURzvvcruXj" alt=""><figcaption></figcaption></figure>

* Now click on the **Control Panel** button and then on the **Withdraw** button in the control panel's menu

<div><figure><img src="/files/FNDtzhTOlQWzcYYWyaSl" alt=""><figcaption></figcaption></figure> <figure><img src="/files/eB4obr1t9KNVliDgsqgJ" alt=""><figcaption></figcaption></figure></div>

* Fill in the fields with your account ID and the amount you wish to deposit in your account and validate the transaction


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.payswap.org/products/bills/banks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
