社保流水
手动生成流水是运营后台调用的。
用户未支付的流水列表
接口URI
/sbl/order/wage/list0/v1 POST
接口参数
String key 用户登录标识
响应数据同下一接口(已支付)相同
用户已支付和之后的流水列表
接口URI
/sbl/order/wage/list1/v1 POST
接口参数
String key 用户登录标识
String order_no 单号
int opt_month 核算(操作)月份
double charge 服务费
double wage 流水金额
double total_fee 支付金额
String pay_date 最晚支付日期
int pay_status 支付状态(1:待支付 2:支付成功 4:返还成功 5:返还失败 11:全额退款 12:原路返还)
String gen_time 生成时间
String pay_time 支付时间
String hf_time 返还时间
String fail_reason 失败原因,返还失败状态时才有值
int sbu_id 参保用户的ID
String uname 参保用户
String city 城市名称
String hf_remark 返还时间说明,用的是配置里的说明
{
"msg": "",
"data": [{
"order_no": "0110010000000023201812",
"opt_month": 201812,
"charge": 35.0,
"wage": 2900.0,
"total_fee": 2935.0,
"pay_date": "2018-12-14",
"pay_status": 2,
"gen_time": "2018-12-11 16:26:16",
"pay_time": "2018-12-11 17:26:16",
"hf_time": null,
"sbu_id": 23,
"uname": "囡囡",
"city": "广州",
"hf_remark": "截止日的后一周内返还"
}],
"code": 200
}
流水支付
接口URI
/sbl/order/wage/pay/v1 POST
接口参数
String key 用户登录标识
String order_no 流水单号
Integer pay_channel 支付渠道 (百度小程序支付时值=13, 微信小程序支付时值=5)
根据支付渠道,返回不同的结果。
手动生成指定月份单的社保流水 运营后台调用。
接口URI
/sbl/order/wage/new/v1 POST
接口参数
String order_nos 多个单号以","分隔
Integer wage 流水金额-不包含服务费
处理结果字符串