For the complete documentation index, see llms.txt. This page is also available as Markdown.

Balance API

The Balance API allows you to check your current account balance and manage your usage effectively. This API ensures that you can monitor your credits in real-time, helping you to avoid interruptions in your communication services.

Get Account Balance

Request

Endpoint: /account/balance
Method: GET

// Request Headers:
Content-Type: application/json
Authorization: Bearer YOUR_API_KEY

Response

{
"status": "success",
"balance": 1500,
"currency": "USD",
"last_updated": "2024-06-29T12:34:56Z"
}

Example Use Case

Fetching Account Balance

To fetch your current credit balance, send a POST request to the /account/balance endpoint.

Here’s an example using curl:

Response

Last updated