http://api.mch.tenpay.com/cgi-bin/mch_custom_declare.cgi
加群协助谢谢
新接口https://api.mch.weixin.qq.com/cgi-bin/mch/customs/customdeclareorder提示xml参数错误
请求xml如下
<? xml version = "1.0" ?> < xml > < appid >wx2421b1c4370ec43b</ appid > < customs >SHANGHAI_ZS</ customs > < mch_customs_no >6</ mch_customs_no > < mch_id >1900000109</ mch_id > < out_trade_no >15112496832609</ out_trade_no > < sign >CAEB5B2EA3F0C86CA9DC2FD7DE654BCD</ sign > < transaction_id >1006930610201511241751403478</ transaction_id > < action_type >ADD</ action_type > < cert_id >111111111111111111</ cert_id > < cert_type >IDCARD</ cert_type > < name >张三</ name > </ xml >
|
返回xml
< xml > < return_code > <![CDATA[FAIL]]> </ return_code > < return_msg > <![CDATA[xml参数格式错误]]> </ return_msg > </ xml > |
你好,https://pay.weixin.qq.com/wiki/doc/api/external/declarecustom.php?chapter=18_1这里是对应的文档,请仔细查看。https://developers.weixin.qq.com/community/pay/doc/000c843e9106306e3f689096f56008报关接口常见问题
不是这个文档呀
https:
//mp.weixin.qq.com/s?__biz=MzI3NDA4Mzk3Ng==&mid=400147146&idx=1&sn=37d3ae18ddfae21bfe55b626b601d9cf&chksm=79341b2d4e43923b75777264ca3f7658db277d02378635ed24a1d3d44f27e75d55ba70da528c&mpshare=1&scene=23&srcid=#rd
是这个接口文档开发的
麻烦加群协助处理谢谢
目前使用的
接口链接
URL地址:http://api.mch.tenpay.com/cgi-bin/mch_custom_declare.cgi
而不是你提供的https://api.mch.weixin.qq.com/cgi-bin/mch/customs/customdeclareorder
请协助处理下