List accounts transactions for the given client
curl --request GET \
--url https://ledgersyncappv2.com/api/v2/transactions/list \
--header 'Auth-Token: <auth-token>'import requests
url = "https://ledgersyncappv2.com/api/v2/transactions/list"
headers = {"Auth-Token": "<auth-token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Auth-Token': '<auth-token>'}};
fetch('https://ledgersyncappv2.com/api/v2/transactions/list', 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://ledgersyncappv2.com/api/v2/transactions/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Auth-Token: <auth-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://ledgersyncappv2.com/api/v2/transactions/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Auth-Token", "<auth-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://ledgersyncappv2.com/api/v2/transactions/list")
.header("Auth-Token", "<auth-token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://ledgersyncappv2.com/api/v2/transactions/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Auth-Token"] = '<auth-token>'
response = http.request(request)
puts response.read_body{
"totalItems": 123,
"selectedPage": 123,
"transactions": [
{
"id": 123,
"transactionId": "FINICITY_119874",
"transactionHash": "<string>",
"postedDate": "2023-04-01T12:00:00",
"bankName": "<string>",
"bankAccount": "<string>",
"bankAccountId": "<string>",
"accountNumber": "<string>",
"accountId": 123,
"status": "<string>",
"transactionDate": "2023-04-01T12:00:00",
"description": "<string>",
"type": "<string>",
"amount": 123,
"normalizePayeeName": "<string>",
"categorization": "<string>",
"payee": "<string>",
"memo": "<string>",
"currencySymbol": "<string>",
"checkNum": "<string>",
"runningBalance": 123
}
]
}"<string>"transaction-api
List accounts transactions for the given client
Reads the transactions LedgerSync has stored, newest first, and never contacts the bank, so a broken connection still returns what was collected before it broke. Send source (the bank’s source from the account list) and accountId for each account. Parameters not listed here, such as id, are ignored.
GET
/
api
/
v2
/
transactions
/
list
List accounts transactions for the given client
curl --request GET \
--url https://ledgersyncappv2.com/api/v2/transactions/list \
--header 'Auth-Token: <auth-token>'import requests
url = "https://ledgersyncappv2.com/api/v2/transactions/list"
headers = {"Auth-Token": "<auth-token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'Auth-Token': '<auth-token>'}};
fetch('https://ledgersyncappv2.com/api/v2/transactions/list', 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://ledgersyncappv2.com/api/v2/transactions/list",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Auth-Token: <auth-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://ledgersyncappv2.com/api/v2/transactions/list"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Auth-Token", "<auth-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://ledgersyncappv2.com/api/v2/transactions/list")
.header("Auth-Token", "<auth-token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://ledgersyncappv2.com/api/v2/transactions/list")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Auth-Token"] = '<auth-token>'
response = http.request(request)
puts response.read_body{
"totalItems": 123,
"selectedPage": 123,
"transactions": [
{
"id": 123,
"transactionId": "FINICITY_119874",
"transactionHash": "<string>",
"postedDate": "2023-04-01T12:00:00",
"bankName": "<string>",
"bankAccount": "<string>",
"bankAccountId": "<string>",
"accountNumber": "<string>",
"accountId": 123,
"status": "<string>",
"transactionDate": "2023-04-01T12:00:00",
"description": "<string>",
"type": "<string>",
"amount": 123,
"normalizePayeeName": "<string>",
"categorization": "<string>",
"payee": "<string>",
"memo": "<string>",
"currencySymbol": "<string>",
"checkNum": "<string>",
"runningBalance": 123
}
]
}"<string>"