merchant: fetch by wallet_id
curl --request GET \
--url https://api-staging.stablestack.com/api/wallets/{wallet_id}import requests
url = "https://api-staging.stablestack.com/api/wallets/{wallet_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-staging.stablestack.com/api/wallets/{wallet_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-staging.stablestack.com/api/wallets/{wallet_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-staging.stablestack.com/api/wallets/{wallet_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-staging.stablestack.com/api/wallets/{wallet_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.stablestack.com/api/wallets/{wallet_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{
"status": "success",
"data": {
"id": "2ed51ca9-e1a4-42be-91c2-a611bd2d8eba",
"asset_type": "STABLECOIN",
"currency": "USDC",
"balance": "0.00000000",
"description": "my erc account",
"status": "active",
"created_at": "2025-04-30T12:22:37.246Z",
"updated_at": "2025-04-30T12:22:37.246Z",
"customer_id": "ddf723ee-5558-442d-b46f-4e3d42817448",
"addresses": [
{
"id": "fae5a5f4-cdd3-4dd1-9b62-e4a70faf8916",
"address": "0x67B42590C86F538d3a87253C6e64b32b7D35dhg5",
"network": "erc20",
"created_at": "2025-04-30T12:22:37.307Z"
},
{
"id": "92e6ac2f-6d52-4f7c-b05e-766ffe97191f",
"address": "TXvzrLA94eB1Bcp6ssadJukgnMA2Waw98R",
"network": "trc20",
"created_at": "2025-05-01T10:27:16.525Z"
},
{
"id": "55f33b26-6147-4f4f-8a44-91be6826ac83",
"address": "0x67B42590C86F538d3a87253C6e64b32b7D35dhg5",
"network": "erc20",
"created_at": "2025-05-01T10:29:56.789Z"
}
]
}
}Wallets
GET Wallet
API reference for fetching wallet by wallet ID
GET
/
wallets
/
{wallet_id}
merchant: fetch by wallet_id
curl --request GET \
--url https://api-staging.stablestack.com/api/wallets/{wallet_id}import requests
url = "https://api-staging.stablestack.com/api/wallets/{wallet_id}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-staging.stablestack.com/api/wallets/{wallet_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-staging.stablestack.com/api/wallets/{wallet_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-staging.stablestack.com/api/wallets/{wallet_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-staging.stablestack.com/api/wallets/{wallet_id}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-staging.stablestack.com/api/wallets/{wallet_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{
"status": "success",
"data": {
"id": "2ed51ca9-e1a4-42be-91c2-a611bd2d8eba",
"asset_type": "STABLECOIN",
"currency": "USDC",
"balance": "0.00000000",
"description": "my erc account",
"status": "active",
"created_at": "2025-04-30T12:22:37.246Z",
"updated_at": "2025-04-30T12:22:37.246Z",
"customer_id": "ddf723ee-5558-442d-b46f-4e3d42817448",
"addresses": [
{
"id": "fae5a5f4-cdd3-4dd1-9b62-e4a70faf8916",
"address": "0x67B42590C86F538d3a87253C6e64b32b7D35dhg5",
"network": "erc20",
"created_at": "2025-04-30T12:22:37.307Z"
},
{
"id": "92e6ac2f-6d52-4f7c-b05e-766ffe97191f",
"address": "TXvzrLA94eB1Bcp6ssadJukgnMA2Waw98R",
"network": "trc20",
"created_at": "2025-05-01T10:27:16.525Z"
},
{
"id": "55f33b26-6147-4f4f-8a44-91be6826ac83",
"address": "0x67B42590C86F538d3a87253C6e64b32b7D35dhg5",
"network": "erc20",
"created_at": "2025-05-01T10:29:56.789Z"
}
]
}
}