How do I get an Online refund for Xbox?

I tried to Google it but I wasn’t getting much information so can someone help me with this.?

The only recommendation I can give (particularly given that there is very little detail in your post) is to contact Microsoft Support directly.