Autional Autional
API Reference GitHub autional.com →

POST /admin/wallets/withdrawals/{wallet_id}/reject

Reject a withdrawal application

Wallet Service `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes Withdrawal Application ID

Request Body

Schema: dto.RejectWithdrawalRequest

FieldTypeRequiredExampleConstraintsDescription
remark string No

Responses

StatusDescriptionSchema
200OKdto.WithdrawalRequestResponse
400Invalid request parametersgitee_com_linmes_authms_base_dto.SimpleResponse
401Unauthenticated or invalid tokengitee_com_linmes_authms_base_dto.SimpleResponse
409Insufficient balancegitee_com_linmes_authms_base_dto.SimpleResponse
422Invalid amountgitee_com_linmes_authms_base_dto.SimpleResponse
500Internal server errorgitee_com_linmes_authms_base_dto.SimpleResponse

Referenced Schemas

dto.WithdrawalRequestResponse

FieldTypeRequiredExampleConstraintsDescription
amount string No 100.50
id string No wdr_01ARZ3NDEKTSV4RRFFQ69G5FAV
status string No pending
user_id string No usr_example_001

gitee_com_linmes_authms_base_dto.SimpleResponse

FieldTypeRequiredExampleConstraintsDescription
code integer No
message string No
timestamp string No