You can find the machine in the Lockwood store where you can download it to your personal space/apartment.
Most items cost coins (called tokens) you will need to buy with real cash via the psn/home store although you will get 60 or so tokens free when you first download the gift machine. You can send gifts to your friend after buying the right item and it will message them with a personalized message if youd like.
There is a gift machine in the
Lockwood Gift Shop space in Home you can visit to use a built in machine there and preview items also.
If you're wanting to send a gift back because you don't like it, as the others have said, that can't be done. But if you would like to return the favor, we do have the Lockwood Gift Machine.
We also have a couple of other ways to give someone a gift. Either as part of a game or as a built-in gifting program in a personal space. A few require the recipient to be present, but some do not have that requirement.
If you are looking for means to gift the person who gifted you, there are quite a few ways to do so.
Ways to Gift friends:
There is the Lockwood Gift Machine as was stated, you may recieve it free from the Lockwood store or utilize it in the Gift Shop public space.
You may use the gift terminal in the Casino Concourse public space to gift the person chips.
You also may gift them back by using the free minibots personal space (they have to be in the space with you).
If you need any other additional information on these things, feel free to ask.