Hello @Dan,
You can find the related document in the below link;
https://kb.sambapos.com/en/4-27-basic-loyalty-points-implementation/
Also here is another topic related to earning 1 point for each Coffee purchase and using them after a specific amount;
https://forum.sambapos.com/t/tracking-promotions-by-points/860