For economy class you generally have to have a student or youth (under 26 years old card) to be allowed to do that, but I think you have more flexibility when it comes to higher priced flights (which wouldn't matter if you would be refunding it. I'm not aware of there being major differences between airlines.
Do you know of any airlines in particular that offer that service?
