Looking for specific loyalty card plugin/theme (Worpress)

Hi, community!

I’m looking for a plugin with which the client (registered) can give a code to a friend so they register and get a “loyalty card” sent to their email with the name on it (like a loyalty card you show at the restaurant and get 15% discount, basically).

Do you know if I can get anything similar to this with a plugin? Thank you very much for the help and for taking the time to read this :blush:.