List Bank Accounts
Returns the bank accounts connected to the business that owns the API key, with the sync status of each account. You need a Standard plan or higher, and the call deducts no points. Connect accounts in the Bolta dashboard first.
Test keys return two fixed sample accounts regardless of your subscription. Bank account transactions guide
GET
/
v1
/
bankAccounts
List Bank Accounts
curl --request GET \
--url https://xapi.bolta.io/v1/bankAccounts \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://xapi.bolta.io/v1/bankAccounts"
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://xapi.bolta.io/v1/bankAccounts', 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://xapi.bolta.io/v1/bankAccounts",
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://xapi.bolta.io/v1/bankAccounts"
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://xapi.bolta.io/v1/bankAccounts")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xapi.bolta.io/v1/bankAccounts")
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{
"items": [
{
"id": "1",
"bankCode": "004",
"bankName": "국민은행",
"accountNumber": "123456-01-234567",
"name": "운영자금",
"currencyCode": "KRW",
"lastSyncedAt": null,
"syncStatus": "IDLE"
},
{
"id": "2",
"bankCode": "088",
"bankName": "신한은행",
"accountNumber": "110-123-456789",
"name": "매출입금",
"currencyCode": "KRW",
"lastSyncedAt": null,
"syncStatus": "IDLE"
}
]
}Authorizations
List Bank Accounts
curl --request GET \
--url https://xapi.bolta.io/v1/bankAccounts \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://xapi.bolta.io/v1/bankAccounts"
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://xapi.bolta.io/v1/bankAccounts', 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://xapi.bolta.io/v1/bankAccounts",
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://xapi.bolta.io/v1/bankAccounts"
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://xapi.bolta.io/v1/bankAccounts")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://xapi.bolta.io/v1/bankAccounts")
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{
"items": [
{
"id": "1",
"bankCode": "004",
"bankName": "국민은행",
"accountNumber": "123456-01-234567",
"name": "운영자금",
"currencyCode": "KRW",
"lastSyncedAt": null,
"syncStatus": "IDLE"
},
{
"id": "2",
"bankCode": "088",
"bankName": "신한은행",
"accountNumber": "110-123-456789",
"name": "매출입금",
"currencyCode": "KRW",
"lastSyncedAt": null,
"syncStatus": "IDLE"
}
]
}