Get Points to expire
Description
This service retrieves information about upcoming points expirations for the logged-in user's account within a specific mileage activity.
Request
Restrictions
This service requires an authenticated user and can only be called after a successful login.
Endpoint
GET https://<server-url>/api/v4/mileage/{activity_code}/account/pointsexpirationPath Parameters
activity_code
String
The unique code for the mileage activity (e.g., "activityMileagePoints").
Parameters
touchpoint
Query / Header
The identifier for the touchpoint. Use Thalamus-Touchpoint for the header.
token
Query / Header
The authentication token for the API session. Use Thalamus-Token for the header.
date
Query
Required. The reference date for calculating expirations, in yyyy-mm-dd format.
Full URL Example
Request Body
This request does not have a body.
Response
✅ Successful Response: 200 OK
200 OKA JSON object is returned containing an array of pointsToExpireElements. Each element represents a batch of points and its corresponding expiration date.
pointsToExpire
Number
The number of points that will expire.
expirationDate
Timestamp
The date on which the points will expire.
In addition, there are two extra fields associated with expiration using an annual cut-off date.
annualCutoffDate
Timestamp
The annual cut-off date
pointsToExpireAtCutoffDate
Number
The number of points that will expire at cut-off date.
JSON
❌ Unsuccessful Response: 404 Not Found
404 Not FoundReturned if the specified activity_code does not exist.
JSON
Last updated
Was this helpful?
