Retrieve an account
curl --request GET \
--url https://production.hifibridge.com/v2/users/{userId}/accounts/{accountId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}', 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://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}",
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://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}"
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://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}")
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{
"id": "d748da4f-aeb1-4a9d-af30-62ae7e82b897",
"createdAt": "2025-09-27T03:34:12.181Z",
"updatedAt": "2025-09-27T03:34:12.181Z",
"accountHolder": {
"type": "individual",
"name": "Henry Wu",
"address": {
"addressLine1": "Example St 1",
"addressLine2": "Apt 123",
"city": "New York",
"stateProvinceRegion": "NY",
"postalCode": "10010",
"country": "USA"
}
},
"us": {
"accountType": "Checking",
"accountNumber": "123456789",
"routingNumber": "021000021",
"iban": null,
"swiftCode": null,
"bankName": "Bank of NoWhere",
"bankCountry": "USA",
"bankAddress": {
"addressLine1": "Example St 1",
"addressLine2": "Apt 123",
"city": "New York",
"stateProvinceRegion": "NY",
"postalCode": "10010",
"country": "USA"
},
"currency": "usd"
},
"rail": {
"currency": "usd",
"railType": "offramp",
"paymentRail": "ach"
}
}{
"code": 123,
"error": "<string>",
"errorDetails": "<string>"
}{
"status": "error",
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"errorDetails": "<string>"
}Accounts
Retrieve an account
Get an existing onramp or offramp account detail.
GET
/
v2
/
users
/
{userId}
/
accounts
/
{accountId}
Retrieve an account
curl --request GET \
--url https://production.hifibridge.com/v2/users/{userId}/accounts/{accountId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}', 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://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}",
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://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}"
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://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://production.hifibridge.com/v2/users/{userId}/accounts/{accountId}")
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{
"id": "d748da4f-aeb1-4a9d-af30-62ae7e82b897",
"createdAt": "2025-09-27T03:34:12.181Z",
"updatedAt": "2025-09-27T03:34:12.181Z",
"accountHolder": {
"type": "individual",
"name": "Henry Wu",
"address": {
"addressLine1": "Example St 1",
"addressLine2": "Apt 123",
"city": "New York",
"stateProvinceRegion": "NY",
"postalCode": "10010",
"country": "USA"
}
},
"us": {
"accountType": "Checking",
"accountNumber": "123456789",
"routingNumber": "021000021",
"iban": null,
"swiftCode": null,
"bankName": "Bank of NoWhere",
"bankCountry": "USA",
"bankAddress": {
"addressLine1": "Example St 1",
"addressLine2": "Apt 123",
"city": "New York",
"stateProvinceRegion": "NY",
"postalCode": "10010",
"country": "USA"
},
"currency": "usd"
},
"rail": {
"currency": "usd",
"railType": "offramp",
"paymentRail": "ach"
}
}{
"code": 123,
"error": "<string>",
"errorDetails": "<string>"
}{
"status": "error",
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"code": 123,
"error": "<string>",
"errorDetails": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
⌘I