> ## Documentation Index
> Fetch the complete documentation index at: https://docs.pavewaygroup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieve Balance

> Retrieves the current available and pending balances on your account across supported currencies.

Retrieves the current financial balance of your Pursar account. The balance is broken down into:

* **Available**: Funds that have cleared and are immediately eligible for automated or manual payout.
* **Pending**: Funds from recently processed charges that are awaiting clearing.

***

### Code Examples

```bash cURL theme={null}
curl -G https://api.viarosandbox.com/v1/balance \
  -u sk_test_uLsofsae3tB9Izwgeuy0Mxbh4JIxUPSG:
```

```python Python theme={null}
import requests

url = "https://api.viarosandbox.com/v1/balance"
auth = ("sk_test_uLsofsae3tB9Izwgeuy0Mxbh4JIxUPSG", "")

response = requests.get(url, auth=auth)
print(response.json())
```

```javascript Node.js theme={null}
const axios = require('axios');

async function getBalance() {
  const response = await axios.get('https://api.viarosandbox.com/v1/balance', {
    auth: {
      username: 'sk_test_uLsofsae3tB9Izwgeuy0Mxbh4JIxUPSG',
      password: ''
    }
  });

  console.log(response.data);
}

getBalance();
```

***

### Response

```json theme={null}
{
  "object": "balance",
  "livemode": false,
  "available": [
    {
      "amount": 1450000,
      "currency": "xaf"
    },
    {
      "amount": 820000,
      "currency": "xof"
    },
    {
      "amount": 3500,
      "currency": "ghs"
    },
    {
      "amount": 42000,
      "currency": "kes"
    }
  ],
  "pending": [
    {
      "amount": 75000,
      "currency": "xaf"
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.