1.我传的相关参数
string(4) "POST" string(73) "https://api.mch.weixin.qq.com/v3/marketing/busifavor/subsidy/pay-receipts" array(2) { ["headers"]=> array(3) { ["Content-Type"]=> string(16) "application/json" ["Accept"]=> string(16) "application/json" ["Idempotency-Key"]=> string(17) "subsidy1621652839" } ["body"]=> string(263) "{"stock_id":"1268620000000035","coupon_code":"1206739757003090881669","transaction_id":"4200001028202105206632837843","payer_merchant":"1600253696","payee_merchant":"1608639817","amount":1,"description":"测试","out_subsidy_no":"subsidy160025369620210522110719"}" }
2.接口返回内容是
array(2) { ["code"]=> string(7) "NO_AUTH" ["message"]=> string(21) "无权限使用此API" }
3.前置条件:商家必须核销了商家券且发起了微信支付收款
这个权限要申请
这个应该是「电商收付通」的补差接口,一般的商户应该用不了。