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
- POS submits transaction data after checkout.
- Loyalty platform calculates points and validates redemption usage.
- Transaction and points results are returned.
Architecture & Journey
Example - Offline Journey

Example - Online Journey

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.