code: func NewServer(conf *Config, logger log.Logger, db *reform.DB) *Server {
  	s := &Server{
  		Server: srv.NewServer(conf.Config),
  		logger: logger.Add("type", "pay.Server"),
  		db:     db,
  	}
  
  	s.HandleFunc(payPath,
  		s.RequireHTTPMethods(s.logger, s.handlePay, http.MethodPost))
  
  	return s
  }
docs: // NewServer creates a new pay server.