POST api/v1/Commission/BindBankAccount/{accountId}

绑定提现账号

请求信息(Request)

URI 参数

名称描述类型备注
accountId

integer

Required

Body 参数

BankAccountDTO
名称描述类型备注
ID

ID

integer

None.

UserId

归属用户id

integer

None.

AccountNumber

银行卡号

string

Required

AccountName

账号名称

string

Required

BankName

银行名称

string

Required

BankOfDeposit

开户行

string

None.

CreateTime

绑定时间

date

None.

请求格式

application/json, text/json

Sample:
{
  "ID": 1,
  "UserId": 2,
  "AccountNumber": "sample string 3",
  "AccountName": "sample string 4",
  "BankName": "sample string 5",
  "BankOfDeposit": "sample string 6",
  "CreateTime": "2025-05-04T17:51:35.8398993+08:00"
}

application/xml, text/xml

Sample:
<BankAccountDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application.DTOs">
  <AccountName>sample string 4</AccountName>
  <AccountNumber>sample string 3</AccountNumber>
  <BankName>sample string 5</BankName>
  <BankOfDeposit>sample string 6</BankOfDeposit>
  <CreateTime>2025-05-04T17:51:35.8398993+08:00</CreateTime>
  <ID>1</ID>
  <UserId>2</UserId>
</BankAccountDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BankAccountDTO'.

响应信息(Response)

资源描述

RequestResult
名称描述类型备注
Status

状态(0:成功,1:失败)

integer

None.

Message

导致失败的相关消息

string

None.

Total

集合总数,用于分页时使用

integer

None.

响应格式

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Total": 3
}

application/xml, text/xml

Sample:
<RequestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WLife.Application">
  <Message>sample string 2</Message>
  <Status>1</Status>
  <Total>3</Total>
</RequestResult>