/api/v1/businesses/:id/balancesx-api-keySandbox + liveList balances
Return business balances grouped by asset.
When to use it
Use before quoting withdrawals or when showing operator portfolio balances.
| Field | Location | Required | Description | Example / default |
|---|---|---|---|---|
| id | path | Yes | Business ID. | - |
Common errors
- 401: Missing or invalid API key.
Sample response
json{
"data": [
{
"chain": "eth",
"networkId": "base-mainnet",
"token": "USDC",
"available": "149.75",
"withdrawable": "149.50"
}
]
}cURL example
bashcurl -X GET "https://api.paychainhq.io/api/v1/businesses/biz_123/balances" \
-H "Content-Type: application/json" \
-H "x-api-key: pk_live_your_business_key"Node.js example
tsconst response = await fetch('https://api.paychainhq.io/api/v1/businesses/biz_123/balances', {
method: 'GET',
headers: {
'Content-Type': 'application/json',
'x-api-key': 'pk_live_your_business_key',
},
});
const payload = await response.json();
console.log(payload);