Find which providers cover a bank
curl --request GET \
--url https://ledgersyncappv2.com/api/v2/institutions/provider-options \
--header 'Auth-Token: <auth-token>'import requests
url = "https://ledgersyncappv2.com/api/v2/institutions/provider-options"
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/institutions/provider-options', 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/institutions/provider-options",
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/institutions/provider-options"
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/institutions/provider-options")
.header("Auth-Token", "<auth-token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://ledgersyncappv2.com/api/v2/institutions/provider-options")
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,
"truncated": true,
"institutions": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"homeUrl": "<string>",
"imageUrl": "<string>",
"accountTypeDescription": "<string>",
"oauthEnabled": true,
"source": "DEFAULT",
"allowStatements": true,
"allowTransactions": true
}
]
}{
"totalItems": 123,
"truncated": true,
"institutions": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"homeUrl": "<string>",
"imageUrl": "<string>",
"accountTypeDescription": "<string>",
"oauthEnabled": true,
"source": "DEFAULT",
"allowStatements": true,
"allowTransactions": true
}
]
}institution-api
Find which providers cover a bank
Answers which provider should I connect this bank through - call this before /api/v2/account/add or /api/v2/account/add/lite.
name searches bank names as free text. Each entry is one bank at one provider, carrying the source and the id to pass together as source and institutionId on the add call, plus allowTransactions and allowStatements so the provider that delivers the data you need can be picked.
A bank reachable through two providers appears twice, once per source, and either may be used. An id is only valid for the source listed beside it.
Unlike /api/v2/institutions, which lists one provider’s catalog at a time, this covers every provider in a single call.
GET
/
api
/
v2
/
institutions
/
provider-options
Find which providers cover a bank
curl --request GET \
--url https://ledgersyncappv2.com/api/v2/institutions/provider-options \
--header 'Auth-Token: <auth-token>'import requests
url = "https://ledgersyncappv2.com/api/v2/institutions/provider-options"
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/institutions/provider-options', 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/institutions/provider-options",
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/institutions/provider-options"
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/institutions/provider-options")
.header("Auth-Token", "<auth-token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://ledgersyncappv2.com/api/v2/institutions/provider-options")
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,
"truncated": true,
"institutions": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"homeUrl": "<string>",
"imageUrl": "<string>",
"accountTypeDescription": "<string>",
"oauthEnabled": true,
"source": "DEFAULT",
"allowStatements": true,
"allowTransactions": true
}
]
}{
"totalItems": 123,
"truncated": true,
"institutions": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>",
"phone": "<string>",
"homeUrl": "<string>",
"imageUrl": "<string>",
"accountTypeDescription": "<string>",
"oauthEnabled": true,
"source": "DEFAULT",
"allowStatements": true,
"allowTransactions": true
}
]
}Response
Banks with the providers that cover them
