> For the complete documentation index, see [llms.txt](https://smarthive-tech-solution.gitbook.io/smarthive-tech-solution-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://smarthive-tech-solution.gitbook.io/smarthive-tech-solution-api/sms/balance.md).

# Balance

The "Balance" endpoint provides functionality for retrieving the current balance associated with your account. To utilize this endpoint, you'll need to make an HTTP request to the appropriate URL with

## Credit

<mark style="color:green;">`POST`</mark> [https://api.smarthivesms.com](https://smsapi-sur2.onrender.com)`/api/sms/credit`

This endpoint allows you to check how much credit you have.&#x20;

#### Headers

| Name                                        | Type   | Description  |
| ------------------------------------------- | ------ | ------------ |
| x-api-key<mark style="color:red;">\*</mark> | String | Your API Key |

{% tabs %}
{% tab title="200: OK " %}

```json
{
    "status": "ok",
    "description": "The request has suceeded",
    "balance": 10.1
}
```

{% endtab %}
{% endtabs %}
