curl --request GET \
--url https://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets \
--header 'Authorization: Bearer <token>'import requests
url = "https://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets', 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://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets",
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://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets"
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://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets")
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{
"cash_flow_targets": [
{
"scenario_id": "019259fb-8731-767a-b8fd-9206aa052e3d",
"category_id": "3786f44c-a2e1-472e-870d-4cdb152b33fa",
"year": 2025,
"month": 6,
"amount": {
"value": "5000.00",
"currency": "EUR"
}
}
],
"meta": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 1,
"per_page": 25
}
}List cash flow targets
OAuth scope: cash_flow_category.read
Retrieves targets matching the supplied filters, ordered by (year, month, category_id).
When from_year/from_month and to_year/to_month are all omitted, the period defaults to the current month through the same month next year. Supplying only one side of the range leaves the other side unbounded.
curl --request GET \
--url https://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets \
--header 'Authorization: Bearer <token>'import requests
url = "https://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets', 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://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets",
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://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets"
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://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://thirdparty.qonto.com/v1/thirdparty/cash_flow_targets")
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{
"cash_flow_targets": [
{
"scenario_id": "019259fb-8731-767a-b8fd-9206aa052e3d",
"category_id": "3786f44c-a2e1-472e-870d-4cdb152b33fa",
"year": 2025,
"month": 6,
"amount": {
"value": "5000.00",
"currency": "EUR"
}
}
],
"meta": {
"current_page": 1,
"next_page": null,
"prev_page": null,
"total_pages": 1,
"total_count": 1,
"per_page": 25
}
}Authorizations
Bearer authorization header: Bearer <token>, where <token> is the access token received from the authorization server at the end of the OAuth 2.0 flow.
Headers
Required only for Sandbox API requests; to get one, please sign up to the Developer Portal.
Query Parameters
Scenario ID filter. Defaults to the organization's main scenario when omitted.
"019259fb-8731-767a-b8fd-9206aa052e3d"
Category ID filter. When omitted, targets for all categories are returned.
"3786f44c-a2e1-472e-870d-4cdb152b33fa"
Start year of the period range (inclusive). When omitted along with from_month, to_year, and to_month, defaults to the current year.
2025
Start month of the period range (inclusive, 1-12). When omitted along with from_year, to_year, and to_month, defaults to the current month.
1
End year of the period range (inclusive). When omitted along with to_month, from_year, and from_month, defaults to the same month next year.
2025
End month of the period range (inclusive, 1-12). When omitted along with to_year, from_year, and from_month, defaults to the same month next year.
12
Returned page (cf. Pagination).
Number of targets per page. Default 25, max 1000 (cf. Pagination).
Was this page helpful?