Order Tracking Overview
Server-Side Order API
Tailored API to support e-commerce platforms for order tracking and cashback rewards
Cashback API
Use for scenarios other than e-commerce order placement to reward customers with cashback wallet points
When to Use Each API
Order API
Use the Order API when you want to track e-commerce orders and automatically calculate cashback rewards based on your configured program settings.Cashback API
Use the Cashback API for custom scenarios where you want to manually award cashback points outside of standard order processing.Implementation Flow
1
Order Completion
Customer completes an order and payment is successful
2
Send Order Data
Send order information to Gameball via Order API or Cashback API
3
Calculate Rewards
Gameball calculates cashback points based on your program configuration
4
Award Points
Cashback wallet points are automatically awarded to the customer
5
Update Profile
Customer’s loyalty profile is updated with new points and achievements
Order API Integration
The Order API is specifically designed for e-commerce platforms to track orders and automatically handle cashback rewards.For detailed implementation examples, refer to the Checkout Integration tutorial and Previewing Potential Points Before Purchase.
Cashback API Integration
The Cashback API allows you to manually award cashback points for custom scenarios beyond standard order processing.For detailed cashback implementation, refer to the Transactions API Reference.
Best Practices
1
Track After Payment
Only track orders after successful payment to ensure accurate cashback rewards
2
Include Complete Order Data
Send comprehensive order information including items, amounts, and customer details
3
Handle Errors Gracefully
Implement proper error handling for failed API calls
4
Test Cashback Calculations
Verify that cashback calculations match your program configuration
Related Resources
- Order API Reference
- Order Tracking
- Calculate Order Cashback
- Cashback API Reference
- Checkout Integration Tutorial
- Previewing Potential Points Before Purchase