自营订单列表
GET
/selforders
请求参数
Query 参数
id
string
订单号
xid
string
下游单号
pid
string
产品ID
pname
string
产品名称
uname
string
客户姓名
uphone
string
客户手机号
uidcard
string
客户身份证
status
string
订单状态
pphone
string
生产号码
setrule
string
结算规则
starttime
string
开始时间
endtime
string
结束时间
sort
string
可选
page
string
页码
limit
string
条数
Header 参数
Authorization
string
必需
示例值:
Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vd3d3LmtheGQuY24iLCJhdWQiOiJodHRwOi8vd3d3LmtheGQuY24iLCJpYXQiOjE3MzU2MzAxMDAsIm5iZiI6MTczNTYzMDExMCwiZXhwIjoxNzM1NjMzNzAwLCJkYXRhIjp7ImFnZW50X2lkIjoiMTAwMDAiLCJhZ2VudF9uYW1lIjoiXHU1Y2IzXHU2Y2ZkXHU0ZWU1IiwiYWdlbnRfdW5hbWUiOiJcdTVjYjNcdTZkNzdcdTRlMWMiLCJhZ2VudF9waG9uZSI6IjE1Njk4MzI2MTcyIiwiYWdlbnRfcm1iIjoiMTQ2LjAwIiwiYWdlbnRfdmlwIjpudWxsLCJkb21haW4iOiJrYS5rdXR1aS5uZXQiLCJhZ2VudF9zdGF0dXMiOiIxIiwiYWdlbnRfaXNvcGVuIjoiMCIsImFnZW50X2FwaSI6IjEiLCJhZ2VudF93eGtleSI6bnVsbCwiaXNfYWRkYmtnZSI6IjAiLCJhZ2VudGdyb3VwcyI6bnVsbCwiYWdlbnRfayI6IlUzSkZRMUozVTJONWQwRTkifX0.5AeLsadecqDdTM2HTdzE1mh-vQMA4V93dTcC8xKTpJs
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/selforders?id=&xid=&pid=&pname=&uname=&uphone=&uidcard=&status=&pphone=&setrule=&starttime=&endtime=&sort&page=&limit=' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vd3d3LmtheGQuY24iLCJhdWQiOiJodHRwOi8vd3d3LmtheGQuY24iLCJpYXQiOjE3MzU2MzAxMDAsIm5iZiI6MTczNTYzMDExMCwiZXhwIjoxNzM1NjMzNzAwLCJkYXRhIjp7ImFnZW50X2lkIjoiMTAwMDAiLCJhZ2VudF9uYW1lIjoiXHU1Y2IzXHU2Y2ZkXHU0ZWU1IiwiYWdlbnRfdW5hbWUiOiJcdTVjYjNcdTZkNzdcdTRlMWMiLCJhZ2VudF9waG9uZSI6IjE1Njk4MzI2MTcyIiwiYWdlbnRfcm1iIjoiMTQ2LjAwIiwiYWdlbnRfdmlwIjpudWxsLCJkb21haW4iOiJrYS5rdXR1aS5uZXQiLCJhZ2VudF9zdGF0dXMiOiIxIiwiYWdlbnRfaXNvcGVuIjoiMCIsImFnZW50X2FwaSI6IjEiLCJhZ2VudF93eGtleSI6bnVsbCwiaXNfYWRkYmtnZSI6IjAiLCJhZ2VudGdyb3VwcyI6bnVsbCwiYWdlbnRfayI6IlUzSkZRMUozVTJONWQwRTkifX0.5AeLsadecqDdTM2HTdzE1mh-vQMA4V93dTcC8xKTpJs'
返回响应
🟢200成功
application/json
Body
code
string
必需
msg
string
必需
data
array [object {25}]
数据
order_id
string
必需
order_agent
string
必需
order_shop
string
必需
order_Name
string
必需
order_Phone
string
必需
order_IDCard
string
必需
order_Province
string
必需
order_Address
string
必需
ProductID
string
必需
s_time
string
必需
order_Express
null
必需
order_status
string
必需
api_reason
null
必需
plan_mobile
string
必需
api_xid
null
必需
is_active
null
必需
active_time
null
必需
is_recharge
null
必需
recharge_amount
null
必需
shop_bkge
integer
必需
first_bkge
string
必需
rebate_num
string
必需
shop_money
string
必需
updated_at
string
必需
agentids
null
必需
total
integer
总条数
page
integer
页码
limit
integer
每页条数
示例
{
"code": "1",
"msg": "success",
"data": [
{
"order_id": "K2024110811184165816",
"order_agent": "10000",
"order_shop": "测试支付",
"order_Name": "陈小姐",
"order_Phone": "188****8888",
"order_IDCard": "3301051978******17",
"order_Province": "北京市北京市东城区",
"order_Address": "******",
"ProductID": "1013",
"s_time": "2024-11-08 11:18:41",
"order_Express": null,
"order_status": "待处理",
"api_reason": null,
"plan_mobile": "",
"api_xid": null,
"is_active": null,
"active_time": null,
"is_recharge": null,
"recharge_amount": null,
"shop_bkge": 100,
"first_bkge": "0",
"rebate_num": "0",
"shop_money": "0",
"updated_at": "2024-11-08 11:18:41",
"agentids": null
},
{
"order_id": "K2024080823580943206",
"order_agent": "10000",
"order_shop": "MF中国电信浪花卡(珍藏版)",
"order_Name": "测试",
"order_Phone": "188****8888",
"order_IDCard": "1101012000******0X",
"order_Province": "天津市天津市和平区",
"order_Address": "******",
"ProductID": "336",
"s_time": "2024-08-08 23:58:09",
"order_Express": " ",
"order_status": "审核失败",
"api_reason": "2024-08-09下单发生异常订单校验异常226:申办人身份证信息校验失败,不能在线上办理业务",
"plan_mobile": "18888888888",
"api_xid": null,
"is_active": "",
"active_time": null,
"is_recharge": "",
"recharge_amount": "",
"shop_bkge": 81,
"first_bkge": "0",
"rebate_num": "0",
"shop_money": "1",
"updated_at": "2024-08-09 00:36:22",
"agentids": null
},
{
"order_id": "KTK2024031921040362747",
"order_agent": "10000",
"order_shop": "暖暖测试",
"order_Name": "测试",
"order_Phone": "188****8888",
"order_IDCard": "1101012000******01",
"order_Province": "甘肃省天水市甘谷县",
"order_Address": "******",
"ProductID": "18",
"s_time": "2024-03-19 21:04:03",
"order_Express": " ",
"order_status": "审核失败",
"api_reason": "失败:省份地址审核未通过,地址不发,可更换其他套餐!",
"plan_mobile": null,
"api_xid": null,
"is_active": null,
"active_time": null,
"is_recharge": null,
"recharge_amount": null,
"shop_bkge": 100,
"first_bkge": "0",
"rebate_num": "0",
"shop_money": "0",
"updated_at": "2024-07-20 12:02:19",
"agentids": null
},
{
"order_id": "KTK2024031720300191763",
"order_agent": "10000",
"order_shop": "测试",
"order_Name": "测试",
"order_Phone": "188****8888",
"order_IDCard": "1101012000******01",
"order_Province": "云南省曲靖市沾益区",
"order_Address": "******",
"ProductID": "14",
"s_time": "2024-03-17 20:30:01",
"order_Express": " ",
"order_status": "已激活",
"api_reason": "2024-03-18上游返回黑名单用户,拒绝开卡",
"plan_mobile": "",
"api_xid": null,
"is_active": null,
"active_time": null,
"is_recharge": null,
"recharge_amount": null,
"shop_bkge": 120,
"first_bkge": "0",
"rebate_num": "0",
"shop_money": "0",
"updated_at": "2024-07-20 12:02:19",
"agentids": null
},
{
"order_id": "KTK2024031520202876471",
"order_agent": "10000",
"order_shop": "测试",
"order_Name": "测试",
"order_Phone": "188****8888",
"order_IDCard": "1101012000******01",
"order_Province": "云南省昆明市五华区",
"order_Address": "******",
"ProductID": "14",
"s_time": "2024-03-15 20:20:28",
"order_Express": " ",
"order_status": "审核失败",
"api_reason": "2024-03-16上游返回黑名单用户,拒绝开卡",
"plan_mobile": "",
"api_xid": null,
"is_active": "",
"active_time": null,
"is_recharge": "",
"recharge_amount": "",
"shop_bkge": 120,
"first_bkge": "0",
"rebate_num": "0",
"shop_money": "0",
"updated_at": "2024-07-20 12:02:19",
"agentids": null
},
{
"order_id": "KTK2024022717395243732",
"order_agent": "10000",
"order_shop": "电信星享卡",
"order_Name": "测试",
"order_Phone": "188****8888",
"order_IDCard": "1101011989******02",
"order_Province": "辽宁省丹东市凤城市",
"order_Address": "******",
"ProductID": "1",
"s_time": "2024-02-27 17:39:52",
"order_Express": "",
"order_status": "已结算",
"api_reason": "",
"plan_mobile": "",
"api_xid": "ZEYI2024022717395379210",
"is_active": "",
"active_time": null,
"is_recharge": "",
"recharge_amount": "",
"shop_bkge": 130,
"first_bkge": "0",
"rebate_num": "0",
"shop_money": "0",
"updated_at": "2024-07-20 12:02:19",
"agentids": null
}
],
"total": 8,
"page": 1,
"limit": 10
}
修改于 2025-05-14 18:31:10