A AuthMS API Wiki API Reference iam.tianv.com →

POST /admin/wallets/withdrawals/{id}/approve

审批通过提现申请

钱包服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
id path string Yes 提现申请ID

Request Body

Schema: dto.ApproveWithdrawalRequest

FieldTypeRequiredExampleConstraintsDescription
approved_by string No
remark string No

Responses

StatusDescriptionSchema
200OKdto.WithdrawalRequestResponse
400请求参数错误gitee_com_linmes_authms_base_dto.SimpleResponse
401未认证或令牌无效gitee_com_linmes_authms_base_dto.SimpleResponse
409余额不足gitee_com_linmes_authms_base_dto.SimpleResponse
422金额无效gitee_com_linmes_authms_base_dto.SimpleResponse
500服务内部错误gitee_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