Skip to main content
POST
/
cabinet
/
admin
/
withdrawals
/
{withdrawal_id}
/
reject
Reject Withdrawal
curl --request POST \
  --url https://api.example.com/cabinet/admin/withdrawals/{withdrawal_id}/reject \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "comment": "<string>"
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

withdrawal_id
integer
required

Body

application/json

Request to reject a withdrawal.

comment
string | null
Maximum string length: 2000

Response

Successful Response