curl --request GET \
--url https://api-sb.meld.io/bank-linking/connections/{connectionId} \
--header 'Authorization: <api-key>'import requests
url = "https://api-sb.meld.io/bank-linking/connections/{connectionId}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api-sb.meld.io/bank-linking/connections/{connectionId}', 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-sb.meld.io/bank-linking/connections/{connectionId}",
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: <api-key>"
],
]);
$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-sb.meld.io/bank-linking/connections/{connectionId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
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-sb.meld.io/bank-linking/connections/{connectionId}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sb.meld.io/bank-linking/connections/{connectionId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"accountId": "<string>",
"activeDuplicateConnectionId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"duplicateConnectionIds": [
"<string>"
],
"externalCustomerId": "<string>",
"id": "<string>",
"institutionId": "<string>",
"institutionName": "<string>",
"key": "<string>",
"optionalProducts": [
"BALANCES"
],
"products": [
"BALANCES"
],
"regions": [
"<string>"
],
"serviceProviderDetails": {},
"status": "<string>",
"statusReason": "<string>",
"successfullyAggregatedAt": "2023-11-07T05:31:56Z"
}{
"code": "<string>",
"errors": [
"<string>"
],
"message": "<string>",
"requestId": "<string>",
"serviceProviderDetails": {},
"timestamp": "2023-11-07T05:31:56Z"
}Get an institution connection
Retrieve details of a specific institution connection.
curl --request GET \
--url https://api-sb.meld.io/bank-linking/connections/{connectionId} \
--header 'Authorization: <api-key>'import requests
url = "https://api-sb.meld.io/bank-linking/connections/{connectionId}"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api-sb.meld.io/bank-linking/connections/{connectionId}', 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-sb.meld.io/bank-linking/connections/{connectionId}",
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: <api-key>"
],
]);
$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-sb.meld.io/bank-linking/connections/{connectionId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<api-key>")
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-sb.meld.io/bank-linking/connections/{connectionId}")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sb.meld.io/bank-linking/connections/{connectionId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"accountId": "<string>",
"activeDuplicateConnectionId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"customerId": "<string>",
"duplicateConnectionIds": [
"<string>"
],
"externalCustomerId": "<string>",
"id": "<string>",
"institutionId": "<string>",
"institutionName": "<string>",
"key": "<string>",
"optionalProducts": [
"BALANCES"
],
"products": [
"BALANCES"
],
"regions": [
"<string>"
],
"serviceProviderDetails": {},
"status": "<string>",
"statusReason": "<string>",
"successfullyAggregatedAt": "2023-11-07T05:31:56Z"
}{
"code": "<string>",
"errors": [
"<string>"
],
"message": "<string>",
"requestId": "<string>",
"serviceProviderDetails": {},
"timestamp": "2023-11-07T05:31:56Z"
}Headers
Response
Connection is returned
If duplicate connections exist for this connection, then this specifies which of these duplicates is the actively maintained connection. If the connection has no duplicates, then this will be null. The primary duplicate connection defaults to whichever one was aggregated most recently, but can be manipulated by refreshing another duplicate (in which case that connection assumes the connection status of the active connection, and the previously active connection becomes an INACTIVE_DUPLICATE). Note that the active duplicate will not be guaranteed to have an actual connection status of ACTIVE (it may be RECONNECT_REQUIRED for example), this is just an indicator that it is the main duplicate that is routinely updated.
Duplicate connections occur when multiple Meld connections reference the same underlying service provider connection. This occurs when the same customer connects to the same bank account(s) through the same service provider in separate connect sessions using the same login credentials.
Note: Reference Duplicate Connections for more details.
Reason for the connection status. Applicable primarily for error statuses. Possible values can be found here
The last time the connection was successfully aggregated by the underlying service provider. This value will be null until the first aggregation is completed. For service providers that send webhooks only when changes are detected during daily aggregations, this value may become stale if the connection hasn't had new balances or transactions in a while. The service provider may still be successfully aggregating the connection daily, but because no changes are being detected (and thus no webhooks being sent to Meld), then this value may not reflect the true last aggregation time, but rather the last time that changes were detected by the service provider.