提现接口网站 php,API提现接口
>獲取提現(xiàn)積分的類型,在后臺(tái)可以設(shè)置某種積分可被提現(xiàn),此處獲取的數(shù)據(jù)為可提現(xiàn)積分的類型
~~~[api]
get:/index.php/accounts/Apipoint/member_withdrawal_list
int:type= 0#是否智能限制提現(xiàn)積分類型,0:不智能,1:智能,如:提現(xiàn)設(shè)置了只能在每月25號(hào)提現(xiàn),如果參數(shù)為1,該提現(xiàn)幣種只會(huì)在25號(hào)獲取的時(shí)候返回,其它時(shí)間獲取不返回該提現(xiàn)幣種
<<<
success
{
"err": 0,
"count": 2,
"data": {
"money": {
"point_type": "money",
"point_name": "資金",
"point_unit": "元",
"point_decimal": 2,
"point_ico": "\/web\/public\/Upload\/admin\/1\/5e61fac478e9a.png",
"balance": 10,
"scale": 0.1,
"freeze_type": "1",
"freeze": 0,
"withdraw_date": "0",
"proceduresType": "0",
"poundage": 0.4
},
"point": {
"point_type": "point",
"point_name": "積分",
"point_unit": "分",
"point_decimal": 1,
"point_ico": "http:\/\/localhost\/web\/public\/Upload\/member\/0\/\/hf7z22c0931583477564857.png",
"balance": 0,
"scale": 0.5,
"freeze_type": "1",
"freeze": 0,
"withdraw_date": "2",
"day": {
"0": "1",
"4": "5",
"5": "6",
"6": "7"
},
"proceduresType": "1",
"poundage": 10
}
}
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "錯(cuò)誤信息"
}
~~~
| 字段 |詳情 |
| --- | --- |
| count | 可體現(xiàn)積分種類的個(gè)數(shù) |
| data| 提現(xiàn)積分的數(shù)據(jù) |
| |----point_type| 積分類型標(biāo)識(shí) |
| |----point_name | 積分名稱 |
| |----point_unit| 積分單位 |
| |----point_ico| 積分圖標(biāo) |
| |----point_decimal| 積分小數(shù)位數(shù) |
| |----scale| 提現(xiàn)比例,如0.1標(biāo)識(shí)1積分提現(xiàn)0.1元 |
| |----freeze_type| 限制提現(xiàn)賬戶 1:滿多少可提現(xiàn) 2:賬戶必須留多少可體現(xiàn) |
| |----freeze| 賬戶限制的額度,與freeze_type配合使用,滿【freeze】提現(xiàn)或者留【freeze】提現(xiàn)|
| |----withdraw_date| 限制提現(xiàn)日期 0:不限 1:每周 2:每月 |
| |----day| day為一個(gè)對(duì)象,非數(shù)組, 限制提現(xiàn)日期具體的時(shí)間, withdraw_date為0時(shí)無次參數(shù),限制為每周時(shí),該參數(shù)返回0-6的字符串,表示星期日到星期六,限制為每月時(shí),該參數(shù)返回1-28的字符,標(biāo)識(shí)1號(hào)到28號(hào)的某幾天 |
| |----proceduresType| 提現(xiàn)手續(xù)費(fèi)類型 0:固定數(shù)額 1:百分比 |
| |----poundage| 手續(xù)費(fèi)額度,與 proceduresType參數(shù)配合使用 |
>申請(qǐng)?zhí)岈F(xiàn)操作
~~~[api]
get:/index.php/accounts/Apipoint/member_submit_withdrawal
*string:point_type=money #需要提現(xiàn)積分標(biāo)識(shí)
*int:point=0 #提現(xiàn)額度
int:type=2 #提現(xiàn)類型 1:提現(xiàn)到微信零錢,2:提現(xiàn)到銀行卡
string:way= #格式為:姓名|卡號(hào)|開戶行|銀行卡類型(工行)|手機(jī)號(hào),如果選擇提現(xiàn)到銀行卡必須填此項(xiàng)
<<<
success
{
"point_type": "money",
"point_name": "資金",
"point_unit": "元",
"point": 1,
"balance": 990.2,
"point_ico": "\/web\/public\/Upload\/admin\/1\/5e61fac478e9a.png"
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "錯(cuò)誤信息"
}
~~~
| 字段 |詳情 |
| --- | --- |
| point_type| 提現(xiàn)的積分標(biāo)識(shí) |
| point_name| 提現(xiàn)的積分名稱 |
| point_unit| 提現(xiàn)積分的單位 |
| point | 提現(xiàn)積分?jǐn)?shù) |
| balance| 提現(xiàn)后的余額 |
| point_ico| 積分圖標(biāo) |
>獲取登錄用戶的提現(xiàn)列表
~~~[api]
get:/index.php/accounts/Apipoint/member_get_withdrawal_list
string:point_type=money #積分標(biāo)識(shí),不傳為全部
int:type=0 #提現(xiàn)類型 0:全部, 1:提現(xiàn)到微信零錢,2:提現(xiàn)到銀行卡
int:pagesize=10#每頁顯示個(gè)數(shù)
int:page=1#顯示頁碼數(shù)
string:between_point= #提現(xiàn)區(qū)間 如100-200
string:sort= id #排序字段
string:sort_type= asc#排序類型
int:status= 0#狀態(tài),不填表示全部,0:未確認(rèn),1:打款中,2:已打款,3:拒絕打款
<<<
success
{
"err": 0,
"page": 1,
"pageSize": 10,
"count": 1,
"pageTotal": 1,
"data": [{
"point_type": "point",
"point_name": "積分",
"point_unit": "分",
"point_ico": "http:\/\/localhost\/web\/public\/Upload\/member\/0\/\/hf7z22c0931583477564857.png",
"point": "1",
"type": "提現(xiàn)到銀行卡",
"status": "拒絕打款",
"msg": "",
"addtime": "2020-03-08 19:26:30"
}]
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "錯(cuò)誤信息"
}
~~~
| 字段 |詳情 |
| --- | --- |
| point_type| 提現(xiàn)的積分標(biāo)識(shí) |
| point_name| 提現(xiàn)的積分名稱 |
| point_unit| 提現(xiàn)積分的單位 |
| point | 提現(xiàn)積分?jǐn)?shù) |
| point_ico| 積分圖標(biāo) |
| type| 提現(xiàn)方式 |
| status| 提現(xiàn)狀態(tài) |
| msg| 拒絕理由 |
| addtime| 提現(xiàn)時(shí)間 |
總結(jié)
以上是生活随笔為你收集整理的提现接口网站 php,API提现接口的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: php位运算重要吗,PHP位运算的用途
- 下一篇: docker php 安装swoole,