接口服务商:互亿无线(www.ihuyi.com)
1.单号码充值话费
请求(POST 或者GET)
类型 |
参数名称 |
参数值描述 |
参数 |
action |
recharge |
参数 |
username |
用户名(签名) |
参数 |
mobile |
手机号码(签名) |
参数 |
package |
套餐数额(签名) |
参数 |
orderid |
订单ID(签名) |
参数 |
timestamp |
时间戳(签名) 允许 10 分钟 统一以东 8 时间 |
参数 |
sign |
签名 |
返回值(JSON格式)
命名 |
类型 |
描述 |
code |
int |
代码(1为提交成功) |
message |
string |
消息描述 |
taskid |
string |
任务id,提交失败则没有 |
2.帐号余额查询
请求(POST 或者GET)
类型 |
参数名称 |
参数值描述 |
参数 |
action |
getbalance |
参数 |
username |
用户名(签名) |