Nintendo will close the 3DS and Wii U eShops to new purchases in March 2023.
After this point, the ability to buy games or download free-to-play titles and demos will be gone for good. Download codes will also not function.
Read more
Source
See author's posts