Hi, thank you for that information. I believe that you purchased a code for the Xbox console only. In this case, I recommend contacting Xbox support for clarification and to check the account:
Go to this link: https://support.xbox.com/en-US
Then select the chat icon in the lower left corner.