获取账单支付状态
1、功能名称:获取账单支付状态
2、功能描述:获取账单支付状态
3、请求地址:https://ssl.glitzcloud.com/agent/v1/api/invoice/status
 测试地址:http://gztest.glitzcloud.com/agent/v1/api/invoice/status
4、请求方式:POST
5、请求参数
| 名称 | 类型 | 必填 | 示例值 | 描述 |
|---|---|---|---|---|
| store_name | String | 是 | The Warehouse USA | 仓库名称 |
| billing_sn | String | 是 | GCB17022100001 | 账单编号 |
6、请求示例
array(
'format'=>'json',
'apikey'=>'85082f5f62a811e684f500163e06045f',
'randoms'=>1234,
'sign'=>'656d6fbe6b7dec6c2e77ffe27f04bd6d',
'store_name' => 'The Warehouse USA',
'billing_sn' => 'GCB17022100001',
);
7、返回格式:JSON
8、返回示例:
正确时的返回JSON数据包如下:
{"status":200,"reqMsg":"ok","result":{"billing_sn":"GCB17022100002","pay_status":"30","pay_time":"2017-02-21"}}
错误时的返回JSON数据包如下:
{"status":"2592","reqMsg":"The bill No doesn't exist.","result":[]}
9、返回参数说明:
| 参数 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| billing_sn | String | GCB17022100002 | 账单编号 |
| pay_status | Integer | 30 | 支付状态 10:未支付; 20:用户确认;30:支付完成 |
| pay_time | String | 2017-03-08 | 支付时间 |
