 | WorkRedPackApiSendWorkRedPack 方法 |
Senparc.Weixin SDK 官方教程《微信开发深度解析》已出版,支持中国开源事业,请【购买正版】!
《微信公众号+小程序》视频课程已经上线,【点击这里】学习!
NeuChar(纽插)已经上线,为开发者提供一站式跨平台管理枢纽,并可将应用入驻到 NeuChar 应用商店!新功能正在不断增加中,快来使用吧! https://www.neuchar.com
在线动态微信接口 Swagger WebApi 文档: https://weixin.senparc.com:8039
命名空间:
Senparc.Weixin.TenPay.V3
程序集:
Senparc.Weixin.TenPay (在 Senparc.Weixin.TenPay.dll 中) 版本:1.7.400+09cf0202d5d3e8b12fec87564321e2fafb5f0214
语法public static NormalRedPackResult SendWorkRedPack(
string appId,
string mchId,
string tenPayKey,
string tenPayCertPath,
string senderName,
int redPackAmount,
string wishingWord,
string actionName,
string remark,
int agentId,
out string nonceStr,
out string paySign,
out string WorkpaySign,
string openId,
string amtType,
string SenderHeader,
string sceneId,
string mchBillNo
)
Public Shared Function SendWorkRedPack (
appId As String,
mchId As String,
tenPayKey As String,
tenPayCertPath As String,
senderName As String,
redPackAmount As Integer,
wishingWord As String,
actionName As String,
remark As String,
agentId As Integer,
<OutAttribute> ByRef nonceStr As String,
<OutAttribute> ByRef paySign As String,
<OutAttribute> ByRef WorkpaySign As String,
openId As String,
amtType As String,
SenderHeader As String,
sceneId As String,
mchBillNo As String
) As NormalRedPackResult
参数
- appId
- 类型:SystemString
- mchId
- 类型:SystemString
- tenPayKey
- 类型:SystemString
- tenPayCertPath
- 类型:SystemString
- senderName
- 类型:SystemString
- redPackAmount
- 类型:SystemInt32
- wishingWord
- 类型:SystemString
- actionName
- 类型:SystemString
- remark
- 类型:SystemString
- agentId
- 类型:SystemInt32
- nonceStr
- 类型:SystemString
- paySign
- 类型:SystemString
- WorkpaySign
- 类型:SystemString
- openId
- 类型:SystemString
- amtType
- 类型:SystemString
- SenderHeader
- 类型:SystemString
- sceneId
- 类型:SystemString
- mchBillNo
- 类型:SystemString
返回值
类型:
NormalRedPackResult
参见