Get Statement
curl --request GET \
--url https://api.fyatu.com/api/v3/account/statement \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3/account/statement"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fyatu.com/api/v3/account/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://api.fyatu.com/api/v3/account/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: Bearer <token>"
],
]);
$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://api.fyatu.com/api/v3/account/statement"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fyatu.com/api/v3/account/statement")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3/account/statement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"status": 200,
"message": "Statement retrieved successfully",
"data": {
"count": 5,
"entries": [
{
"transactionId": "DEP69FE561280613",
"type": "CREDIT",
"amount": 100,
"currency": "USD",
"description": "Admin: Deposit of 100 USD",
"balanceBefore": 4.93,
"balanceAfter": 104.93,
"createdAt": "2026-05-08T21:30:58Z"
},
{
"transactionId": "FYB69F984AA38EFB",
"type": "DEBIT",
"amount": 30,
"currency": "USD",
"description": "Card Issuance | Alice Example",
"balanceBefore": 104.93,
"balanceAfter": 74.93,
"createdAt": "2026-05-05T09:00:00Z"
},
{
"transactionId": "FYB69EE099B77FBB",
"type": "CREDIT",
"amount": 26,
"currency": "USD",
"description": "Transfer received from Bob Example | B0024891",
"balanceBefore": 48.93,
"balanceAfter": 74.93,
"createdAt": "2026-04-26T12:48:27Z"
},
{
"transactionId": "FYB69E67E1B227D5",
"type": "DEBIT",
"amount": 5.5,
"currency": "USD",
"description": "Card Funding - 515253******1234 (Alice Example)",
"balanceBefore": 54.43,
"balanceAfter": 48.93,
"createdAt": "2026-04-26T16:25:51Z"
},
{
"transactionId": "FYB696DED993A693",
"type": "DEBIT",
"amount": 2,
"currency": "USD",
"description": "Unloading from 515253******1234 (Alice Example)",
"balanceBefore": 56.43,
"balanceAfter": 54.43,
"createdAt": "2026-04-20T19:27:23Z"
}
]
},
"meta": {
"requestId": "req_7af4d2b8e91c35fa4b21890e",
"timestamp": "2026-05-08T21:55:06Z"
}
}{
"success": false,
"status": 401,
"message": "Unable to identify business",
"error": {
"code": "AUTH_TOKEN_INVALID"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-01-05T10:30:00+00:00"
}
}Account
Get Statement
Get the last 100 ledger entries for your business account with running balance snapshots. GET /account/statement.
GET
/
account
/
statement
Get Statement
curl --request GET \
--url https://api.fyatu.com/api/v3/account/statement \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.fyatu.com/api/v3/account/statement"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fyatu.com/api/v3/account/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://api.fyatu.com/api/v3/account/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: Bearer <token>"
],
]);
$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://api.fyatu.com/api/v3/account/statement"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fyatu.com/api/v3/account/statement")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fyatu.com/api/v3/account/statement")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"status": 200,
"message": "Statement retrieved successfully",
"data": {
"count": 5,
"entries": [
{
"transactionId": "DEP69FE561280613",
"type": "CREDIT",
"amount": 100,
"currency": "USD",
"description": "Admin: Deposit of 100 USD",
"balanceBefore": 4.93,
"balanceAfter": 104.93,
"createdAt": "2026-05-08T21:30:58Z"
},
{
"transactionId": "FYB69F984AA38EFB",
"type": "DEBIT",
"amount": 30,
"currency": "USD",
"description": "Card Issuance | Alice Example",
"balanceBefore": 104.93,
"balanceAfter": 74.93,
"createdAt": "2026-05-05T09:00:00Z"
},
{
"transactionId": "FYB69EE099B77FBB",
"type": "CREDIT",
"amount": 26,
"currency": "USD",
"description": "Transfer received from Bob Example | B0024891",
"balanceBefore": 48.93,
"balanceAfter": 74.93,
"createdAt": "2026-04-26T12:48:27Z"
},
{
"transactionId": "FYB69E67E1B227D5",
"type": "DEBIT",
"amount": 5.5,
"currency": "USD",
"description": "Card Funding - 515253******1234 (Alice Example)",
"balanceBefore": 54.43,
"balanceAfter": 48.93,
"createdAt": "2026-04-26T16:25:51Z"
},
{
"transactionId": "FYB696DED993A693",
"type": "DEBIT",
"amount": 2,
"currency": "USD",
"description": "Unloading from 515253******1234 (Alice Example)",
"balanceBefore": 56.43,
"balanceAfter": 54.43,
"createdAt": "2026-04-20T19:27:23Z"
}
]
},
"meta": {
"requestId": "req_7af4d2b8e91c35fa4b21890e",
"timestamp": "2026-05-08T21:55:06Z"
}
}{
"success": false,
"status": 401,
"message": "Unable to identify business",
"error": {
"code": "AUTH_TOKEN_INVALID"
},
"meta": {
"requestId": "req_abc123",
"timestamp": "2026-01-05T10:30:00+00:00"
}
}Overview
Retrieve the last 100 ledger entries for your business account. Each entry includes the account balance before and after the operation, derived from the immutable double-entry ledger. This endpoint is designed for accounting and reconciliation use cases where you need to verify the exact balance impact of each operation.For a standard transaction list (category, fee, status, reference), use
GET /account/transactions instead. The statement endpoint focuses on balance movements and does not include fee or status details.Response Fields
| Field | Type | Description |
|---|---|---|
entries | array | Array of up to 100 ledger entries, newest first |
count | number | Number of entries returned |
Entry Fields
| Field | Type | Description |
|---|---|---|
transactionId | string | Transaction batch ID (matches transactionId in /account/transactions) |
type | string | CREDIT or DEBIT |
amount | number | Amount in USD |
currency | string | Always USD |
description | string | Ledger description of the operation |
balanceBefore | number | Account balance before this entry (USD) |
balanceAfter | number | Account balance after this entry (USD) |
createdAt | string | ISO 8601 timestamp |
Example Usage
const response = await fetch('https://api.fyatu.com/api/v3/account/statement', {
headers: {
'Authorization': `Bearer ${accessToken}`
}
});
const { data } = await response.json();
console.log(`Statement entries: ${data.count}`);
data.entries.forEach(entry => {
console.log(`${entry.type}: $${entry.amount} — ${entry.description}`);
console.log(` Balance: $${entry.balanceBefore} → $${entry.balanceAfter}`);
});
Use Cases
- Reconciliation: Verify the exact balance before and after each operation
- Audit trail: Confirm that every debit and credit is accounted for
- Balance verification: Cross-check your current balance against the last ledger entry’s
balanceAfter
⌘I

