企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

对外收款 → [商户号] 设置商户号使用范围

AI-generated

Summary

Replace the WeCom merchant account’s allowed-use scope with the supplied member, department, and tag lists. The update is performed as a whole, so include every entry that should remain in scope.

Inputs

  • mch_id (required) — WeChat Pay merchant ID (mch_id), up to 32 UTF-8 bytes.
  • scope_users — Member UserID list. Separate entries with commas, Chinese commas, vertical bars, or line breaks; duplicate values are removed.
  • scope_partyids — Department ID list containing positive integers. Supports commas, Chinese commas, vertical bars, or line breaks.
  • scope_tagids — Tag ID list containing positive integers. Supports commas, Chinese commas, vertical bars, or line breaks.

Output shape

A single item containing the WeCom API response.

This operation replaces the merchant’s use scope as a whole; provide the complete intended lists. The operation-scoped source shows the execution entry point but not the request or response handling, so the response fields cannot be specified.

Links

Discussion