We study optimal pricing in a single server queue when the customers valuation of service depends on their waiting time. In particular, we consider very general model, where customer valuations are random and sampled from distribution that length. The goal provider is to set dynamic state dependent prices order maximize its revenue, while also managing congestion. model problem as Markov decisi...