Ideally, the item is accompanied by the original sales or gift receipt and a refund of the purchase price is issued using the original method of payment.
Thankfully gift receipts make it easy for us to exchange these items without the embarrassment of having to ask the gift giver for the original receipt.