curl --request GET \
--url http://localhost:8080/cabinet/admin/withdrawals{
"items": [
{
"id": 123,
"user_id": 123,
"amount_kopeks": 123,
"amount_rubles": 123,
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"username": "<string>",
"first_name": "<string>",
"telegram_id": 123,
"risk_score": 0,
"risk_level": "low",
"payment_details": "<string>",
"admin_comment": "<string>",
"processed_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"pending_count": 0,
"pending_total_kopeks": 0
}List all withdrawal requests.
curl --request GET \
--url http://localhost:8080/cabinet/admin/withdrawals{
"items": [
{
"id": 123,
"user_id": 123,
"amount_kopeks": 123,
"amount_rubles": 123,
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"username": "<string>",
"first_name": "<string>",
"telegram_id": 123,
"risk_score": 0,
"risk_level": "low",
"payment_details": "<string>",
"admin_comment": "<string>",
"processed_at": "2023-11-07T05:31:56Z"
}
],
"total": 123,
"pending_count": 0,
"pending_total_kopeks": 0
}pending, approved, rejected, completed, cancelled x >= 01 <= x <= 100