Skip to main content
GET
/
cabinet
/
admin
/
withdrawals
List Withdrawals
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
}

Query Parameters

status
enum<string> | null
Available options:
pending,
approved,
rejected,
completed,
cancelled
offset
integer
default:0
Required range: x >= 0
limit
integer
default:50
Required range: 1 <= x <= 100

Response

Successful Response

List of withdrawal requests for admin.

items
AdminWithdrawalItem · object[]
required
total
integer
required
pending_count
integer
default:0
pending_total_kopeks
integer
default:0