curl --request GET \
--url https://api.globalstack.io/v1/wallets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.globalstack.io/v1/wallets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.globalstack.io/v1/wallets', 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.globalstack.io/v1/wallets",
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.globalstack.io/v1/wallets"
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.globalstack.io/v1/wallets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.globalstack.io/v1/wallets")
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": true,
"message": "Wallets fetched successfully",
"code": "ok",
"data": [
{
"id": "wal_01HXYZABC1234567890ABCDEFG",
"customer_id": "cust_01HXYZABC1234567890ABCDEFG",
"customer": {
"id": "cust_01HXYZABC1234567890ABCDEFG",
"type": "individual",
"name": "Alice Johnson",
"email": "alice@example.com",
"tier": "tier_2",
"created_at": "2026-04-16T16:14:08.000Z",
"updated_at": "2026-04-16T16:14:08.000Z"
},
"currency": "USDC",
"type": "custodial",
"available_balance": "1234.567890",
"pending_balance": "0.000000",
"total_balance": "1234.567890",
"metadata": {},
"provisioned": false,
"created_at": "2026-05-20T12:00:00.000Z",
"updated_at": "2026-05-20T12:00:00.000Z",
"country_code": "NG",
"label": "USDC Operating Wallet",
"destination_address": null,
"destination_chain": null
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 137,
"has_more": false,
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}{
"status": false,
"message": "Resource not found",
"code": "not_found",
"data": null,
"meta": {
"next_steps": {
"action": "Verify the resource identifier and retry.",
"docs_url": "https://docs.globalstack.io/errors#not_found"
},
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}{
"status": false,
"message": "Resource not found",
"code": "not_found",
"data": null,
"meta": {
"next_steps": {
"action": "Verify the resource identifier and retry.",
"docs_url": "https://docs.globalstack.io/errors#not_found"
},
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}{
"status": false,
"message": "Resource not found",
"code": "not_found",
"data": null,
"meta": {
"next_steps": {
"action": "Verify the resource identifier and retry.",
"docs_url": "https://docs.globalstack.io/errors#not_found"
},
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}List wallets
Returns the calling merchant’s wallets, newest first.
All filters are optional. When no filters are supplied all wallets are returned (paginated), across all customers.
Filter behavior
customer_id— restricts to a single customer’s wallets. Must be a GlobalStackcust_…id.currency— restricts to one currency code (exact, uppercase, e.g.USDC).
Pagination
page— 1-indexed page number. Defaults to1. Must be between1and1,000,000.per_page— page size. Defaults to20. Must be between1and50. Capped tighter than other list endpoints because each wallet is composed with a live ledger balance.
The response carries pagination metadata under meta (page, per_page,
total, has_more). has_more is true when at least one more page is
available.
Balances
available_balance, pending_balance, and total_balance are sourced from the
ledger and formatted to the currency’s precision. Wallets that are not yet
provisioned (provisioned: false) report zero balances.
Ordering
Results are sorted by created_at DESC, id DESC (newest first, deterministic on ties).
Owner
data.customer is the customer that owns the wallet, returned on every wallet payload:
| Field | Description |
|---|---|
id | Customer external id (cust_…), identical to customer_id. |
type | individual or business. |
name | Customer full or business name. |
email | Customer email address. |
tier | KYC tier — tier_0, tier_1 or tier_2. |
created_at / updated_at | ISO-8601 timestamps. |
customer_id is unchanged and still present. For KYC status, metadata or the customer profile,
call GET /v1/customers/{customerId}.
Example
GET /v1/wallets?customer_id=cust_01HXYZ…¤cy=USDC&page=1&per_page=25
curl --request GET \
--url https://api.globalstack.io/v1/wallets \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.globalstack.io/v1/wallets"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.globalstack.io/v1/wallets', 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.globalstack.io/v1/wallets",
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.globalstack.io/v1/wallets"
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.globalstack.io/v1/wallets")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.globalstack.io/v1/wallets")
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": true,
"message": "Wallets fetched successfully",
"code": "ok",
"data": [
{
"id": "wal_01HXYZABC1234567890ABCDEFG",
"customer_id": "cust_01HXYZABC1234567890ABCDEFG",
"customer": {
"id": "cust_01HXYZABC1234567890ABCDEFG",
"type": "individual",
"name": "Alice Johnson",
"email": "alice@example.com",
"tier": "tier_2",
"created_at": "2026-04-16T16:14:08.000Z",
"updated_at": "2026-04-16T16:14:08.000Z"
},
"currency": "USDC",
"type": "custodial",
"available_balance": "1234.567890",
"pending_balance": "0.000000",
"total_balance": "1234.567890",
"metadata": {},
"provisioned": false,
"created_at": "2026-05-20T12:00:00.000Z",
"updated_at": "2026-05-20T12:00:00.000Z",
"country_code": "NG",
"label": "USDC Operating Wallet",
"destination_address": null,
"destination_chain": null
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 137,
"has_more": false,
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}{
"status": false,
"message": "Resource not found",
"code": "not_found",
"data": null,
"meta": {
"next_steps": {
"action": "Verify the resource identifier and retry.",
"docs_url": "https://docs.globalstack.io/errors#not_found"
},
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}{
"status": false,
"message": "Resource not found",
"code": "not_found",
"data": null,
"meta": {
"next_steps": {
"action": "Verify the resource identifier and retry.",
"docs_url": "https://docs.globalstack.io/errors#not_found"
},
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}{
"status": false,
"message": "Resource not found",
"code": "not_found",
"data": null,
"meta": {
"next_steps": {
"action": "Verify the resource identifier and retry.",
"docs_url": "https://docs.globalstack.io/errors#not_found"
},
"request_id": "req_01HXYZ4K5ABCDEFGHJKLMNPQRS",
"timestamp": "2026-05-14T15:43:55.732Z",
"version": "1"
}
}Authorizations
API key issued during merchant onboarding.
Query Parameters
Restrict to one customer (cust_… id). Omit to list all wallets in the integration.
"cust_01HXYZABC1234567890ABCDEFG"
2–8 uppercase alphanumerics. Exact match.
"USDC"
1-indexed page number.
1 <= x <= 10000001
Page size (1–50). Capped tighter than other list endpoints because each wallet is composed with a live ledger balance.
1 <= x <= 5020
Response
Wallets fetched successfully