How do you credit an IAP?

I'm not sure of a way to do that specifically, but there is an alternative. You can allow the use of IAP via payment or via unlock code and then email an unlock code to the intended recipient.