implementing validator for request for payment