You won’t find an exact answer because different users handle loyalty points differently.
This Tutorial shows how a Sambacard system was adapted to instead add funds to a Customer Account, either manually, or also based on a percentage of the Ticket Total.