Get Wallet Statement
curl --request GET \
--url https://dev-api.onecluster.co/api/v1/billing/statement \
--header 'Authorization: <api-key>'import requests
url = "https://dev-api.onecluster.co/api/v1/billing/statement"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://dev-api.onecluster.co/api/v1/billing/statement', 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://dev-api.onecluster.co/api/v1/billing/statement",
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://dev-api.onecluster.co/api/v1/billing/statement"
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://dev-api.onecluster.co/api/v1/billing/statement")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev-api.onecluster.co/api/v1/billing/statement")
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{
"success": true,
"responseCode": "00",
"message": "Request processed successfully",
"data": {
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"date": "2026-04-25T14:02:00+01:00",
"type": "Credit",
"description": "VA Funding - Ref: TRF-2026-001",
"endpoint": null,
"amount": 10000.00,
"balanceAfter": 10000.00
},
{
"id": "4fb96a75-6828-5673-c4gd-3d074g77bfb7",
"date": "2026-04-25T14:05:00+01:00",
"type": "Debit",
"description": "API Call Charged",
"endpoint": "GET /api/v1/accounts/0123456789",
"amount": -25.00,
"balanceAfter": 9975.00
}
],
"total": 156,
"page": 1,
"pageSize": 20
}
}
Billing Endpoints
Get Wallet Statement
Returns your paginated wallet statement, credits, holds, debits, and releases.
GET
/
api
/
v1
/
billing
/
statement
Get Wallet Statement
curl --request GET \
--url https://dev-api.onecluster.co/api/v1/billing/statement \
--header 'Authorization: <api-key>'import requests
url = "https://dev-api.onecluster.co/api/v1/billing/statement"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://dev-api.onecluster.co/api/v1/billing/statement', 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://dev-api.onecluster.co/api/v1/billing/statement",
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://dev-api.onecluster.co/api/v1/billing/statement"
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://dev-api.onecluster.co/api/v1/billing/statement")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev-api.onecluster.co/api/v1/billing/statement")
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{
"success": true,
"responseCode": "00",
"message": "Request processed successfully",
"data": {
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"date": "2026-04-25T14:02:00+01:00",
"type": "Credit",
"description": "VA Funding - Ref: TRF-2026-001",
"endpoint": null,
"amount": 10000.00,
"balanceAfter": 10000.00
},
{
"id": "4fb96a75-6828-5673-c4gd-3d074g77bfb7",
"date": "2026-04-25T14:05:00+01:00",
"type": "Debit",
"description": "API Call Charged",
"endpoint": "GET /api/v1/accounts/0123456789",
"amount": -25.00,
"balanceAfter": 9975.00
}
],
"total": 156,
"page": 1,
"pageSize": 20
}
}
Page number (starts at 1)
Items per page (max 100)
Filter start date (ISO 8601). Default: 30 days ago.
Filter end date (ISO 8601). Default: now.
Filter by transaction type:
Credit, Hold, Debit, Release. Omit for all types.{
"success": true,
"responseCode": "00",
"message": "Request processed successfully",
"data": {
"items": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"date": "2026-04-25T14:02:00+01:00",
"type": "Credit",
"description": "VA Funding - Ref: TRF-2026-001",
"endpoint": null,
"amount": 10000.00,
"balanceAfter": 10000.00
},
{
"id": "4fb96a75-6828-5673-c4gd-3d074g77bfb7",
"date": "2026-04-25T14:05:00+01:00",
"type": "Debit",
"description": "API Call Charged",
"endpoint": "GET /api/v1/accounts/0123456789",
"amount": -25.00,
"balanceAfter": 9975.00
}
],
"total": 156,
"page": 1,
"pageSize": 20
}
}
⌘I

