Sell a gift card at the register like any other item; the customer gets it by email or text with a code.
Gift card lookup finds a card by code and shows the balance and every transaction. Redeem at the register by entering the code as the payment method. Partial balances stay on the card.

