List Virtual Accounts
curl --request GET \
--url https://api.hopnow.io/ads/v1/accounts/{id}/virtual-accounts \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hopnow.io/ads/v1/accounts/{id}/virtual-accounts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.hopnow.io/ads/v1/accounts/{id}/virtual-accounts', 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.hopnow.io/ads/v1/accounts/{id}/virtual-accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.hopnow.io/ads/v1/accounts/{id}/virtual-accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.hopnow.io/ads/v1/accounts/{id}/virtual-accounts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hopnow.io/ads/v1/accounts/{id}/virtual-accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "va_7yq2m9p4q1w8e5r3t6y0u2i4",
"object": "virtual_account",
"account_id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"currency": "EUR",
"status": "active",
"beneficiary_name": "Acme GmbH",
"bank_name": "Partner Bank",
"account_number": "DE89370400440532013000",
"iban": "DE89370400440532013000",
"swift_bic": "PBNKDEFF",
"routing_number": null,
"sort_code": null,
"supported_rails": ["sepa", "swift"],
"balance": "12500.00",
"pending_deposit": "300.00",
"held_for_payment": "1200.00",
"total_balance": "14000.00",
"created": "2026-05-01T10:05:00Z",
"updated": null
},
{
"id": "va_8rt5m9p4q1w8e5r3t6y0u2i4",
"object": "virtual_account",
"account_id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"currency": "USD",
"status": "pending",
"beneficiary_name": "Acme GmbH",
"bank_name": null,
"account_number": null,
"iban": null,
"swift_bic": null,
"routing_number": null,
"sort_code": null,
"supported_rails": [],
"balance": "0.00",
"pending_deposit": "0.00",
"held_for_payment": "0.00",
"total_balance": "0.00",
"created": "2026-05-02T09:00:00Z",
"updated": null
}
],
"page": 1,
"size": 10,
"total": 2,
"pages": 1
}
Virtual Accounts
List Virtual Accounts
List all virtual accounts created for an account, across currencies
GET
/
ads
/
v1
/
accounts
/
{id}
/
virtual-accounts
List Virtual Accounts
curl --request GET \
--url https://api.hopnow.io/ads/v1/accounts/{id}/virtual-accounts \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hopnow.io/ads/v1/accounts/{id}/virtual-accounts"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.hopnow.io/ads/v1/accounts/{id}/virtual-accounts', 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.hopnow.io/ads/v1/accounts/{id}/virtual-accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.hopnow.io/ads/v1/accounts/{id}/virtual-accounts"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.hopnow.io/ads/v1/accounts/{id}/virtual-accounts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hopnow.io/ads/v1/accounts/{id}/virtual-accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"items": [
{
"id": "va_7yq2m9p4q1w8e5r3t6y0u2i4",
"object": "virtual_account",
"account_id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"currency": "EUR",
"status": "active",
"beneficiary_name": "Acme GmbH",
"bank_name": "Partner Bank",
"account_number": "DE89370400440532013000",
"iban": "DE89370400440532013000",
"swift_bic": "PBNKDEFF",
"routing_number": null,
"sort_code": null,
"supported_rails": ["sepa", "swift"],
"balance": "12500.00",
"pending_deposit": "300.00",
"held_for_payment": "1200.00",
"total_balance": "14000.00",
"created": "2026-05-01T10:05:00Z",
"updated": null
},
{
"id": "va_8rt5m9p4q1w8e5r3t6y0u2i4",
"object": "virtual_account",
"account_id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"currency": "USD",
"status": "pending",
"beneficiary_name": "Acme GmbH",
"bank_name": null,
"account_number": null,
"iban": null,
"swift_bic": null,
"routing_number": null,
"sort_code": null,
"supported_rails": [],
"balance": "0.00",
"pending_deposit": "0.00",
"held_for_payment": "0.00",
"total_balance": "0.00",
"created": "2026-05-02T09:00:00Z",
"updated": null
}
],
"page": 1,
"size": 10,
"total": 2,
"pages": 1
}
Lists all virtual accounts created for an account, across currencies, including
pending virtual accounts whose bank details are not ready yet. No request body.
Path Parameters
string
required
Account id (
acct_…).Response
A paginated list of virtual-account objects (see Get Virtual Account for the field reference).array
Virtual-account objects in the current page.
integer
Current page number.
integer
Items per page.
integer
Total items across all pages.
integer
Total number of pages.
{
"items": [
{
"id": "va_7yq2m9p4q1w8e5r3t6y0u2i4",
"object": "virtual_account",
"account_id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"currency": "EUR",
"status": "active",
"beneficiary_name": "Acme GmbH",
"bank_name": "Partner Bank",
"account_number": "DE89370400440532013000",
"iban": "DE89370400440532013000",
"swift_bic": "PBNKDEFF",
"routing_number": null,
"sort_code": null,
"supported_rails": ["sepa", "swift"],
"balance": "12500.00",
"pending_deposit": "300.00",
"held_for_payment": "1200.00",
"total_balance": "14000.00",
"created": "2026-05-01T10:05:00Z",
"updated": null
},
{
"id": "va_8rt5m9p4q1w8e5r3t6y0u2i4",
"object": "virtual_account",
"account_id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"currency": "USD",
"status": "pending",
"beneficiary_name": "Acme GmbH",
"bank_name": null,
"account_number": null,
"iban": null,
"swift_bic": null,
"routing_number": null,
"sort_code": null,
"supported_rails": [],
"balance": "0.00",
"pending_deposit": "0.00",
"held_for_payment": "0.00",
"total_balance": "0.00",
"created": "2026-05-02T09:00:00Z",
"updated": null
}
],
"page": 1,
"size": 10,
"total": 2,
"pages": 1
}
⌘I