Enter Amount check

Since the data is sent as a long there is a chance the client will send
an amount higher then the max value of a Integer. To protect the server
from an error we do this.