Get a Manually Added Bank Account's Details to Edit
curl --request GET \
--url https://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}', 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-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}",
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: Bearer <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://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <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://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status_code": 200,
"data": {
"payment_method_id": "e5f6a7b8-c9d0-1234-5678-9abcdef01234",
"user_id": "b3a9b622-cc63-4d3c-aad6-2d8e29e6f9d4",
"account_holder_name": "John Doe",
"bank_account_number": "1234567890",
"routing_number": "021000021",
"account_type": "checking",
"bank_name": "Example Bank"
},
"query_generated_time": 1712847600000
}{
"status_code": 409,
"data": {
"detail": "Only a bank account added with its account and routing numbers, and not yet verified, can be edited.",
"code": "bank_not_editable",
"error_code": 1127
},
"query_generated_time": 1750000000000
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Get a Manual Bank Account's Details to Edit
Get the current details of a bank account that was added with its routing and
account number, so they can be shown in an edit form and corrected with
PATCH /platform/bank/update/{bank_account_id}.
The account number comes back in full — these are the numbers you entered. It is decrypted only for this request; never log or cache it.
Refused with bank_not_editable for any bank the edit itself refuses (one
verified instantly, removed, or not a domestic bank added with its numbers).
GET
/
v1
/
platform
/
bank
/
update
/
{bank_account_id}
Get a Manually Added Bank Account's Details to Edit
curl --request GET \
--url https://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}', 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-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}",
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: Bearer <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://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <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://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-sandbox.finogates.com/v1/platform/bank/update/{bank_account_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"status_code": 200,
"data": {
"payment_method_id": "e5f6a7b8-c9d0-1234-5678-9abcdef01234",
"user_id": "b3a9b622-cc63-4d3c-aad6-2d8e29e6f9d4",
"account_holder_name": "John Doe",
"bank_account_number": "1234567890",
"routing_number": "021000021",
"account_type": "checking",
"bank_name": "Example Bank"
},
"query_generated_time": 1712847600000
}{
"status_code": 409,
"data": {
"detail": "Only a bank account added with its account and routing numbers, and not yet verified, can be edited.",
"code": "bank_not_editable",
"error_code": 1127
},
"query_generated_time": 1750000000000
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The unique ID of the manually added bank account to edit.
Example:
"e5f6a7b8-c9d0-1234-5678-9abcdef01234"
Response
The bank's current details, numbers in full.

