企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
## 批量扣款 注意事项: 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" } ] ~~~