企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

企业微信基础功能 - 通讯录、应用消息、群聊、消息推送、企业互联、素材、系统、电子发票、第三方应用授权、接口调用许可、收银台、对外收款、小程序对外收款、企业红包/向员工付款、数据与智能专区、会话内容存档、推广二维码、账号ID、安全管理

Actions248

小程序对外收款 → [支付] 关闭订单

AI-generated

Summary

Closes a WeCom mini-program payment order for the specified merchant and merchant order number. After closing, the order can no longer be paid.

Inputs

  • mchid (required) — Sub-merchant ID.
  • out_trade_no (required) — Order number assigned by the merchant’s system.
  • credentials (required) — WeCom payment credentials used to make the request.

Output shape

A single item containing the API response.

The operation changes the order’s payment state. Confirm the merchant ID and order number before running; the UI notice warns that a closed order cannot be paid.

Links

Discussion