Skip to main content
POST
/
cabinet
/
admin
/
withdrawals
/
{withdrawal_id}
/
approve
Approve Withdrawal
curl --request POST \
  --url http://localhost:8080/cabinet/admin/withdrawals/{withdrawal_id}/approve \
  --header 'Content-Type: application/json' \
  --data '
{
  "comment": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Path Parameters

withdrawal_id
integer
required

Body

application/json

Request to approve a withdrawal.

comment
string | null
Maximum string length: 2000

Response

Successful Response