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

POST /wallets/{user_id}/withdraw/request

提交提现申请

钱包服务 `bearerAuth` application/json

Request Parameters

NameInTypeRequiredDefaultExampleConstraintsDescription
user_id path string Yes 用户ID

Request Body

Schema: dto.WithdrawalRequest

FieldTypeRequiredExampleConstraintsDescription
amount string Yes
remark string No

Responses

StatusDescriptionSchema
201Createddto.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