onSocietyDeposit

Purpose

Triggered when money is deposited into shop society funds. Use this hook to log financial transactions and track business income.

When It Triggers

  • Employee or owner deposits money into the shop's society account

  • Funds are transferred from personal account to business account

Parameters

Parameter
Type
Description

data.source

number

Server ID

data.shopId

string

Unique shop identifier

data.shopName

string

Display name of the shop

data.amount

number

Amount deposited

data.depositMethod

string

'bank' or 'cash'

data.previousBalance

number

Balance before deposit

data.newBalance

number

Balance after deposit

data.depositedBy

string

Name of person who deposited

data.depositedByIdentifier

string

Identifier of person who deposited

data.timestamp

number

Server timestamp

Example

Last updated