上报订单关联信息
从业机构/服务商/渠道商/商户可调用该接口,在商户订单下单完成后,上报订单关联信息,以便后续在支付环节进行风险管控 官方文档
js
wxpay.v3.merchantRiskManage.reportTradeUnionInformation.post({
sp_mchid,
acquiring_bank_id,
channel_id,
sub_mchid,
out_trade_no,
openid,
phone,
certificates_number,
client_ip,
risk_level,
line_type,
goods_type,
seller_type,
is_need_deliver,
device_type,
userid,
phone_from,
seller_userid,
scene,
recharge_fields,
living_expenses_fields,
extra_fields1,
extra_fields2,
extra_fields3,
}, { headers, })
.then(
({
data: {
sp_mchid,
acquiring_bank_id,
channel_id,
sub_mchid,
out_trade_no,
},
}) => ({
sp_mchid,
acquiring_bank_id,
channel_id,
sub_mchid,
out_trade_no,
})
)