HomeGuidesDeveloper HubRelease Notes
Get supportBook a chat
Guides

Wallet-Related Reward Processing

The system will process pending wallet reward records in the queue and distribute rewards to members, provided the wallet has sufficient balance. Fielo will try to process the redemptions in real time, if this is not possible due to high demand/concurrency the system will process them in an asynchronous way.

Steps

  1. The system retrieves pending wallet rewards from the WalletRewardProcessingQueue.
  2. For each reward record in the Queue with status ‘Pending’:
    1. If the wallet member has insufficient funds:
      1. Update status to Reverted.
      2. Return points to the member.
    2. If funds are sufficient:
      1. Update status to Processed/Delivered.
      2. Update the Redemption Item record status to Fulfilled.
📘

Redemption Item Reversion and Expiration

When a redemption item associated with a reward linked to a wallet expires or is reverted, the corresponding amount will be restored to the wallet balance.
In the case of a reversion, any deducted points will also be credited back to the member's balance.


Did this page help you?