Get Account Balances (v2)
const options = {method: 'GET'};
fetch('https://gp-auth-module.prod.gnosispay.com/user/balances/v2', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://gp-auth-module.prod.gnosispay.com/user/balances/v2import requests
url = "https://gp-auth-module.prod.gnosispay.com/user/balances/v2"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gp-auth-module.prod.gnosispay.com/user/balances/v2"
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://gp-auth-module.prod.gnosispay.com/user/balances/v2")
.asString();require 'uri'
require 'net/http'
url = URI("https://gp-auth-module.prod.gnosispay.com/user/balances/v2")
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{
"data": [
{
"currency": "<string>",
"decimals": 123,
"spendable": "<string>",
"nonSpendable": "<string>",
"processingDeposits": "<string>",
"processingWithdrawals": "<string>",
"tokens": [
{
"token": "<string>",
"decimals": 123,
"spendable": "<string>",
"nonSpendable": "<string>",
"processingDeposits": "<string>",
"maxInstantWithdraw": "<string>"
}
]
}
]
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}User
Get Account Balances (v2)
Returns the authenticated user’s account balances. Spendable excludes dust and processingWithdrawals is exposed at the currency level. Each currency row includes a per-token breakdown.
GET
/
user
/
balances
/
v2
Get Account Balances (v2)
const options = {method: 'GET'};
fetch('https://gp-auth-module.prod.gnosispay.com/user/balances/v2', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://gp-auth-module.prod.gnosispay.com/user/balances/v2import requests
url = "https://gp-auth-module.prod.gnosispay.com/user/balances/v2"
response = requests.get(url)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://gp-auth-module.prod.gnosispay.com/user/balances/v2"
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://gp-auth-module.prod.gnosispay.com/user/balances/v2")
.asString();require 'uri'
require 'net/http'
url = URI("https://gp-auth-module.prod.gnosispay.com/user/balances/v2")
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{
"data": [
{
"currency": "<string>",
"decimals": 123,
"spendable": "<string>",
"nonSpendable": "<string>",
"processingDeposits": "<string>",
"processingWithdrawals": "<string>",
"tokens": [
{
"token": "<string>",
"decimals": 123,
"spendable": "<string>",
"nonSpendable": "<string>",
"processingDeposits": "<string>",
"maxInstantWithdraw": "<string>"
}
]
}
]
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Response
Account balances retrieved successfully
Show child attributes
Show child attributes
⌘I