Entered Codes onto wrong account

Hi, I recently entered some of the “Snack on with Xbox codes” to my second account rather than my main account is there any way I could get the Items that were redeemed back on my main?

Thanks

As far as I’m aware, there is no way to transfer items like this to other accounts