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

# Events

> Events of aps_banking: the client UI state event for hiding your HUD and the server event that fires after money moved.

aps\_banking fires one client event and one server event that your scripts can listen to.

### aps\_banking:client:uiState

Client. Hide your HUD while the bank is open.

```lua theme={null}
AddEventHandler('aps_banking:client:uiState', function(open, mode)
    -- open: boolean, mode: 'bank' | 'atm' | 'receipt' | nil
end)
```

### aps\_banking:server:transaction

Server. Fires after money moved.

```lua theme={null}
AddEventHandler('aps_banking:server:transaction', function(data)
    -- data.action, data.amount, data.from (IBAN or nil), data.to (IBAN or nil), data.actor, data.origin
end)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.