this pin most likely is for the store to download apps that need payment - so it would be related to your credit card connection. You would have set this some time ago - maybe check the wallet app
If you need additional help or have more questions or details to share, please join the site so you can reply in this thread. See this link for instructions on how to join Windows Central.