To Fetch points history of the logged-in user
API Class : RewardsInteractor
Method : getPointsCoupons()
Used to fetch the list of logged-in user’s coupons.
API Request:
- Request Object : RewardsParams
- Parameters
- limit: How many coupons you want in a single response
- offset: it's the current page/offset
API Response:
- Response Object : HomeFeed
- Message: It is a simple string message
- StatusCode : It returns an API status code (like 200,201,500,401)
- Success: It returns boolean value, (true/false)
- data: It returns all historical data of points for the logged-in user
- PerPage : it return current page
- Total : It returns the total number of records available