# Account balance

`GET /v1/balance` · scope `billing:read`

Total of unpaid invoices (`acc_balance`) and the credit balance (`acc_credit`).

## HTTP request

| Item | Value |
| --- | --- |
| URL | `https://api.tino.vn/v1/balance` |
| Method | `GET` |
| Scope | `billing:read` |
| Header | `Authorization: Bearer <token>` |
| Content-Type | — (no body) |
| Tokens that can call it | app tokens (`tinoat_`), personal API tokens (`tinopat_`) |

## Parameters

This route takes no parameters.

## Example request

```bash
curl "https://api.tino.vn/v1/balance" \
  -H "Authorization: Bearer $TINO_TOKEN"
```

`$TINO_TOKEN` is a token with the scope `billing:read`.

SDK ([SDK & examples](/en/docs/sdk)): Python `client.billing.get_balance()`, Node.js `await client.billing.getBalance();`, PHP `$client->billing->getBalance();`.

## Example response

```json
{
 "success": true,
 "details": {
  "currency": "đ",
  "acc_balance": 574723,
  "acc_credit": "0.00"
 }
}
```

Live sample from a test account with personal data masked; long arrays and strings are trimmed (`… N more item(s)`, `… N more line(s)`).
