使用酒店押金V2接口支付押金Native接口调试,始终返回“参数错误”,按照文档格式传递的参数,商户号的Native和酒店押金也都授权了,提供的请求参数相关敏感字段做过删改
{
"appid": "wx5c2595cab8da",
"mch_id": "1434602",
"sub_mch_id": "1638831",
"body": "\u9999\u70df1\u6761",
"out_trade_no": "T03061619000783306",
"total_fee": 1,
"fee_type": "CNY",
"notify_url": "http:\/\/oapi\/v1\/prePay\/wxNotify",
"trade_type": "NATIVE",
"time_start": "20230306161953",
"time_expire": "20230306221953",
"spbill_create_ip": "127.0.0.1",
"nonce_str": "lXag3JMxgEF8YHBUKRYHwdb3Bn8QPyCj",
"sign_type": "HMAC-SHA256",
"sign": "ADFAB004C3CA2D330FF9A5609F71D76B2856B1DD6CB25B491FD120109"
}
服务商酒店押金不支持Native支付模式
我也遇到了,我把sub_openid传上去就行了。