if type(data["amount"]["amount"]) != int:
            raise ValueError("\x1b[31m Amount should be of type integer"