Bought wrong item , gem refund?
https://en.support.guildwars2.com/app/answers/detail/a_id/9053/kw/refund
You can read through this, and also contact Customer Support through ‘Ask a Question’.
They usually do not replace or refund items lost or obtained through user-error, but it will not hurt to inquire about it. Good luck. =)