curl --request GET \
--url https://{host}/bonus/v1/members/{memberId}/statements \
--header 'Authorization: <api-key>'import requests
url = "https://{host}/bonus/v1/members/{memberId}/statements"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://{host}/bonus/v1/members/{memberId}/statements', 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://{host}/bonus/v1/members/{memberId}/statements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{host}/bonus/v1/members/{memberId}/statements"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{host}/bonus/v1/members/{memberId}/statements")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/bonus/v1/members/{memberId}/statements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 9154412,
"title": "Supermarket Central",
"amount": 10,
"type": "Refund",
"typeDisplayName": "Refund",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-16T09:30:00Z",
"fromDisplayName": "Supermarket",
"toDisplayName": "Credit Account",
"receiptId": "475-0002-000427",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000427",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154377,
"title": "Supermarket Central",
"amount": 5.5,
"type": "Payment",
"typeDisplayName": "Returned from payment",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-14T10:21:00Z",
"fromDisplayName": "Supermarket",
"toDisplayName": "Credit Account",
"receiptId": "475-0002-000381",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154377,
"title": "Supermarket Central",
"amount": -25.5,
"type": "Payment",
"typeDisplayName": "Payment",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-14T10:15:00Z",
"fromDisplayName": "Credit Account",
"toDisplayName": "Supermarket",
"receiptId": "475-0002-000381",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154290,
"title": "Supermarket",
"amount": 150,
"type": "CampaignBonus",
"typeDisplayName": "Campaign bonus",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-12T16:42:00Z",
"fromDisplayName": "Supermarket",
"toDisplayName": "Credit Account",
"detailsDisplayName": "Double bonus on fruit this week",
"metadata": {
"details": "Double bonus on fruit this week",
"memberId": "12396909"
},
"expirationDate": "2027-12-31T23:59:59Z"
}
],
"nextCursor": "20418655"
}{
"name": "<string>",
"message": "<string>",
"details": null
}{
"name": "<string>",
"message": "<string>",
"details": null
}Get a customer's statements
Your backend or the app calls this to show a customer what happened on their account, newest first: bonus earned, payments, refunds, and what is still pending. Each item is ready for display, with a title, translated names for the type and the state, and where the bonus came from and went to.
It reads the customer’s active account and leaves cancelled transactions out. Bookings of one receipt and one
type are combined into a single item, except payments and adjustments. That happens after a page is read, so a
page can hold fewer items than limit.
The list is paged: send limit, and pass the nextCursor of one page as cursor to get the next. A page
without nextCursor is the last.
curl --request GET \
--url https://{host}/bonus/v1/members/{memberId}/statements \
--header 'Authorization: <api-key>'import requests
url = "https://{host}/bonus/v1/members/{memberId}/statements"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://{host}/bonus/v1/members/{memberId}/statements', 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://{host}/bonus/v1/members/{memberId}/statements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://{host}/bonus/v1/members/{memberId}/statements"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://{host}/bonus/v1/members/{memberId}/statements")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/bonus/v1/members/{memberId}/statements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": 9154412,
"title": "Supermarket Central",
"amount": 10,
"type": "Refund",
"typeDisplayName": "Refund",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-16T09:30:00Z",
"fromDisplayName": "Supermarket",
"toDisplayName": "Credit Account",
"receiptId": "475-0002-000427",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000427",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154377,
"title": "Supermarket Central",
"amount": 5.5,
"type": "Payment",
"typeDisplayName": "Returned from payment",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-14T10:21:00Z",
"fromDisplayName": "Supermarket",
"toDisplayName": "Credit Account",
"receiptId": "475-0002-000381",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154377,
"title": "Supermarket Central",
"amount": -25.5,
"type": "Payment",
"typeDisplayName": "Payment",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-14T10:15:00Z",
"fromDisplayName": "Credit Account",
"toDisplayName": "Supermarket",
"receiptId": "475-0002-000381",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154290,
"title": "Supermarket",
"amount": 150,
"type": "CampaignBonus",
"typeDisplayName": "Campaign bonus",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-12T16:42:00Z",
"fromDisplayName": "Supermarket",
"toDisplayName": "Credit Account",
"detailsDisplayName": "Double bonus on fruit this week",
"metadata": {
"details": "Double bonus on fruit this week",
"memberId": "12396909"
},
"expirationDate": "2027-12-31T23:59:59Z"
}
],
"nextCursor": "20418655"
}{
"name": "<string>",
"message": "<string>",
"details": null
}{
"name": "<string>",
"message": "<string>",
"details": null
}Authorizations
Path Parameters
Query Parameters
Only return statements of transactions in this state. Default All.
Which transactions a list of statements includes.
All: waiting and successful transactions.Waiting: only transactions that still wait to be captured or cancelled.Successful: only transactions that are final.
This list is not final. Lobyco may add a value at any time, and a consumer must not fail on a value it does not know.
All, Waiting, Successful Response
A page of statements, newest first. items is empty when the account has no bookings that match.