> For the complete documentation index, see [llms.txt](https://oneclub-scripts.gitbook.io/oneclub-scripts-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://oneclub-scripts.gitbook.io/oneclub-scripts-docs/free-script/oneclub-banking/exports.md).

# Exports

<details>

<summary><strong>Use Pin Decoder</strong> </summary>

**Call example:**\
`exports['oneclub_banking']:UsePinDecoder(item, slot)`

**Parameters:**

* **item** (table) – item payload (typically from usable-item context)
* **slot** (number) – inventory slot index

**Description:**\
Starts the PIN decoder flow, lets the player pick a card (if multiple), and launches the hack minigame.

</details>

<details>

<summary><strong>Open Banking UI</strong> </summary>

**Call example:**\
`exports['oneclub_banking']:OpenBankingUI()`

**Parameters:**

* none

**Description:**\
Opens the full banking UI and requests account data from the server.

</details>

<details>

<summary><strong>Close UI</strong> </summary>

**Call example:**\
`exports['oneclub_banking']:CloseUI()`

**Parameters:**

* none

**Description:**\
Closes the banking/ATM UI and removes NUI focus.

</details>

<details>

<summary><strong>Add Money</strong> </summary>

**Call example:**\
`exports['oneclub_banking']:AddMoney(identifier, amount, reason)`

**Parameters:**

* **identifier** (string|number) – player identifier/source used by bridge lookup
* **amount** (number) – amount to add to bank balance
* **reason** (string, optional) – transaction reason text

**Description:**\
Adds bank money for online or offline players and records a deposit transaction.

</details>

<details>

<summary><strong>Remove Money</strong> </summary>

**Call example:**\
`exports['oneclub_banking']:RemoveMoney(identifier, amount, reason)`

**Parameters:**

* **identifier** (string|number) – player identifier/source used by bridge lookup
* **amount** (number) – amount to remove from bank balance
* **reason** (string, optional) – transaction reason text

**Description:**\
Removes bank money (if sufficient funds) for online/offline players and logs a withdrawal transaction.

</details>

<details>

<summary><strong>Get Balance</strong> </summary>

**Call example:**\
`exports['oneclub_banking']:GetBalance(identifier)`

**Parameters:**

* **identifier** (string|number) – player identifier/source used by bridge lookup

**Returns:**\
number – current bank balance

**Description:**\
Returns the player’s current bank balance, including offline lookup fallback.

</details>

<details>

<summary><strong>Transaction</strong></summary>

**Call example:**\
`exports['oneclub_banking']:Transaction(identifier, amount, description, accountType, accountName, statementType)`

**Parameters:**

* **identifier** (string|number) – account owner identifier
* **amount** (number) – positive or negative transaction amount
* **description** (string, optional) – statement text
* **accountType** (string, optional) – account type (default main)
* **accountName** (string, optional) – account display name
* **statementType** (string, optional) – explicit statement type

**Returns:**\
boolean – true on insert path

**Description:**\
Creates an external transaction record in banking statements.

</details>

<details>

<summary><strong>Pay Into Society Fund</strong></summary>

**Call example:**\
`exports['oneclub_banking']:PayIntoSocietyFund(societyName, amount, description, identifier)`

**Parameters:**

* **societyName** (string) – target society/job account name
* **amount** (number) – deposit amount (must be > 0)
* **description** (string, optional) – transaction description
* **identifier** (string, optional) – actor identifier for transaction log (SYSTEM fallback)

**Returns:**\
boolean, string? – true on success, or false with error message

**Description:**\
Deposits funds into a society account through the bridge and logs the deposit transaction.

</details>

<details>

<summary><strong>Remove From Society Fund</strong></summary>

`exports['oneclub_banking']:RemoveFromSocietyFund(societyName, amount, description, identifier)`\\

\
**Parameters:**\
societyName -- 'police', -- job name\
amount -- '500' -- price\
description -- 'Lore Ipsum' -- (optional)\
identifier -'SYSTEM' -- (optional)\\

\
**Returns:**\
boolean, string? – true on success, or false with error message

</details>
