企业微信(WeCom)-基础 icon

企业微信(WeCom)-基础

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

Actions248

小程序对外收款 → [支付] 获取支付签名

AI-generated

Summary

Generates the WeCom mini-program payment signature parameters for a prepayment. Use the prepay_id returned by the create-order operation, along with the app ID and nonce; the timestamp can be supplied in seconds or set to 0 to use the current time. The signature type is RSA.

Inputs

  • AppID (required) — The second-level merchant's official account or mini-program app ID.
  • 预支付ID (`prepay_id`) (required) — The prepay_id returned by the create-order operation.
  • 随机字符串 (`nonce`) (required) — A nonce no longer than 32 characters.
  • 时间戳 (`timestamp`) (required) — Timestamp in seconds; 0 means use the current time.
  • 签名类型 (`sign_type`) — RSA; the only available option and the default.

Output shape

A single item containing the generated payment signature parameters.

The supplied source pack shows only the operation's function signature, not its implementation or returned field names.

Links

Discussion