...
Call Loyalty API v1 - Identify once per scan and keep track of all the offers and rewards that were added to the basket (remembering to call Loyalty API v1 - Void on the second and subsequent scans);
Call Loyalty API v1 - Update with a status of
PENDING
when a reward is added to basket to update the guest’s loyalty points;Call Loyalty API v1 - Validate prior to collecting payment, to ensure that the combination of offers and rewards in the cart do not trigger any rule evaluation errors;
Call Loyalty API v1 - Update with a status of
CLAIMED
to conclude the Loyalty transaction after payment has been collected;Call Loyalty API v1 - Void if the guest cancels the transaction at any point.