Cashback and loyalty systems

Cashback is a type of a customer loyalty scheme in which a percentage of funds spent on goods or services is paid back to the customer.

In the implementation of this case with a smart account, we need to check proofs in the same way as in the insurance use case. To prevent double spending, before collecting a cashback, a user has to send a transaction data with purchaseTransactionId and cashbackTransactionId.