主题
提现插件
提现列表
| 项目 | 内容 |
|---|---|
| 接口描述 | 提现列表 |
| 接口地址 | /console/v1/withdraw |
| 请求方式 | GET |
| 接口版本 | v1 |
请求参数
| name | type | default | validate | desc |
|---|---|---|---|---|
| start_time | int | - | 时间戳svalidate:optional | desc:开始时间 |
| end_time | int | - | 时间戳svalidate:optional | desc:结束时间 |
| source | string | - | 默认为余额validate:optional | desc:提现来源 |
| status | int | - | 0待审核1待打款2审核驳回3已打款validate:optional | desc:状态 |
| page | int | - | validate:optional | desc:页数 |
| limit | int | - | validate:optional | desc:每页条数 |
| orderby | string | - | validate:optional | desc:排序id |
| sort | string | - | ascdescvalidate:optional | desc:升降序 |
响应参数
| name | type | default | desc |
|---|---|---|---|
| list | array | - | desc:提现列表 |
| list[].id | int | - | desc:提现ID |
| list[].amount | string | - | desc:金额 |
| list[].fee | string | - | desc:手续费 |
| list[].method | string | - | desc:提现方式 |
| list[].withdraw_amount | string | - | desc:提现到账金额 |
| list[].status | int | - | desc:状态 |
| list[].reason | string | - | desc:驳回原因 |
| list[].create_time | int | - | desc:提现时间 |
| count | int | - | desc:提现总数 |
获取余额提现设置
| 项目 | 内容 |
|---|---|
| 接口描述 | 获取余额提现设置 |
| 接口地址 | /console/v1/withdraw/rule/credit |
| 请求方式 | GET |
| 接口版本 | v1 |
请求参数
| name | type | default | validate | desc |
|---|---|---|---|---|
| scene | string | - | recommend推荐提现validate:optional | desc:提现场景 |
响应参数
| name | type | default | desc |
|---|---|---|---|
| method | array | - | desc:提现方式 |
| method[].id | int | - | desc:提现方式ID |
| method[].name | string | - | desc:提现方式名称 |
| process | string | - | desc:提现流程 |
| min | float | - | desc:最小金额限制 |
| max | float | - | desc:最大金额限制 |
| cycle | string | - | desc:提现周期 |
| cycle_limit | int | - | desc:提现周期次数限制 |
| withdraw_fee_type | string | - | desc:手续费类型 |
| withdraw_fee | float | - | desc:固定手续费金额 |
| percent | float | - | desc:手续费百分比 |
| percent_min | float | - | desc:最低手续费 |
| status | int | - | desc:状态 |
余额申请提现
| 项目 | 内容 |
|---|---|
| 接口描述 | 余额申请提现 |
| 接口地址 | /console/v1/withdraw |
| 请求方式 | POST |
| 接口版本 | v1 |
请求参数
| name | type | default | validate | desc |
|---|---|---|---|---|
| method_id | int | - | validate:required | desc:提现方式ID |
| amount | float | - | validate:required | desc:提现金额 |
| card_number | string | - | validate:optional | desc:银行卡号 |
| name | string | - | validate:optional | desc:姓名 |
| account | string | - | validate:optional | desc:账号 |
| notes | string | - | validate:optional | desc:备注 |
响应参数
无