The PIN code for the XM card is written in the document which arrives with XM card.
You need to remove the black part on the back side of the document which your address is written.
Make sure that you keep it safely and not to lose. Reissuing the PIN code will cost 50 units total.
For support for your XM card, please contact XM team directly.