Skip to main content

Issuing Points After Completing a Transaction

Purpose

Issue loyalty points after a successful transaction. It validates the transaction result, calculates eligible points (i.e. Base Points & Bonus Points) based on configured rules, and records the issuance in the yuu loyalty.

  • Receive transaction completion events from the payment/checkout service.
  • After validated transaction status as completed.
  • Issue persist yuu points and update the customer's balance.
  • Return a confirmation response to the caller.

Workflow Overview

  1. POS submits transaction data after checkout.
  2. Loyalty platform calculates points and validates redemption usage.
  3. Transaction and points results are returned.

Architecture & Journey

Example - Offline Journey

Transaction Submission Journey - Offline

Example - Online Journey

Transaction Submission Journey - Online

APIs Involved

  • POST /transaction/submit - Submit transaction for points calculation. Refer to Transaction Submission.

Key Notes

  • Points are calculated based on transaction details.
  • API response includes points awarded.