Get Institutions
curl --request GET \
--url https://api.yapily.com/institutions \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.yapily.com/institutions"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.yapily.com/institutions', 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.yapily.com/institutions",
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: Basic <encoded-value>"
],
]);
$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.yapily.com/institutions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.yapily.com/institutions")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.yapily.com/institutions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"meta": {
"tracingId": "1304b771e4e34f67b39977bde6b1a8e2",
"count": 1
},
"data": [
{
"id": "modelo-sandbox",
"name": "Modelo Sandbox",
"fullName": "Modelo Sandbox",
"countries": [
{
"displayName": "Italy",
"countryCode2": "IT",
"bic": "MODEIT21XXX"
},
{
"displayName": "United Kingdom",
"countryCode2": "GB",
"bic": "MODEGB21XXX"
}
],
"environmentType": "SANDBOX",
"credentialsType": "OPEN_BANKING_UK_AUTO",
"media": [
{
"source": "https://images.yapily.com/image/ce2bfdbf-1ae2-4919-ab7b-e8b3d5e93b36?size=0",
"type": "icon"
},
{
"source": "https://images.yapily.com/image/ca502f24-d6df-4785-b4b8-1034b100af77?size=0",
"type": "logo"
}
],
"features": [
"ACCOUNT_BALANCES",
"INITIATE_BULK_PAYMENT",
"ACCOUNT_BENEFICIARIES",
"ACCOUNT_SCHEDULED_PAYMENTS",
"EXISTING_PAYMENTS_DETAILS",
"ACCOUNT_TRANSACTIONS",
"ACCOUNT_STATEMENTS",
"INITIATE_DOMESTIC_PERIODIC_PAYMENT",
"INITIATE_ACCOUNT_REQUEST",
"IDENTITY",
"ACCOUNT_PERIODIC_PAYMENTS",
"ACCOUNT_REQUEST_DETAILS",
"ACCOUNT_TRANSACTIONS_WITH_MERCHANT",
"INITIATE_SINGLE_PAYMENT_SORTCODE",
"INITIATE_DOMESTIC_SINGLE_PAYMENT",
"INITIATE_DOMESTIC_SCHEDULED_PAYMENT",
"ACCOUNT_STATEMENT",
"CREATE_DOMESTIC_SINGLE_PAYMENT",
"ACCOUNT_STATEMENT_FILE",
"CREATE_DOMESTIC_PERIODIC_PAYMENT",
"CREATE_DOMESTIC_SCHEDULED_PAYMENT",
"EXISTING_PAYMENT_INITIATION_DETAILS",
"INITIATE_INTERNATIONAL_SINGLE_PAYMENT",
"CREATE_SINGLE_PAYMENT_SORTCODE",
"CREATE_BULK_PAYMENT",
"CREATE_INTERNATIONAL_SINGLE_PAYMENT",
"ACCOUNT",
"PERIODIC_PAYMENT_FREQUENCY_EXTENDED",
"ACCOUNT_DIRECT_DEBITS",
"ACCOUNTS"
]
}
]
}{
"error": {
"code": 401,
"status": "UNAUTHORIZED",
"message": "Full authentication is required to access this resource"
}
}Institutions
Get Institutions
Used to retrieve all Institutions within an application
Get Institutions
curl --request GET \
--url https://api.yapily.com/institutions \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://api.yapily.com/institutions"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://api.yapily.com/institutions', 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.yapily.com/institutions",
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: Basic <encoded-value>"
],
]);
$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.yapily.com/institutions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
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.yapily.com/institutions")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.yapily.com/institutions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"meta": {
"tracingId": "1304b771e4e34f67b39977bde6b1a8e2",
"count": 1
},
"data": [
{
"id": "modelo-sandbox",
"name": "Modelo Sandbox",
"fullName": "Modelo Sandbox",
"countries": [
{
"displayName": "Italy",
"countryCode2": "IT",
"bic": "MODEIT21XXX"
},
{
"displayName": "United Kingdom",
"countryCode2": "GB",
"bic": "MODEGB21XXX"
}
],
"environmentType": "SANDBOX",
"credentialsType": "OPEN_BANKING_UK_AUTO",
"media": [
{
"source": "https://images.yapily.com/image/ce2bfdbf-1ae2-4919-ab7b-e8b3d5e93b36?size=0",
"type": "icon"
},
{
"source": "https://images.yapily.com/image/ca502f24-d6df-4785-b4b8-1034b100af77?size=0",
"type": "logo"
}
],
"features": [
"ACCOUNT_BALANCES",
"INITIATE_BULK_PAYMENT",
"ACCOUNT_BENEFICIARIES",
"ACCOUNT_SCHEDULED_PAYMENTS",
"EXISTING_PAYMENTS_DETAILS",
"ACCOUNT_TRANSACTIONS",
"ACCOUNT_STATEMENTS",
"INITIATE_DOMESTIC_PERIODIC_PAYMENT",
"INITIATE_ACCOUNT_REQUEST",
"IDENTITY",
"ACCOUNT_PERIODIC_PAYMENTS",
"ACCOUNT_REQUEST_DETAILS",
"ACCOUNT_TRANSACTIONS_WITH_MERCHANT",
"INITIATE_SINGLE_PAYMENT_SORTCODE",
"INITIATE_DOMESTIC_SINGLE_PAYMENT",
"INITIATE_DOMESTIC_SCHEDULED_PAYMENT",
"ACCOUNT_STATEMENT",
"CREATE_DOMESTIC_SINGLE_PAYMENT",
"ACCOUNT_STATEMENT_FILE",
"CREATE_DOMESTIC_PERIODIC_PAYMENT",
"CREATE_DOMESTIC_SCHEDULED_PAYMENT",
"EXISTING_PAYMENT_INITIATION_DETAILS",
"INITIATE_INTERNATIONAL_SINGLE_PAYMENT",
"CREATE_SINGLE_PAYMENT_SORTCODE",
"CREATE_BULK_PAYMENT",
"CREATE_INTERNATIONAL_SINGLE_PAYMENT",
"ACCOUNT",
"PERIODIC_PAYMENT_FREQUENCY_EXTENDED",
"ACCOUNT_DIRECT_DEBITS",
"ACCOUNTS"
]
}
]
}{
"error": {
"code": 401,
"status": "UNAUTHORIZED",
"message": "Full authentication is required to access this resource"
}
}Authorizations
Use HTTP Basic Authentication with your Application ID as username and Application Secret as password. Manage credentials in the Yapily Console. See Authentication for details.
Was this page helpful?
⌘I