curl --request GET \
--url https://api.example.com/cabinet/admin/payments/search/stats \
--header 'Authorization: Bearer <token>'{
"total": 123,
"pending": 123,
"paid": 123,
"cancelled": 123,
"by_method": {}
}Get aggregated statistics for payment search results.
curl --request GET \
--url https://api.example.com/cabinet/admin/payments/search/stats \
--header 'Authorization: Bearer <token>'{
"total": 123,
"pending": 123,
"paid": 123,
"cancelled": 123,
"by_method": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Search query (invoice, @username, telegram_id, email)
256Status filter: all, pending, paid, cancelled
Filter by payment method
Period preset: 24h, 7d, 30d, all
Custom range start (ISO 8601)
Custom range end (ISO 8601)