## 批量扣款
注意事項:
1. 二維數組
2. type=1 走個人消費扣款邏輯,暫時停止使用
3. 扣款會核對商戶ID和認籌訂單號,需要跟充值的一致
4. 認籌訂單為`凍結`狀態方可扣款
5. 每筆認籌訂單只可扣款一次
**請求方式**:POST
**請求地址**:`index/index/charge
`
**參數說明:**
| 參數 | 參數類型 | 必須 | 說明|
| ----------- | ------------------------------ | ------------ | --- |
| moneytype | Integer | yes | 01 自有資金 02 備付金(暫時不用) |
| phone | Integer | yes | 手機號 |
| amount | Integer | yes | 扣款金額 |
| amounttype | Integer | yes | 資金類型 01 凍結 02 贖回 03 消費 04 備付金(廢棄)|
| type | Integer | yes | 1 消費 2 凍結 |
| tradetype | Integer | yes | 501 消費抵扣、502 消費核銷、58 充值撤銷 |
| order_sn | String | yes | 認籌訂單號 |
| panterid | Integer | yes | 商戶ID |
| storeid | Integer | yes | 門店ID |
| source | Integer | yes | 05 房掌柜 訂單來源 |
| description | Integer | yes | 說明 |
| sign | String | yes | 秘鑰 |
**請求包結構體:**
~~~
[
{
"phone ": "15890151342",
"amount": "50",
"type": "2",
"tradetype":"502",
"order_sn": "19307200619833",
"panterid": "00000227",
"storeid": "88888888",
"source": "05",
"description": "房掌柜扣款",
"sign": "FFE3B2F7F6BABFB3ECC224A62B526F46"
},
{
"phone ": "15890151342",
"amount": "50",
"type": "2",
"tradetype":"502",
"order_sn": "19307200619833",
"panterid": "00000227",
"storeid": "88888888",
"source": "05",
"description": "房掌柜扣款",
"sign": "FFE3B2F7F6BABFB3ECC224A62B526F46"
}
]
~~~