It will typically be in the form of a credit but United, for example, does allow cancellations (not sure how far in advance) for no charge.