企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

企业红包与向员工付款 → [兼容旧商户·企业红包] 查询红包记录

AI-generated

Summary

Looks up the status and details of a legacy WeCom enterprise red packet using its merchant order number. Use this operation with enterprise payment merchant credentials for orders issued through the legacy XML API.

Inputs

  • mch_billno (required) — Unique merchant order number for the red packet, up to 28 characters. Reuse the original number when retrying a query.
  • extraXmlFields — Optional JSON object of additional XML fields; accepts safe XML field names with string or numeric values. Core request fields take precedence.

Output shape

A single record containing the parsed response from the WeCom merchant XML API.

The query is limited to orders from the past 30 days. No record returned does not establish that the red packet failed to send; retain the original order number and retry later. Legacy red packet interfaces may be unavailable to newly created WeCom enterprises.

Links

Discussion