Move request field validation to set_param instead of to_params_string (fail fast!) Create PayTrace::Exceptions::ValidationError. Modify request spec to verify that attempting to set an unknown field raises a ValidationError.