调用API发红包时,怎样传入“备注”项,以便在帐单中出现?

寰俊鏀粯 文章 2021-12-01 18:20 34 0 全屏看文

调用API发红包时,怎样传入“备注”项,以便在帐单中出现?When calling the API to send a red envelope, how do I pass in the "remarks" item so that it will appear in the bill?

调用API发红包时,怎样传入“备注”项,以便在帐单中出现?

通过 https://api.mch.weixin.qq.com/mmpaymkttransfers/sendredpack 发红包时,怎样传入“备注”项,以便在帐单中出现?按文档传入 remark 是无效的,请问应该怎样传?


Pass https://api.mch.weixin.qq.com/mmpaymkttransfers/sendredpack How to pass in the "remarks" item when sending a red envelope so that it can appear in the bill? It is invalid to pass remark by document. How should I pass it?

鍥炵瓟锛�

Memory:

测试了一笔,可以

<xml>    <act_name>测试红包</act_name>    <client_ip>113.110.254.106</client_ip>    <mch_billno>HB000911111117890</mch_billno>    <mch_id>1XXXXXX2</mch_id>    <nonce_str>5K8264ILTKCH16CQ2502SI8ZNMTM67VS</nonce_str>    <re_openid>ocjdd0-QXXXXXXXXxtFD3KRY</re_openid>    <remark>测试红包</remark>    <send_name>测试红包</send_name>    <total_amount>100</total_amount>    <total_num>1</total_num>    <wishing>感谢你的支持</wishing>    <wxappid>wxXXXXXXXXXXX26</wxappid>    <sign>7ACE727E8FB124EDC53E8BE90D9185E0</sign></xml>



北望沣渭:

把你发送的XML打印出来,形如:

<xml><sign><![CDATA[E1EE61A91C8E90F299DE6AE075D60A2D]]></sign><mch_billno><![CDATA[0010010404201411170000046545]]></mch_billno><mch_id><![CDATA[888]]></mch_id><wxappid><![CDATA[wxcbda96de0b165486]]></wxappid><send_name><![CDATA[send_name]]></send_name><re_openid><![CDATA[onqOjjmM1tad-3ROpncN-yUfa6uI]]></re_openid><total_amount><![CDATA[200]]></total_amount><total_num><![CDATA[1]]></total_num><wishing><![CDATA[恭喜发财]]></wishing><client_ip><![CDATA[127.0.0.1]]></client_ip><act_name><![CDATA[新年红包]]></act_name><remark><![CDATA[新年红包]]></remark><scene_id><![CDATA[PRODUCT_2]]></scene_id><nonce_str><![CDATA[50780e0cca98c8c8e814883e5caa672e]]></nonce_str><risk_info>posttime%3d123123412%26clientversion%3d234134%26mobile%3d122344545%26deviceid%3dIOS</risk_info></xml>


看下为啥无效?

Ken:后台帐单中没有呢
Ken:
Ken:

这个是官方的回复吗?真没有??

-EOF-