List Accounts
curl --request GET \
--url https://api.hopnow.io/ads/v1/customers/{customer_id}/accounts \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hopnow.io/ads/v1/customers/{customer_id}/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/customers/{customer_id}/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/customers/{customer_id}/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/customers/{customer_id}/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/customers/{customer_id}/accounts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hopnow.io/ads/v1/customers/{customer_id}/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": [
{
"object": "account",
"id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"customer_id": "cus_x7k2m9p4q1w8e5r3t6y0u2i4",
"type": "business",
"kyc_status": "under_review",
"display_name": "Acme GmbH",
"contact_email": "ops@acme.example",
"country_code": "DE",
"rejection_reasons": null,
"created": "2026-05-01T10:00:00Z",
"updated": "2026-05-02T08:30:00Z",
"created_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4",
"updated_by": null
}
],
"page": 1,
"size": 10,
"total": 1,
"pages": 1
}
Accounts
List Accounts
List the accounts the Platform customer has onboarded
GET
/
ads
/
v1
/
customers
/
{customer_id}
/
accounts
List Accounts
curl --request GET \
--url https://api.hopnow.io/ads/v1/customers/{customer_id}/accounts \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.hopnow.io/ads/v1/customers/{customer_id}/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/customers/{customer_id}/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/customers/{customer_id}/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/customers/{customer_id}/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/customers/{customer_id}/accounts")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.hopnow.io/ads/v1/customers/{customer_id}/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": [
{
"object": "account",
"id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"customer_id": "cus_x7k2m9p4q1w8e5r3t6y0u2i4",
"type": "business",
"kyc_status": "under_review",
"display_name": "Acme GmbH",
"contact_email": "ops@acme.example",
"country_code": "DE",
"rejection_reasons": null,
"created": "2026-05-01T10:00:00Z",
"updated": "2026-05-02T08:30:00Z",
"created_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4",
"updated_by": null
}
],
"page": 1,
"size": 10,
"total": 1,
"pages": 1
}
Returns a paginated list of accounts the Platform customer has onboarded.
Path Parameters
string
required
Platform customer id.
Query Parameters
integer
default:"1"
Page number. Default 1; must be ≥ 1.
integer
default:"10"
Items per page. Default 10; range 1–100.
string[] | null
Filter by account status (e.g.
active, suspended).datetime | null
Only accounts created on or after this timestamp (inclusive).
datetime | null
Only accounts created before this timestamp (exclusive).
Response
Returns a paginated list envelope of account objects.object[]
The account objects on this page.
Show account attributes
Show account attributes
string
Always
account.string
Account id (e.g.
acct_3mnq7c1e6a2b4f3c9b8d2e5a).string
Platform customer id.
enum | null
Entity type:
individual or business. null until KYC starts.enum | null
Verification status:
not_started, under_review, action_needed, approved, or rejected.string | null
Account display name.
string | null
Primary contact email.
string | null
ISO 3166-1 alpha-2 country code. Derived from
registered_address.country.object[] | null
Review rejection reasons, populated only when
kyc_status is rejected; each entry has a user-safe reason and a developer_reason for your integration logic. Null otherwise.string
ISO 8601 timestamp when created.
string
ISO 8601 timestamp when last updated.
string | null
Actor that created the account.
string | null
Actor that last updated the account.
integer
Current page number.
integer
Items per page.
integer
Total number of items.
integer
Total number of pages.
{
"items": [
{
"object": "account",
"id": "acct_3mnq7c1e6a2b4f3c9b8d2e5a",
"customer_id": "cus_x7k2m9p4q1w8e5r3t6y0u2i4",
"type": "business",
"kyc_status": "under_review",
"display_name": "Acme GmbH",
"contact_email": "ops@acme.example",
"country_code": "DE",
"rejection_reasons": null,
"created": "2026-05-01T10:00:00Z",
"updated": "2026-05-02T08:30:00Z",
"created_by": "ak_x7k2m9p4q1w8e5r3t6y0u2i4",
"updated_by": null
}
],
"page": 1,
"size": 10,
"total": 1,
"pages": 1
}
⌘I