Award Points
Award loyalty points to a user’s loyalty card for purchases, activities, or promotional campaigns. This endpoint calculates points based on configurable rules and updates the user’s balance instantly.Points are awarded in real-time and immediately available for redemption. The system automatically calculates tier progress and triggers tier upgrades when applicable.
Path Parameters
Language code for localized content (e.g., “en”, “lt”)
Request Body
Unique identifier of the loyalty card to award points to
Number of points to award (must be positive)
Type of transaction that generated the points
purchase
- Purchase-based pointsbonus
- Promotional bonus pointsreferral
- Referral reward pointsactivity
- Activity-based points (check-ins, reviews, etc.)manual
- Manual adjustment by staff
Original purchase amount in euros (required for purchase transactions)
Optional description of the transaction (max 255 characters)
Additional transaction data for tracking and analytics
Response
Indicates if points were successfully awarded
Human-readable message about the operation
Points Calculation Rules
The system uses configurable rules to calculate points based on transaction type:Purchase Points
Purchase Points
Formula:
floor(purchase_amount * points_per_euro)
- Default: 2 points per €1 spent
- Minimum transaction: €0.01
- Maximum points per transaction: 10,000
- Tier multipliers may apply
Bonus Points
Bonus Points
Manual Award: Direct points allocation
- Used for promotions and special events
- No purchase amount required
- Subject to daily/monthly limits
- Expires based on campaign rules
Activity Points
Activity Points
Fixed Rewards: Predetermined point values
- Check-in: 5 points
- Review submission: 10 points
- Social share: 3 points
- App download: 25 points
Business Logic
1
Validation
System validates card ownership, status, and point limits
2
Points Calculation
Applies tier multipliers and promotional bonuses
3
Balance Update
Updates card balance and transaction history
4
Tier Check
Evaluates tier progression and triggers upgrades
5
Notifications
Sends real-time notifications for tier upgrades
Related Endpoints
Redeem Points
Use points for purchases or rewards
Points Balance
Check current points balance and tier status
Transaction History
View detailed points transaction history
Loyalty Cards
Manage user’s loyalty cards
Rate Limits: Points awarding is limited to 100 transactions per minute per user to prevent abuse. Large batch operations should use the bulk endpoints.