Cashback eligibility and reward calculation

The Cashback Reward Eligibility Service is responsible for evaluating whether a transaction qualifies for a Cashback Reward. Once a transaction is authorized by PayCredit, an event is generated to trigger this service, which checks the transaction against predefined cashback eligibility criteria. If the transaction meets the required conditions, the system records the eligibility and updates the reward balance.

This feature enhances the automation and efficiency of cashback processing by:

  • Ensuring real-time evaluation of transaction eligibility for cashback rewards.
  • Providing a seamless mechanism to update reward balances.
  • Reducing manual intervention in the cashback validation process.
  • Enabling bank clients to receive timely notifications of eligible transactions. (Future)

Key functionalities & capabilities

Event-Driven Eligibility Processing:

  • Automatically triggers eligibility checks when a transaction is approved.
  • Uses the transaction ID to validate against cashback reward criteria.

Eligibility Validation:

  • Matches the transaction characteristics (e.g., amount, MCC) with configured reward criteria.
  • Determines if the transaction qualifies for a cashback reward.

Reward Recording & Balance Update:

  • Stores eligible transaction details.
  • Updates the customer's cashback reward balance.

Notification Streaming:

  • Publishes an event to a subscribed stream.
  • Enables bank clients to receive real-time notifications for eligible cashback transactions. (Future)