You cannot transfer Microsoft Points to an Xbox. Microsoft Points were retired in 2013 and converted to local currency in your Microsoft account.
If you have an old Points card: It is likely unredeemable. Contact Xbox Support with the code and proof of purchase; they *may* make a one-time exception, but it's not guaranteed.
All purchases now use real currency. No conversion or transfer from old Points cards is possible.