I could see two ways of doing this:
You could have a parallel process running in the scene that checks if your money is above the wallet limit and subtracts the difference.
You could check "use variable as currency" and implement a chip system. The player buys chips when they walk in, then cashes them out when they leave (like in a real casino). Then you could just add a conditional check when they cash out that transfers their money to a bank.