可使用此接口查询订单信息:http://www.ecapi.cn/index/index/openapi/id/278.shtml?ptype=9
充值面额可使用此接口查询:http://www.ecapi.cn/index/index/openapi/id/279.shtml?ptype=9
参数 | 类型 | 请求参数参考值 | 是否必须 | 说明 |
apkey | String | xxxxxxx | 是 | 用户中心 - 系统设置 - 平台设置 中查看APKEY密钥 (点我获取)(*必要) |
denomination | Number | 50 | 是 | 面额 |
rechargeType | Number | 10 | 是 | 充值方式,0:快充 10:慢充 |
rechargeMobile | String | 132xxxxxxxx | 是 | 充值手机号 |
nickname | String | dragon | 创建订单所使用用户账号的昵称,为空时为mobile的值 | |
mobile | String | 13288888888 | 创建订单所使用用户账号的手机号,为空时自动使用充值手机号 | |
user_id | String | 8888 | 是 | 自定义用户ID,订单接口中会透出 |
返回参数 | 类型 | 参数说明 | 扩展说明 |
data | Json | 返回数据 | |
├ orderType | Number | 订单类型 | |
├ orderNo | String | 订单号 |
{"code":200,"data":{"orderType":0,"orderNo":"xxxxxxx"},"msg":"success"}
code/http_status | 说明 |
200 | 数据获取成功 |
-1 | 数据获取失败 |
401 | IP没有添加白名单 |
429 | 访问次数超限 |
403 | 关键参数丢失 |
405 | 请求方式不对 |