  The X-ray spectra of the magnetar candidates are customarily fitted with an
empirical, two component model: an absorbed blackbody and a power-law. However,
the physical interpretation of these two spectral components is rarely
discussed. It has been recently proposed that the presence of a hot plasma in
the magnetosphere of highly magnetized neutron stars might distort, through
efficient resonant cyclotron scattering, the thermal emission from the neutron
star surface, resulting in the production of non-thermal spectra. Here we
discuss the Resonant Cyclotron Scattering (RCS) model, and present its XSPEC
implementation, as well as preliminary results of its application to Anomalous
X-ray Pulsars and Soft Gamma-ray Repeaters.
