Get account by ID
curl --request GET \
--url https://api.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}import requests
url = "https://api.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.pgw-sandbox.finventi.com/account-service/v2/accounts/{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.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}"
req, _ := http.NewRequest("GET", url, nil)
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.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": 1,
"clientAccountId": "acc_001",
"iban": "LT121000011111111111",
"accountType": "PRIVATE",
"accountHolderName": "Jane Doe",
"status": "OPEN",
"createdAt": "2025-09-10T13:43:40.758Z",
"updatedAt": "2025-09-10T13:55:40.758Z",
"ibanMetadata": {
"countryCode": "LT",
"bankCode": "70440",
"accountCode": "1869"
},
"accountHolderNameAliases": [
"HGRP"
],
"organisationIdentification": {
"lei": "3423455234Y45D34",
"bic": "DEUTDEFFXXX",
"other": {
"identification": "123-AS-323",
"schemeNameCode": "BANK",
"schemeNameProprietary": "LocalRegistry",
"issuer": "ChamberOfCommerce"
}
}
}{
"code": "<string>",
"message": "<string>",
"data": {
"errors": [
{
"field_name": "<string>",
"value": "<string>",
"code": "<string>",
"message": "<string>"
}
],
"message": "<string>"
}
}{
"code": "<string>",
"message": "<string>",
"data": {
"errors": [
{
"field_name": "<string>",
"value": "<string>",
"code": "<string>",
"message": "<string>"
}
],
"message": "<string>"
}
}Account Management
Get account details
Retrieves account information including IBAN, holder details, and current status.
GET
/
account-service
/
v2
/
accounts
/
{id}
Get account by ID
curl --request GET \
--url https://api.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}import requests
url = "https://api.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.pgw-sandbox.finventi.com/account-service/v2/accounts/{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.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$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.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}"
req, _ := http.NewRequest("GET", url, nil)
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.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.pgw-sandbox.finventi.com/account-service/v2/accounts/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"id": 1,
"clientAccountId": "acc_001",
"iban": "LT121000011111111111",
"accountType": "PRIVATE",
"accountHolderName": "Jane Doe",
"status": "OPEN",
"createdAt": "2025-09-10T13:43:40.758Z",
"updatedAt": "2025-09-10T13:55:40.758Z",
"ibanMetadata": {
"countryCode": "LT",
"bankCode": "70440",
"accountCode": "1869"
},
"accountHolderNameAliases": [
"HGRP"
],
"organisationIdentification": {
"lei": "3423455234Y45D34",
"bic": "DEUTDEFFXXX",
"other": {
"identification": "123-AS-323",
"schemeNameCode": "BANK",
"schemeNameProprietary": "LocalRegistry",
"issuer": "ChamberOfCommerce"
}
}
}{
"code": "<string>",
"message": "<string>",
"data": {
"errors": [
{
"field_name": "<string>",
"value": "<string>",
"code": "<string>",
"message": "<string>"
}
],
"message": "<string>"
}
}{
"code": "<string>",
"message": "<string>",
"data": {
"errors": [
{
"field_name": "<string>",
"value": "<string>",
"code": "<string>",
"message": "<string>"
}
],
"message": "<string>"
}
}Overview
Retrieves detailed information for a specific account using its unique ID. The response includes all account metadata, holder information, and current status.Path Parameters
ID
Response
Account found
Account information response
Internal account identifier
Example:
1
Client's internal account ID
Example:
"acc_001"
International Bank Account Number
Example:
"LT121000011111111111"
Type of account
Available options:
PRIVATE, LEGAL Example:
"PRIVATE"
Name of the account holder
Example:
"Jane Doe"
Account status
Available options:
OPEN, CLOSED Example:
"OPEN"
Account creation timestamp
Example:
"2025-09-10T13:43:40.758Z"
Last update timestamp
Example:
"2025-09-10T13:55:40.758Z"
International Bank Account Generation Metadata
Show child attributes
Show child attributes
Optional alternative names or identifiers to improve matching (e.g., acronyms, short forms like "IBM" for "International Business Machines")
Example:
["HGRP"]
Organisation identification details (for LEGAL accounts)
Show child attributes
Show child attributes
Last modified on September 26, 2025