You can cancel a flight up to 10 minutes prior to departure and retain credit (some exceptions for points bookings and non-WGA fares). The key is that you need to use the credit (complete travel) within one year of the initial purchase.
... View more