Get account statements
curl --request GET \
--url https://api.example.com/v1/account-statementsimport requests
url = "https://api.example.com/v1/account-statements"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/account-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://api.example.com/v1/account-statements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/v1/account-statements"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/v1/account-statements")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/account-statements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"createdAt": "2024-01-15T10:30:00.542Z",
"transactionId": "019bdb2a-960f-789d-8955-21720e6cdef0",
"amount": 1000,
"currency": "EUR",
"direction": "DEBIT",
"details": "Payment for invoice #12345",
"paymentId": "019bdb2a-960f-789d-8955-21720e6cdeed",
"creditor": {
"name": "<string>",
"iban": "<string>",
"agent": "<string>"
},
"debtor": {
"name": "<string>",
"iban": "<string>",
"agent": "<string>"
}
}
],
"page": 0,
"size": 100,
"totalPages": 5
}{
"status": 400,
"title": "<string>",
"instance": "<string>",
"violations": [
{
"field": "<string>",
"in": "query",
"message": "<string>"
}
]
}{
"status": 500,
"title": "<string>",
"instance": "<string>",
"detail": "<string>"
}Account Statements
Get account statements
Returns a paginated list of account statement entries for the specified account.
GET
/
v1
/
account-statements
Get account statements
curl --request GET \
--url https://api.example.com/v1/account-statementsimport requests
url = "https://api.example.com/v1/account-statements"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/account-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://api.example.com/v1/account-statements",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.example.com/v1/account-statements"
req, _ := http.NewRequest("GET", url, nil)
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.example.com/v1/account-statements")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/account-statements")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"data": [
{
"createdAt": "2024-01-15T10:30:00.542Z",
"transactionId": "019bdb2a-960f-789d-8955-21720e6cdef0",
"amount": 1000,
"currency": "EUR",
"direction": "DEBIT",
"details": "Payment for invoice #12345",
"paymentId": "019bdb2a-960f-789d-8955-21720e6cdeed",
"creditor": {
"name": "<string>",
"iban": "<string>",
"agent": "<string>"
},
"debtor": {
"name": "<string>",
"iban": "<string>",
"agent": "<string>"
}
}
],
"page": 0,
"size": 100,
"totalPages": 5
}{
"status": 400,
"title": "<string>",
"instance": "<string>",
"violations": [
{
"field": "<string>",
"in": "query",
"message": "<string>"
}
]
}{
"status": 500,
"title": "<string>",
"instance": "<string>",
"detail": "<string>"
}Query Parameters
Account ID Account ID to retrieve statement for
Pattern:
[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}Account IBAN Account IBAN to retrieve statement for
Page number (0-based)
Required range:
x >= 0Example:
0
Number of items per page (max 100)
Required range:
1 <= x <= 100Example:
20
Field name to sort by
Example:
"createdAt"
Sort direction
Response
Paginated list of account statement entries
Last modified on April 9, 2026