服务商场景中预授权
服务商场景中预授权 官方文档
js
wxpay.v3.payscore.partner.permissions.applyForScene.post({
service_id,
appid,
sub_appid,
sub_mchid,
authorization_code,
notify_url,
scene,
transaction_scene_info,
})
.then(
({
data: {
scene,
transaction_permissions_token,
},
}) => ({
scene,
transaction_permissions_token,
})
)