# История изменения балансов

## Запрос

```bash
curl -X POST https://api.bitsby.app/billing/history \
  -H "Authorization: Token MSvL2ltaDZdWVjmZURURMVWhqSJLT2NURjhL2Fla1Z1T1IxQTltKs1T3Ay"
  	-F "offset=0" \
	-F "limit=10"
```

## Параметры запроса

<table data-full-width="true"><thead><tr><th width="182">Параметр</th><th width="128">Тип данных</th><th>Описание</th><th>Пример</th><th>Обязательный?</th><th>По умолчанию</th></tr></thead><tbody><tr><td><code>offset</code></td><td>Integer</td><td>Номер начальной записи, с которой начнется вывод данных</td><td>0</td><td>нет</td><td>0</td></tr><tr><td><code>limit</code></td><td>Integer</td><td>Количество записей, которые вы хотите получить</td><td>50</td><td>нет</td><td>10</td></tr></tbody></table>

## Пример ответа

```json
{
    "result": "success",
    "data": [
        {
            "datetime": "2024-11-30 18:02:41",
            "event": "other",
            "target": "internal",
            "amount": "5.00",
            "comment": "welcome bonus 5"
        }
    ]
}
```

## Параметры ответа

<table><thead><tr><th width="272">Параметр</th><th>Описание</th></tr></thead><tbody><tr><td><code>datetime</code></td><td>Дата и время события</td></tr><tr><td><code>event</code></td><td>Тип события</td></tr><tr><td><code>target</code></td><td>Тип баланса, который был изменен</td></tr><tr><td><code>amount</code></td><td>Сумма, на которую был изменен баланс</td></tr><tr><td><code>comment</code></td><td>Комментарий события</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bitsby.app/ru/dokumentaciya-api/istoriya-izmeneniya-balansov.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
