订单列表
请求接口
请求头部(Headers)
字段名 字段值 操作
+ 添加字段
请求参数(Params)
字段名 字段值 操作
+ 添加字段

* token用于请求头部(Headers)或请求参数(Params)皆可

响应数据
{ "status": true, "code": 0, "msg": "获取成功", "data": { "page": 1, "total": 9, "totalPage": 1, "results": [ { "sn": "544987000", "member": 18, "payFrom": "balance", "status": "payed", "currency": "USD", "targetId": 31, "addtime": 20260305162723, "genre": "purchase", "totalFee": 6.5, "activationStatus": "activating", "voucherInfo": [], "categoryInfo": { "id": 31, "name": "3HK0", "sellCurrency": "USD", "brandId": 18, "trafficType": 1, "regionCode": "HK", "roamingRegionList": [ "MO" ], "trafficTypeInfo": { "id": 1, "symbol": "unlimited_speed", "name": "用完即停", "description": "全速上网", "speedLimitKbps": 0, "isCutOff": 1, "status": 0 } }, "brandInfo": { "id": 18, "brand": "3国际万能卡" } }, { "sn": "540538000", "member": 18, "payFrom": "balance", "status": "payed", "currency": "USD", "targetId": 31, "addtime": 20260210170728, "genre": "purchase", "totalFee": 6.5, "activationStatus": "activated", "voucherInfo": [ { "orderSn": "540538000", "categoryId": 31, "lpa": "LPA:1$xxx.prod.xxxxxxxxxxx.com$TEST1234567890", "status": 2, "number": "", "verifyCode": "123456", "qrcode": "data:image/png;base64,..." } ], "categoryInfo": {...}, "brandInfo": {...} }, ... ] } }
请求字段说明
字段 类型 说明
token string

访问信令,用于请求接口的身份验证

page number

订单页码

pageSize number

每页数量

genre string

订单类型(可选),值为:recharge - 充值订单,purchase - 购买订单

status string

订单状态(可选),值为:payed - 已支付,pending - 未支付,closed - 已关闭, refuse - 已拒绝

响应字段说明
字段 类型 说明
status boolean

【请求状态】

true - 请求成功

false - 请求失败

code number

-

msg string

【请求说明】

data array

page - 当前页码

total - 总订单数

totalPage - 总页数

results - 订单列表


【订单详情信息】

sn - 订单编号

genre - 订单类型(可选),值为:recharge - 充值订单,purchase - 购买订单

status - 订单状态(可选),值为:payed - 已支付,pending - 未支付,closed - 已关闭, refuse - 已拒绝

addtime - 订单创建时间

member - 用户ID

payFrom - 支付来源

currency - 货币类型

totalFee - 订单金额

categoryInfo - eSim类型信息

brandInfo - eSim品牌信息

activation_status - eSim开通状态(activated-已开通,activating-开通中)

voucherInfo - eSim凭证信息(activation_status为activating时为空数组;activated时为数组,每个元素为一张eSim卡)


【eSim类型信息】

id - eSim类型ID

name - eSim名称

note - eSim说明

hasNumber - 是否有号码

needRealname - 是否需要登记

renew - 是否可续费

highSpeedFlow - 高速流量(单位:Mb)

trafficType - 流量类型

lifetime - 有效期(单位:天)

sellCurrency - 货币类型

esimStore - 库存数量


【eSim品牌信息】

id - eSim品牌ID

brand - eSim品牌名称


【eSim凭证信息】(voucherInfo不为空时,每个元素包含以下字段)

orderSn - 订单编号

categoryId - eSim类型ID

lpa - eSim配置(用于生成二维码)

status - 卡券状态(2-已领取)

number - eSim卡号码

verifyCode - eSim配置验证码

qrcode - eSim配置二维码(base64格式)