We propose a flexible framework for pricing single-name knock-out credit derivatives. Examples include Credit Default Swaps (CDSs) and European, American and Bermudan CDS options. The default of the underlying reference entity is modelled within a doubly stochastic framework where the default intensity follows a CIR++ process. We estimate the model parameters through a combination of a cross sectional calibration-based method and a historical estimation approach. We propose a numerical procedure based on dynamic programming and a piecewise linear approximation to price American-style knock-out credit options. Our numerical investigation shows consistency, convergence and efficiency. We find that American-style CDS options can complete the credit derivatives market by allowing the investor to focus on spread movements rather than on the default event.