Unfortunately, it is not possible to revert a purchase made using gems or coins. Once you spent your currencies with an item, several params of your account are altered when you receive the item. Reverting the purchase could cause consequences to your account, which could reflect in your gameplay.