The world’s second-largest company in market value terms has given the biggest corporate endorsement yet to the digital currency, bitcoin.

Microsoft Corp. announced in a blog post Thursday that it has partnered with digital-currency payment processor Bitpay to allow people to use bitcoin to top up a prepaid online account to purchase digital items such as games and apps via online Windows and Xbox stores.