# Статистика по платежам

## Запрос

```bash
curl -X POST https://api.bitsby.app/statistics/payments \
  -H "Authorization: Token MSvL2ltaDZdWVjmZURURMVWhqSJLT2NURjhL2Fla1Z1T1IxQTltKs1T3Ay" \
	-F "startDate=2000-01-01" \
	-F "endDate=2030-01-01"
```

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

<table data-full-width="true"><thead><tr><th>Параметр</th><th>Тип данных</th><th>Описание</th><th>Пример</th><th>Обязательный?</th></tr></thead><tbody><tr><td><code>startDate</code></td><td>String</td><td>Начальная дата транзакции в блокчейне в формате Y-m-d</td><td>2000-01-01</td><td>нет</td></tr><tr><td><code>endDate</code></td><td>String</td><td>Конечная дата транзакции в блокчейне в формате Y-m-d</td><td>2030-01-01</td><td>нет</td></tr></tbody></table>

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

```json
{
    "result": "success",
    "data": {
        "usdt": 336.555589
    }
}
```


---

# 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/statistika-po-platezham.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.
