创建保险订单
商户可通过该接口创建保险订单。 官方文档
js
wxpay.v3.hirePowerBank.insuranceOrders.post({
out_order_no,
openid,
notify_url,
service_id,
})
.then(
({
data: {
order_id,
out_order_no,
openid,
max_claim_count,
claimed_count,
order_receive_time,
order_begin_time,
order_end_time,
order_receive_state,
},
}) => ({
order_id,
out_order_no,
openid,
max_claim_count,
claimed_count,
order_receive_time,
order_begin_time,
order_end_time,
order_receive_state,
})
)