added backend validation for transaction amount format