> For AI agents: the complete documentation index is available at /zh/llms.txt, the full documentation bundle is available at /zh/llms-full.txt. # 终端结算(交班) 向支付终端推送结算(交班)指令,完成日终结算操作。 ## 接口信息 - **接口地址:** POST `https://api.aimt-horizon.com/mis/shift` - **签名凭证:** 使用 terminal_sn + terminal_key ## 请求参数 | 参数 | 类型 | 是否必填 | 说明 | | ------------------ | ---------- | ---- | ------------------------- | | `terminal_sn` | String(32) | 是 | 绑定来源系统的终端序列号 | | `target_device_id` | String(20) | 是 | 目标支付设备 ID,例如终端背面的 TUSN 编号 | ## 交班请求示例 ```json { "terminal_sn": "2101107140290972547", "target_device_id": "TUSN12345678" } ``` 在目标设备支持并开通时调用。接口未提供统一交班结果查询地址;请通过设备或已约定的渠道结果完成验收。 ## 响应示例(指令受理) ```json { "result_code": "200", "error_message": null, "error_code": null, "biz_response": { "result_code": "MIS_PUSH_SUCCESS", "error_code": null, "error_message": null } } ``` ## 响应示例(失败) ```json { "result_code": "200", "error_message": null, "error_code": null, "biz_response": { "result_code": "MIS_PUSH_FAIL", "error_code": "MIS_PUSH_FAIL", "error_message": "Push failed" } } ``` :::warning 要点 - 结算操作通常在营业日结束时执行。 - 发起结算前,请确保当日所有交易均已处理完成。 - MIS_PUSH_SUCCESS 只表示交班指令受理。本组接口未确认通用交班结果查询或汇总回调;须按设备联调确认完成,不等同资金结算到账。 :::