```javascript
WXAPI.payBillDiscounts()
```
```json
{
"code": 0,
"data": [
{
"consume": 10000,
"discounts": 500,
"loop": false,
"openOrder": false,
"openScenePay": true
}
],
"msg": "success"
}
```
+ consume consumption amount
+ discounts discount amount (how much can be directly reduced)
+ loop is superimposed, please refer to the description below for details
+ openOrder Mall order whether it matches the full discount rule
+ When making an offline purchase with openScenePay, does it match the full discount rule?
`loop` description:
+ true: Enable overlay. If there is a rule that reduces 10 yuan for purchases over 100 yuan, then if the user spends 200 yuan, the system will automatically reduce 20 yuan.
+ false: Do not enable overlay. If there is a rule that reduces 10 yuan for a purchase of 100 yuan or more, then if the user spends 200 yuan, the system will still only reduce 10 yuan.