Extracted common validation method for amount input (deposit/withdraw)