Get Statement Summary
curl --request POST \
--url https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetMemberStatementSummary \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"RelationReference": "jane.doe@example.com",
"TransactionCurrency": "DEFAULT",
"RelationType": 4,
"ProgramId": 19
}
'import requests
url = "https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetMemberStatementSummary"
payload = {
"RelationReference": "jane.doe@example.com",
"TransactionCurrency": "DEFAULT",
"RelationType": 4,
"ProgramId": 19
}
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',
TransactionCurrency: 'DEFAULT',
RelationType: 4,
ProgramId: 19
})
};
fetch('https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetMemberStatementSummary', 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/GetMemberStatementSummary",
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',
'TransactionCurrency' => 'DEFAULT',
'RelationType' => 4,
'ProgramId' => 19
]),
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/GetMemberStatementSummary"
payload := strings.NewReader("{\n \"RelationReference\": \"jane.doe@example.com\",\n \"TransactionCurrency\": \"DEFAULT\",\n \"RelationType\": 4,\n \"ProgramId\": 19\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/GetMemberStatementSummary")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"RelationReference\": \"jane.doe@example.com\",\n \"TransactionCurrency\": \"DEFAULT\",\n \"RelationType\": 4,\n \"ProgramId\": 19\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetMemberStatementSummary")
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 \"TransactionCurrency\": \"DEFAULT\",\n \"RelationType\": 4,\n \"ProgramId\": 19\n}"
response = http.request(request)
puts response.read_body{
"results": {
"IsSucessful": true,
"ErrorCode": "000",
"ExceptionMessage": "Success",
"ReturnObject": {
"Bonus": 500,
"Spend": 1200,
"Redeem": 300,
"Partner": 0,
"Purchased": 0,
"ExpiredPoints": 50,
"PointBalance": 1350
}
}
}Transactions
Get Statement Summary
Retrieve a member’s aggregated points balance and loyalty statement totals via the Loyalife API.
POST
/
lbms-ingress
/
transaction-lm
/
API
/
Transaction
/
GetMemberStatementSummary
Get Statement Summary
curl --request POST \
--url https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetMemberStatementSummary \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"RelationReference": "jane.doe@example.com",
"TransactionCurrency": "DEFAULT",
"RelationType": 4,
"ProgramId": 19
}
'import requests
url = "https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetMemberStatementSummary"
payload = {
"RelationReference": "jane.doe@example.com",
"TransactionCurrency": "DEFAULT",
"RelationType": 4,
"ProgramId": 19
}
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',
TransactionCurrency: 'DEFAULT',
RelationType: 4,
ProgramId: 19
})
};
fetch('https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetMemberStatementSummary', 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/GetMemberStatementSummary",
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',
'TransactionCurrency' => 'DEFAULT',
'RelationType' => 4,
'ProgramId' => 19
]),
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/GetMemberStatementSummary"
payload := strings.NewReader("{\n \"RelationReference\": \"jane.doe@example.com\",\n \"TransactionCurrency\": \"DEFAULT\",\n \"RelationType\": 4,\n \"ProgramId\": 19\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/GetMemberStatementSummary")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"RelationReference\": \"jane.doe@example.com\",\n \"TransactionCurrency\": \"DEFAULT\",\n \"RelationType\": 4,\n \"ProgramId\": 19\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://loyalife-api.xoxoday.in/lbms-ingress/transaction-lm/API/Transaction/GetMemberStatementSummary")
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 \"TransactionCurrency\": \"DEFAULT\",\n \"RelationType\": 4,\n \"ProgramId\": 19\n}"
response = http.request(request)
puts response.read_body{
"results": {
"IsSucessful": true,
"ErrorCode": "000",
"ExceptionMessage": "Success",
"ReturnObject": {
"Bonus": 500,
"Spend": 1200,
"Redeem": 300,
"Partner": 0,
"Purchased": 0,
"ExpiredPoints": 50,
"PointBalance": 1350
}
}
}Returns a member’s aggregated loyalty account summary — total points earned, redeemed, expired, and the current redeemable balance. This is the primary endpoint for a loyalty wallet or dashboard screen where you want to show a member their overall standing at a glance.
ReturnObject.PointBalance is the live redeemable balance to use in redemption eligibility checks. For a line-by-line transaction history, use Get Transaction Summary.
Responses
200 — Success
200 — Success
| Path | Type | Description |
|---|---|---|
results.IsSucessful | boolean | true |
results.ErrorCode | string | 000 |
results.ReturnObject.PointBalance | integer | Current redeemable points balance |
results.ReturnObject.Bonus | integer | Points earned through bonus/referral campaigns |
results.ReturnObject.Spend | integer | Points earned through purchase transactions |
results.ReturnObject.Redeem | integer | Total points redeemed |
results.ReturnObject.Partner | integer | Points earned through partner transactions |
results.ReturnObject.Purchased | integer | Points purchased directly |
results.ReturnObject.OtherAccrued | integer | Points earned through other accrual types |
results.ReturnObject.Air | integer | Points redeemed for air bookings |
results.ReturnObject.Hotel | integer | Points redeemed for hotel bookings |
results.ReturnObject.Car | integer | Points redeemed for car bookings |
results.ReturnObject.BillPayment | integer | Points redeemed for bill payments |
results.ReturnObject.Charity | integer | Points donated to charity |
results.ReturnObject.CreditTransfer | integer | Points received via transfer |
results.ReturnObject.DebitTransfer | integer | Points sent via transfer |
results.ReturnObject.ExpiredPoints | integer | Total expired points |
Error Codes
| Code | ExceptionMessage | Cause |
|---|---|---|
000 | Success | Transaction records returned |
009 | No records found | No transactions exist in the requested date range, or transactions have not yet been processed |
103 | Member does not exist | RelationReference not found in the program |
203 | Member statement summary not available | Statement could not be retrieved |
204 | No transaction details available | No records match the query |
999 | Bad request | Missing or invalid date range / pagination fields |
Authorizations
JWT obtained from Generate Auth Token. Pass as Authorization: bearer {token}.
Body
application/json
Response
200 - application/json
Statement summary
Show child attributes
Show child attributes
⌘I