Get Expiry Schedule
curl --request POST \
--url https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"RelationReference": "jane.doe@example.com",
"RelationType": 4,
"ProgramId": 19,
"TransactionCurrency": "DEFAULT",
"Year": 2026
}
'import requests
url = "https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule"
payload = {
"RelationReference": "jane.doe@example.com",
"RelationType": 4,
"ProgramId": 19,
"TransactionCurrency": "DEFAULT",
"Year": 2026
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
RelationReference: 'jane.doe@example.com',
RelationType: 4,
ProgramId: 19,
TransactionCurrency: 'DEFAULT',
Year: 2026
})
};
fetch('https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'RelationReference' => 'jane.doe@example.com',
'RelationType' => 4,
'ProgramId' => 19,
'TransactionCurrency' => 'DEFAULT',
'Year' => 2026
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule"
payload := strings.NewReader("{\n \"RelationReference\": \"jane.doe@example.com\",\n \"RelationType\": 4,\n \"ProgramId\": 19,\n \"TransactionCurrency\": \"DEFAULT\",\n \"Year\": 2026\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"RelationReference\": \"jane.doe@example.com\",\n \"RelationType\": 4,\n \"ProgramId\": 19,\n \"TransactionCurrency\": \"DEFAULT\",\n \"Year\": 2026\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"RelationReference\": \"jane.doe@example.com\",\n \"RelationType\": 4,\n \"ProgramId\": 19,\n \"TransactionCurrency\": \"DEFAULT\",\n \"Year\": 2026\n}"
response = http.request(request)
puts response.read_body{
"results": {
"IsSucessful": true,
"ErrorCode": "000",
"ExceptionMessage": "Success",
"ReturnObject": {
"Period": "Quarterly",
"ExpiryPeriod": [
{
"ScheduleDate": "2026-03-31T00:00:00",
"AccrualPoints": 500,
"RedeemPoints": 100,
"BlockedPoints": 0,
"TotalAvailablePoints": 400
},
{
"ScheduleDate": "2026-06-30T00:00:00",
"AccrualPoints": 300,
"RedeemPoints": 50,
"BlockedPoints": 0,
"TotalAvailablePoints": 250
}
]
}
}
}Transactions
Get Expiry Schedule
Retrieve a member’s periodic points expiry schedule using the Loyalife API.
POST
/
lbms-ingress
/
transaction-lm
/
API
/
Transaction
/
GetExpirySchedule
Get Expiry Schedule
curl --request POST \
--url https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"RelationReference": "jane.doe@example.com",
"RelationType": 4,
"ProgramId": 19,
"TransactionCurrency": "DEFAULT",
"Year": 2026
}
'import requests
url = "https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule"
payload = {
"RelationReference": "jane.doe@example.com",
"RelationType": 4,
"ProgramId": 19,
"TransactionCurrency": "DEFAULT",
"Year": 2026
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
RelationReference: 'jane.doe@example.com',
RelationType: 4,
ProgramId: 19,
TransactionCurrency: 'DEFAULT',
Year: 2026
})
};
fetch('https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'RelationReference' => 'jane.doe@example.com',
'RelationType' => 4,
'ProgramId' => 19,
'TransactionCurrency' => 'DEFAULT',
'Year' => 2026
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule"
payload := strings.NewReader("{\n \"RelationReference\": \"jane.doe@example.com\",\n \"RelationType\": 4,\n \"ProgramId\": 19,\n \"TransactionCurrency\": \"DEFAULT\",\n \"Year\": 2026\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"RelationReference\": \"jane.doe@example.com\",\n \"RelationType\": 4,\n \"ProgramId\": 19,\n \"TransactionCurrency\": \"DEFAULT\",\n \"Year\": 2026\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetExpirySchedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"RelationReference\": \"jane.doe@example.com\",\n \"RelationType\": 4,\n \"ProgramId\": 19,\n \"TransactionCurrency\": \"DEFAULT\",\n \"Year\": 2026\n}"
response = http.request(request)
puts response.read_body{
"results": {
"IsSucessful": true,
"ErrorCode": "000",
"ExceptionMessage": "Success",
"ReturnObject": {
"Period": "Quarterly",
"ExpiryPeriod": [
{
"ScheduleDate": "2026-03-31T00:00:00",
"AccrualPoints": 500,
"RedeemPoints": 100,
"BlockedPoints": 0,
"TotalAvailablePoints": 400
},
{
"ScheduleDate": "2026-06-30T00:00:00",
"AccrualPoints": 300,
"RedeemPoints": 50,
"BlockedPoints": 0,
"TotalAvailablePoints": 250
}
]
}
}
}Returns the points expiry schedule for a member broken down by period (e.g. quarterly), showing how many points will expire at each upcoming date. Use this to surface expiry warnings in your loyalty portal — “X points expire on Dec 31” — which is one of the most effective nudges for driving redemption activity. The
Year parameter lets you fetch future schedules for proactive campaign planning.
Responses
200 — Success
200 — Success
| Path | Type | Description |
|---|---|---|
results.IsSucessful | boolean | true |
results.ErrorCode | string | 000 |
results.ReturnObject.Period | string | Expiry period type (e.g. Quarterly) |
results.ReturnObject.ExpiryPeriod[].ScheduleDate | string | Date when this batch of points expires |
results.ReturnObject.ExpiryPeriod[].AccrualPoints | integer | Points accrued in this period |
results.ReturnObject.ExpiryPeriod[].RedeemPoints | integer | Points redeemed in this period |
results.ReturnObject.ExpiryPeriod[].BlockedPoints | integer | Points currently on hold/blocked |
results.ReturnObject.ExpiryPeriod[].TotalExpiredPoints | integer | Points that have already expired in this period |
results.ReturnObject.ExpiryPeriod[].TotalAvailablePoints | integer | Points still available (accrual minus redeemed, blocked, and expired) |
Authorizations
JWT obtained from Generate Auth Token. Pass as Authorization: bearer {token}.
Body
application/json
Response
200 - application/json
Expiry schedule
Show child attributes
Show child attributes
⌘I