> ## Documentation Index
> Fetch the complete documentation index at: https://docs.borntocraftstudio.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Bank Actions

> Manage island economy.

Actions for interacting with the island bank system.

<CardGroup cols={2}>
  <Card title="Deposit" icon="plus" href="#bank-deposit-action">
    Deposit funds into the island bank.
  </Card>

  <Card title="Withdraw" icon="minus" href="#bank-withdraw-action">
    Withdraw funds from the island bank.
  </Card>
</CardGroup>

## Actions

### Bank Deposit Action

Deposits money from the player's personal balance into the island bank. Checks for sufficient funds and respects bank capacity limits.

<ResponseField name="amount" type="Double" required>
  The amount of currency to deposit.
</ResponseField>

<CodeGroup>
  ```yaml Deposit theme={null}
  action:
    type: island_bank_deposit
    amount: 1000.0
  ```
</CodeGroup>

### Bank Withdraw Action

Withdraws money from the island bank to the player's personal balance.

<ResponseField name="amount" type="Double" required>
  The amount of currency to withdraw.
</ResponseField>

#### Permissions Required

* `btcsky.bank.withdraw`: Required to perform this action.
* **Island Role**: Usually restricted to `ADMIN` or `OWNER` by default configuration.

<CodeGroup>
  ```yaml Withdraw theme={null}
  action:
    type: island_bank_withdraw
    amount: 500.0
  ```
</CodeGroup>
