curl --request GET \
--url https://{host}/bonus/v1/accounts/{externalId}/statements \
--header 'Authorization: <api-key>'import requests
url = "https://{host}/bonus/v1/accounts/{externalId}/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/{externalId}/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/{externalId}/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/{externalId}/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/{externalId}/statements")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/bonus/v1/accounts/{externalId}/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,
"amount": 10,
"type": "Refund",
"typeDisplayName": "Refund",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-16T09:30:00Z",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000427",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154377,
"amount": 5.5,
"type": "Payment",
"typeDisplayName": "Returned from payment",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-14T10:21:00Z",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154377,
"amount": -25.5,
"type": "Payment",
"typeDisplayName": "Payment",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-14T10:15:00Z",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154290,
"amount": 150,
"type": "CampaignBonus",
"typeDisplayName": "Campaign bonus",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-12T16:42:00Z",
"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 account statements by external id
Your backend calls this to list what happened on an account it created with an externalId, newest first. Each
item is one booking on the account: bonus that was added, bonus that was taken out, or bonus reserved by a
transaction that is still waiting. A transaction that was captured in parts gives one item for each part.
A payment’s amount is multiplied by the conversion rate it was made at; other amounts are returned as they were
booked. 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.
For the statement of a customer’s account, with titles and store names for display, call
GET /v1/members/{memberId}/statements.
curl --request GET \
--url https://{host}/bonus/v1/accounts/{externalId}/statements \
--header 'Authorization: <api-key>'import requests
url = "https://{host}/bonus/v1/accounts/{externalId}/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/{externalId}/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/{externalId}/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/{externalId}/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/{externalId}/statements")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://{host}/bonus/v1/accounts/{externalId}/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,
"amount": 10,
"type": "Refund",
"typeDisplayName": "Refund",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-16T09:30:00Z",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000427",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154377,
"amount": 5.5,
"type": "Payment",
"typeDisplayName": "Returned from payment",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-14T10:21:00Z",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154377,
"amount": -25.5,
"type": "Payment",
"typeDisplayName": "Payment",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-14T10:15:00Z",
"metadata": {
"storeId": "475",
"receiptId": "475-0002-000381",
"memberId": "12396909",
"conversionRate": 1
}
},
{
"id": 9154290,
"amount": 150,
"type": "CampaignBonus",
"typeDisplayName": "Campaign bonus",
"state": "Successful",
"stateDisplayName": "Complete",
"createdAt": "2026-11-12T16:42:00Z",
"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 statements, newest first. items is empty when the account has no bookings.