Skip to main content

Reward Service

Reward Service is responsible with maintaining Value Vault and executing Reward redeem mechanisms.

Value Vault

Each Reward granted to user is stored in Value Vault by Reward Service. Reward Service provides functions to query Value Vault.

Reward Redeeming

DataSapien has a pluggable Reward mechanism in which differen reward types can be defined on DataSapien Orchetrator. For reward types that require calling special loyalty / financial services; Reward Service provides a set of functions for redeeming the reward.

Reward Service Functions

To access RewardService functions; get its instance from DataSapien object: DataSapien.getRewardService().

Value Vault & VC functions:

  • getRewards
  • findRewards
  • redeemReward
  • ...
  • Documentation pending