curl --request GET \
--url "https://api.stablepay.co/api/v1/pending_settlement_balance" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>"
const response = await fetch("https://api.stablepay.co/api/v1/pending_settlement_balance", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"balances": [
{
"currency": "USDT",
"amount": 2500
},
{
"currency": "USDC",
"amount": -100
}
],
"as_of": 1789084800
}
Global Accounts API
Pending settlement balances by currency
Pending settlement balances by currency
GET
/
api
/
v1
/
pending_settlement_balance
curl --request GET \
--url "https://api.stablepay.co/api/v1/pending_settlement_balance" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>"
const response = await fetch("https://api.stablepay.co/api/v1/pending_settlement_balance", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"balances": [
{
"currency": "USDT",
"amount": 2500
},
{
"currency": "USDC",
"amount": -100
}
],
"as_of": 1789084800
}
See authentication, signing, data conventions, and errors. Regenerate the timestamp, nonce, and signature on every retry.
GET /pending_settlement_balance Returns merchant-level pending settlement balances by currency; negative values allowed.
Request headers
string
required
Bearer API Key.
string
required
Unix seconds, within five minutes of server time.
string
required
Unique per request, 16–64 characters.
string
required
Lowercase hexadecimal HMAC-SHA256 signature for the exact request body.
Request parameters
string
10 digits; omit for merchant apps, required for service-provider apps
Response
array
required
Balances by currency
string
required
Currency code
integer
required
Book balance; may be negative
integer
required
Observation time
Status and errors
503 when temporarily unavailable; retry with a new nonce.curl --request GET \
--url "https://api.stablepay.co/api/v1/pending_settlement_balance" \
--header "Authorization: Bearer <API_KEY>" \
--header "X-StablePay-Timestamp: <TIMESTAMP>" \
--header "X-StablePay-Nonce: <NONCE>" \
--header "X-StablePay-Signature: <SIGNATURE>"
const response = await fetch("https://api.stablepay.co/api/v1/pending_settlement_balance", {
method: "GET",
headers: {
"Authorization": "Bearer <API_KEY>",
"X-StablePay-Timestamp": "<TIMESTAMP>",
"X-StablePay-Nonce": "<NONCE>",
"X-StablePay-Signature": "<SIGNATURE>"
}
});
console.log(await response.json());
{
"balances": [
{
"currency": "USDT",
"amount": 2500
},
{
"currency": "USDC",
"amount": -100
}
],
"as_of": 1789084800
}
Last modified on October 29, 2026
Was this page helpful?
