Status of a statement upload
curl --request GET \
--url https://api.trycherry.ai/v1/bank-statements/{documentId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.trycherry.ai/v1/bank-statements/{documentId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.trycherry.ai/v1/bank-statements/{documentId}', 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.trycherry.ai/v1/bank-statements/{documentId}",
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.trycherry.ai/v1/bank-statements/{documentId}"
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.trycherry.ai/v1/bank-statements/{documentId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trycherry.ai/v1/bank-statements/{documentId}")
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{
"data": {
"documentId": "9f8e7d6c-5b4a-4321-8765-4321fedcba98",
"status": "ingested",
"statement": {
"id": "1a2b3c4d-5e6f-4a8b-9c0d-1e2f3a4b5c6d",
"documentId": "9f8e7d6c-5b4a-4321-8765-4321fedcba98",
"bankAccountId": "22222222-2222-2222-2222-222222222222",
"periodStart": "2026-07-01",
"periodEnd": "2026-07-31",
"currency": "MXN",
"openingBalance": 128450.3,
"closingBalance": 115359.75,
"transactionCount": 42,
"continuityOk": true,
"createdAt": "2026-08-05T14:02:11.000Z"
}
}
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}Bank statements
Status of a statement upload
Where an uploaded statement landed. processing — no outcome yet; ingested — the period is in the books (the statement object says what); rejected — the rejection.reason says why, e.g. did_not_reconcile (the transactions don’t roll the opening balance to the printed closing — re-upload a complete, legible copy), not_a_bank_statement, document_unreadable, or no_transactions.
GET
/
bank-statements
/
{documentId}
Status of a statement upload
curl --request GET \
--url https://api.trycherry.ai/v1/bank-statements/{documentId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.trycherry.ai/v1/bank-statements/{documentId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.trycherry.ai/v1/bank-statements/{documentId}', 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.trycherry.ai/v1/bank-statements/{documentId}",
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.trycherry.ai/v1/bank-statements/{documentId}"
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.trycherry.ai/v1/bank-statements/{documentId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.trycherry.ai/v1/bank-statements/{documentId}")
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{
"data": {
"documentId": "9f8e7d6c-5b4a-4321-8765-4321fedcba98",
"status": "ingested",
"statement": {
"id": "1a2b3c4d-5e6f-4a8b-9c0d-1e2f3a4b5c6d",
"documentId": "9f8e7d6c-5b4a-4321-8765-4321fedcba98",
"bankAccountId": "22222222-2222-2222-2222-222222222222",
"periodStart": "2026-07-01",
"periodEnd": "2026-07-31",
"currency": "MXN",
"openingBalance": 128450.3,
"closingBalance": 115359.75,
"transactionCount": 42,
"continuityOk": true,
"createdAt": "2026-08-05T14:02:11.000Z"
}
}
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}{
"error": "<string>",
"reason": "<string>"
}⌘I