Get detailed account statements
curl --request GET \
--url https://{host}/bonus/v1/accounts/{accountId}/detailed-statements \
--header 'Authorization: <api-key>'import requests
url = "https://{host}/bonus/v1/accounts/{accountId}/detailed-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/accounts/{accountId}/detailed-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/accounts/{accountId}/detailed-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/accounts/{accountId}/detailed-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/accounts/{accountId}/detailed-statements")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/bonus/v1/accounts/{accountId}/detailed-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": [
{
"transactionId": 9154377,
"entryId": 20418874,
"createdAt": "2026-11-14T10:21:00Z",
"settlementDate": "2026-11-14T10:21:00Z",
"state": "Successful",
"amount": 5.5,
"type": "Payment",
"partitionType": "Base",
"balance": 1230,
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"transactionId": 9154377,
"entryId": 20418873,
"createdAt": "2026-11-14T10:21:00Z",
"settlementDate": "2026-11-14T10:21:00Z",
"state": "Successful",
"amount": -5.5,
"type": "Payment",
"partitionType": "Reserve",
"balance": 1224.5,
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"transactionId": 9154377,
"entryId": 20418871,
"createdAt": "2026-11-14T10:21:00Z",
"settlementDate": "2026-11-14T10:21:00Z",
"state": "Successful",
"amount": -20,
"type": "Payment",
"partitionType": "Reserve",
"balance": 1224.5,
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"transactionId": 9154377,
"entryId": 20418866,
"createdAt": "2026-11-14T10:15:00Z",
"settlementDate": "2026-11-14T10:15:00Z",
"state": "Successful",
"amount": 25.5,
"type": "Payment",
"partitionType": "Reserve",
"balance": 1224.5,
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"transactionId": 9154377,
"entryId": 20418865,
"createdAt": "2026-11-14T10:15:00Z",
"settlementDate": "2026-11-14T10:15:00Z",
"state": "Successful",
"amount": -25.5,
"type": "Payment",
"partitionType": "Base",
"balance": 1224.5,
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"transactionId": 9154290,
"entryId": 20418790,
"createdAt": "2026-11-12T16:42:00Z",
"settlementDate": "2026-11-12T16:42:00Z",
"state": "Successful",
"amount": 150,
"type": "CampaignBonus",
"partitionType": "Base",
"balance": 1250,
"metadata": {
"details": "Double bonus on fruit this week",
"memberId": "12396909"
}
}
],
"nextCursor": 20418655
}{
"name": "<string>",
"message": "<string>",
"details": null
}{
"name": "<string>",
"message": "<string>",
"details": null
}Get detailed account statements
Your backend calls this to audit an account or to reconcile it with your own books. Where the other statement
calls return what a customer is shown, this one returns every booking on the account, newest first: on the part
that can be spent (Base) and on the reserved part (Reserve), for transactions in every state, with the
amounts as they are booked.
Each item carries the running balance, the spendable bonus on the account after that booking. Send
includeRunningBalance=false to skip that calculation when you do not need it.
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.
GET
/
v1
/
accounts
/
{accountId}
/
detailed-statements
Get detailed account statements
curl --request GET \
--url https://{host}/bonus/v1/accounts/{accountId}/detailed-statements \
--header 'Authorization: <api-key>'import requests
url = "https://{host}/bonus/v1/accounts/{accountId}/detailed-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/accounts/{accountId}/detailed-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/accounts/{accountId}/detailed-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/accounts/{accountId}/detailed-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/accounts/{accountId}/detailed-statements")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/bonus/v1/accounts/{accountId}/detailed-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": [
{
"transactionId": 9154377,
"entryId": 20418874,
"createdAt": "2026-11-14T10:21:00Z",
"settlementDate": "2026-11-14T10:21:00Z",
"state": "Successful",
"amount": 5.5,
"type": "Payment",
"partitionType": "Base",
"balance": 1230,
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"transactionId": 9154377,
"entryId": 20418873,
"createdAt": "2026-11-14T10:21:00Z",
"settlementDate": "2026-11-14T10:21:00Z",
"state": "Successful",
"amount": -5.5,
"type": "Payment",
"partitionType": "Reserve",
"balance": 1224.5,
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"transactionId": 9154377,
"entryId": 20418871,
"createdAt": "2026-11-14T10:21:00Z",
"settlementDate": "2026-11-14T10:21:00Z",
"state": "Successful",
"amount": -20,
"type": "Payment",
"partitionType": "Reserve",
"balance": 1224.5,
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"transactionId": 9154377,
"entryId": 20418866,
"createdAt": "2026-11-14T10:15:00Z",
"settlementDate": "2026-11-14T10:15:00Z",
"state": "Successful",
"amount": 25.5,
"type": "Payment",
"partitionType": "Reserve",
"balance": 1224.5,
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"transactionId": 9154377,
"entryId": 20418865,
"createdAt": "2026-11-14T10:15:00Z",
"settlementDate": "2026-11-14T10:15:00Z",
"state": "Successful",
"amount": -25.5,
"type": "Payment",
"partitionType": "Base",
"balance": 1224.5,
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"transactionId": 9154290,
"entryId": 20418790,
"createdAt": "2026-11-12T16:42:00Z",
"settlementDate": "2026-11-12T16:42:00Z",
"state": "Successful",
"amount": 150,
"type": "CampaignBonus",
"partitionType": "Base",
"balance": 1250,
"metadata": {
"details": "Double bonus on fruit this week",
"memberId": "12396909"
}
}
],
"nextCursor": 20418655
}{
"name": "<string>",
"message": "<string>",
"details": null
}{
"name": "<string>",
"message": "<string>",
"details": null
}Authorizations
Path Parameters
Query Parameters
Response
A page of bookings, newest first. items is empty when the account has no bookings.
Last modified on November 16, 2026