curl --globoff --request GET \
--url 'https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}' \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}', 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.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}",
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.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}"
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.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}")
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,
"data": {
"reportId": "9f1c2f26-1f4e-4d6f-9a2e-0c3b7a51e8d4",
"type": "statements",
"status": "GENERATING",
"createdAt": "2026-10-20T09:14:02.113Z",
"available": false
}
}Get a queued statement
Reports how a queued statement is getting on, and hands back the download link once it is ready. Poll this after POST .../statements.
status is QUEUED, GENERATING, COMPLETE or FAILED. Keep polling while it is one of the first two. On COMPLETE, check available: when it is true, the response also carries url — a short-lived link to the finished .pdf or .csv — and expiresInSeconds. Fetch it promptly, and treat the link as a credential, since it grants access to the statement on its own.
On FAILED, error explains the current failure in wording you can show a customer. Known request failures — for example an empty CSV period or a size limit — require the request to change. When error is exactly Report generation failed. Please try again, or narrow the date range / filters., the service can retry the same job automatically. The service makes at most three generation attempts in total, and later attempts can take about 16 minutes to start. Retain the reportId and continue polling it rather than queueing a duplicate. Apply a client-side deadline to both this generic FAILED state and GENERATING; for example, stop after one hour and ask the customer to retry or narrow the period.
A period with no transactions is a FAILED outcome for CSV. PDF also fails when crypto is enabled for the programme; otherwise it completes with a statement that shows no activity.
You can only read a statement you queued yourself. An unknown reportId, one queued by someone else, or metadata that has expired and been removed answers 404. The metadata uses best-effort expiration, so 24 hours is the intended availability window, not an exact read-time cutoff.
curl --globoff --request GET \
--url 'https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}' \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}', 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.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}",
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.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}"
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.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.next.orenda.finance/v1/customers/{customerId}/accounts/{accountId}/statements/{reportId}")
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,
"data": {
"reportId": "9f1c2f26-1f4e-4d6f-9a2e-0c3b7a51e8d4",
"type": "statements",
"status": "GENERATING",
"createdAt": "2026-10-20T09:14:02.113Z",
"available": false
}
}