Search financial accounts
curl --request GET \
--url https://api-sb.meld.io/bank-linking/accounts \
--header 'Authorization: <api-key>'import requests
url = "https://api-sb.meld.io/bank-linking/accounts"
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/accounts', 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/accounts",
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/accounts"
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/accounts")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sb.meld.io/bank-linking/accounts")
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{
"count": 123,
"financialAccounts": [
{
"accountId": "<string>",
"balances": {
"availableAmount": 123,
"currency": "<string>",
"currentAmount": 123,
"updatedAt": "2023-11-07T05:31:56Z"
},
"connectionIds": [
"<string>"
],
"customerId": "<string>",
"externalCustomerId": "<string>",
"historicalAggregationSucceeded": true,
"id": "<string>",
"identifiers": {
"ach": {
"accountNumber": "<string>",
"routingNumber": "<string>"
},
"bacs": {
"accountNumber": "<string>",
"sortCode": "<string>"
},
"eft": {
"accountNumber": "<string>",
"institutionNumber": "<string>",
"branchNumber": "<string>"
},
"international": {
"accountName": "<string>",
"accountNumber": "<string>",
"bban": "<string>",
"bic": "<string>",
"iban": "<string>",
"sortCode": "<string>"
}
},
"institutionId": "<string>",
"institutionName": "<string>",
"key": "<string>",
"name": "<string>",
"owners": [
{
"addresses": [
{
"data": {
"city": "<string>",
"country": "<string>",
"full": "<string>",
"postalCode": "<string>",
"region": "<string>",
"street": "<string>"
},
"primary": "UNKNOWN"
}
],
"emails": [
{
"data": "<string>",
"primary": "UNKNOWN"
}
],
"names": [
"<string>"
],
"phoneNumbers": [
{
"data": "<string>",
"primary": "UNKNOWN"
}
]
}
],
"serviceProviderDetails": [
{}
],
"status": "ACTIVE",
"subtype": "OTHER",
"truncatedAccountNumber": "<string>",
"type": "CREDIT"
}
],
"remaining": 123
}Accounts
Search financial accounts
Use this endpoint to filter financial accounts by various parameters.
GET
/
bank-linking
/
accounts
Search financial accounts
curl --request GET \
--url https://api-sb.meld.io/bank-linking/accounts \
--header 'Authorization: <api-key>'import requests
url = "https://api-sb.meld.io/bank-linking/accounts"
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/accounts', 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/accounts",
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/accounts"
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/accounts")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sb.meld.io/bank-linking/accounts")
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{
"count": 123,
"financialAccounts": [
{
"accountId": "<string>",
"balances": {
"availableAmount": 123,
"currency": "<string>",
"currentAmount": 123,
"updatedAt": "2023-11-07T05:31:56Z"
},
"connectionIds": [
"<string>"
],
"customerId": "<string>",
"externalCustomerId": "<string>",
"historicalAggregationSucceeded": true,
"id": "<string>",
"identifiers": {
"ach": {
"accountNumber": "<string>",
"routingNumber": "<string>"
},
"bacs": {
"accountNumber": "<string>",
"sortCode": "<string>"
},
"eft": {
"accountNumber": "<string>",
"institutionNumber": "<string>",
"branchNumber": "<string>"
},
"international": {
"accountName": "<string>",
"accountNumber": "<string>",
"bban": "<string>",
"bic": "<string>",
"iban": "<string>",
"sortCode": "<string>"
}
},
"institutionId": "<string>",
"institutionName": "<string>",
"key": "<string>",
"name": "<string>",
"owners": [
{
"addresses": [
{
"data": {
"city": "<string>",
"country": "<string>",
"full": "<string>",
"postalCode": "<string>",
"region": "<string>",
"street": "<string>"
},
"primary": "UNKNOWN"
}
],
"emails": [
{
"data": "<string>",
"primary": "UNKNOWN"
}
],
"names": [
"<string>"
],
"phoneNumbers": [
{
"data": "<string>",
"primary": "UNKNOWN"
}
]
}
],
"serviceProviderDetails": [
{}
],
"status": "ACTIVE",
"subtype": "OTHER",
"truncatedAccountNumber": "<string>",
"type": "CREDIT"
}
],
"remaining": 123
}Headers
Query Parameters
Unique key corresponding to a financial account's position in the paginated list of results -- used to indicate that only financial accounts residing before this key will be retrieved.
Each financial account carries a unique key. Reference Pagination
The before and after fields cannot be used in the same request.
Unique key corresponding to a financial account's position in the paginated list of results -- used to indicate that only financial accounts residing after this key will be retrieved.
Each financial account carries a unique key. Reference Pagination
The before and after fields cannot be used in the same request.