Points Management API
The Points Management API is the core of the loyalty program system, allowing you to award points to customers, process redemptions, and track point transactions. This API works directly with loyalty cards to manage customer rewards.All Shop API endpoints require API Key and Secret authentication. See Authentication Overview for details.
Base URL
Core Concepts
Points Transactions
Points Transactions
Every point operation creates a transaction record with a unique ID, timestamp, and reason. This provides a complete audit trail of all point activities.
Point Types
Point Types
- Award: Add points to a customer’s balance
 - Redeem: Subtract points from balance (for rewards)
 - Expire: Remove expired points automatically
 - Adjust: Manual corrections (positive or negative)
 
Transaction References
Transaction References
Link point transactions to external systems using reference IDs (order numbers, invoice IDs, etc.) for better tracking and reconciliation.
Point Expiration
Point Expiration
Points can have expiration dates. Expired points are automatically removed from customer balances and tracked separately.
Endpoints Overview
Award Points
POST 
/points/awardAdd points to a customer’s loyalty cardRedeem Points
POST 
/points/redeemSubtract points from a customer’s balancePoints History
GET 
/points/history/{card_id}Get detailed transaction history for a cardPoints Balance
GET 
/points/balance/{card_id}Get current points balance and detailsBulk Operations
POST 
/points/bulkProcess multiple point transactions at onceExpire Points
POST 
/points/expireManually expire points by date or amountAward Points
Award points to a customer’s loyalty card. This is typically done after a purchase, completed action, or as a bonus reward.Request Parameters
The loyalty card ID to award points to
Number of points to award (must be positive)
Description of why points were awarded (shown to customer)
External reference ID (order number, invoice ID, etc.)
Point expiration date in ISO 8601 format. If not provided, uses default expiration policy.
ID or name of staff member who awarded the points
Additional data to store with the transaction (max 1KB)
Redeem Points
Redeem points from a customer’s loyalty card balance. This reduces their available points in exchange for rewards, discounts, or other benefits.Request Parameters
The loyalty card ID to redeem points from
Number of points to redeem (must be positive, will be subtracted from balance)
Description of what the points were redeemed for
External reference ID for the redemption
ID or name of staff member who processed the redemption
Additional data about the redemption (discount amount, item details, etc.)
Get Points Balance
Retrieve the current points balance and related information for a loyalty card.Response Fields
Available points that can be redeemed
Total points ever earned on this card
Total points ever redeemed from this card
Points that will expire within the next 30 days
Customer tier status and progression information
Points Transaction History
Get detailed transaction history for a loyalty card with filtering and pagination options.Query Parameters
Filter by transaction type: 
all, award, redeem, expire, adjustStart date for transaction history (ISO 8601 format)
End date for transaction history (ISO 8601 format)
Filter by external reference ID
Filter by staff member who processed the transaction
Page number for pagination
Number of transactions per page (max 100)
Bulk Point Operations
Process multiple point transactions in a single request for efficiency. Useful for batch imports or bulk operations.Bulk Transaction Object
The loyalty card ID for this transaction
Transaction type: 
award, redeem, or adjustNumber of points (positive for award, positive for redeem amount)
Description of the transaction
External reference ID
Additional transaction data
Point Expiration
Manually expire points or check which points are due for expiration.- Expire Points
 - Check Expiring Points
 
Points Adjustment
Make manual adjustments to point balances for corrections, compensations, or administrative purposes.Error Handling
Insufficient Points
Insufficient Points
Status Code: 400
Card Blocked
Card Blocked
Status Code: 403
Invalid Points Amount
Invalid Points Amount
Status Code: 400
Transaction Limit Exceeded
Transaction Limit Exceeded
Status Code: 429
Best Practices
Transaction References
- Always use external reference IDs
 - Link to order numbers, invoice IDs
 - Enable easy reconciliation
 - Support customer service inquiries
 
Reason Descriptions
- Use customer-friendly language
 - Be specific about the action
 - Avoid technical jargon
 - Support multiple languages if needed
 
Metadata Usage
- Store relevant transaction context
 - Include monetary amounts and currency
 - Track staff members for auditing
 - Add custom business data
 
Error Handling
- Check balances before redemption
 - Validate card status first
 - Implement retry logic for failures
 - Log all transactions for auditing
 
Integration Patterns
E-commerce Purchase Flow
E-commerce Purchase Flow
Scenario: Award points after successful order completion
- Customer completes checkout
 - Payment is processed successfully
 - Calculate points based on order total
 - Award points with order reference
 - Send confirmation email with points earned
 - Update customer’s loyalty dashboard
 
Point-of-Sale Redemption
Point-of-Sale Redemption
Scenario: Customer redeems points for discount at checkout
- Scan customer loyalty card
 - Check current points balance
 - Customer selects reward to redeem
 - Validate sufficient points available
 - Process point redemption
 - Apply discount to transaction
 - Print receipt with new balance
 
Bulk Point Award Campaign
Bulk Point Award Campaign
Scenario: Award bonus points to all customers
- Export list of active loyalty cards
 - Prepare bulk transaction data
 - Submit bulk award request
 - Process results and handle failures
 - Send notification emails to customers
 - Generate campaign performance report
 
Point Calculation Examples
- Purchase-based Points
 - Tier-based Multipliers
 - Redemption Values
 
Analytics and Reporting
Use the transaction history and balance APIs to generate insights about your loyalty program performance.
Key Metrics to Track
Point Velocity
- Average points earned per customer
 - Time between earning and redemption
 - Seasonal earning patterns
 - Popular redemption categories
 
Program Health
- Point liability (unredeemed points)
 - Expiration rates and amounts
 - Customer engagement levels
 - Transaction frequency trends
 
Customer Behavior
- Earning vs. redemption ratios
 - Tier progression rates
 - Preferred redemption amounts
 - Inactive customer identification
 
Financial Impact
- Point redemption costs
 - Customer lifetime value increase
 - Program ROI calculation
 - Revenue attribution to loyalty