public interface PartnerPayScoreService
服务商支付分相关服务类. 微信支付分是对个人的身份特质、支付行为、使用历史等情况的综合计算分值,旨在为用户提供更简单便捷的生活方式。 微信用户可以在具体应用场景中,开通微信支付分。开通后,用户可以在【微信—>钱包—>支付分】中查看分数和使用记录。 (即需在应用场景中使用过一次,钱包才会出现支付分入口)
WxPartnerPayScoreResult permissions(WxPartnerPayScoreRequest request) throws WxPayException
request - WxPartnerPayScoreRequest 请求对象WxPayException - the wx pay exceptionWxPartnerPayScoreResult permissionsQueryByAuthorizationCode(String serviceId, String subMchid, String authorizationCode) throws WxPayException
serviceId - 服务idsubMchid - 特约子商户号authorizationCode - 授权协议号WxPayException - the wx pay exceptionWxPartnerPayScoreResult permissionsTerminateByAuthorizationCode(String serviceId, String subMchid, String authorizationCode, String reason) throws WxPayException
serviceId - 服务idsubMchid - 特约子商户号authorizationCode - 授权协议号reason - 撤销原因WxPayException - the wx pay exceptionWxPartnerPayScoreResult permissionsQueryByOpenId(String serviceId, String appId, String subMchid, String subAppid, String openId, String subOpenid) throws WxPayException
serviceId - 服务idsubMchid - 特约子商户号appId - 服务商的公众号IDsubAppid - 子商户的公众号IDopenId - 服务商的用户标识subOpenid - 子商户的用户标识WxPayException - the wx pay exceptionWxPartnerPayScoreResult permissionsTerminateByOpenId(String serviceId, String appId, String subMchid, String subAppid, String openId, String subOpenid, String reason) throws WxPayException
serviceId - 服务idsubMchid - 特约子商户号appId - 服务商的公众号IDsubAppid - 子商户的公众号IDopenId - 服务商的用户标识subOpenid - 子商户的用户标识reason - 取消理由WxPayException - the wx pay exceptionWxPartnerPayScoreResult createServiceOrder(WxPartnerPayScoreRequest request) throws WxPayException
request - 请求对象WxPayException - the wx pay exceptionWxPartnerPayScoreResult queryServiceOrder(String serviceId, String subMchid, String outOrderNo, String queryId) throws WxPayException
serviceId - 服务IDsubMchid - 子商户商户号outOrderNo - 商户订单号queryId - 单据查询IDWxPayException - the wx pay exceptionWxPartnerPayScoreResult cancelServiceOrder(String serviceId, String appId, String subMchid, String outOrderNo, String reason) throws WxPayException
serviceId - 服务IDsubMchid - 子商户商户号outOrderNo - 商户订单号reason - 撤销原因WxPayException - the wx pay exceptionWxPartnerPayScoreResult modifyServiceOrder(WxPartnerPayScoreRequest request) throws WxPayException
request - the requestWxPayException - the wx pay exceptionvoid completeServiceOrder(WxPartnerPayScoreRequest request) throws WxPayException
request - the requestWxPayException - the wx pay exceptionWxPartnerPayScoreResult payServiceOrder(String serviceId, String appId, String subMchid, String outOrderNo) throws WxPayException
serviceId - 服务IDsubMchid - 子商户商户号outOrderNo - 商户订单号WxPayException - the wx pay exceptionWxPartnerPayScoreResult syncServiceOrder(WxPartnerPayScoreRequest request) throws WxPayException
request - the requestWxPayException - the wx pay exceptionWxPartnerPayScoreResult applyServiceAccount(WxPartnerPayScoreRequest request) throws WxPayException
收付通子商户申请绑定支付分服务API. 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter9_1.shtml 请求URL: https://api.mch.weixin.qq.com/v3/payscore/partner/service-account-applications
request - the requestWxPayException - the wx pay exceptionWxPartnerPayScoreResult queryServiceAccountState(String outApplyNo) throws WxPayException
查询收付通子商户服务绑定结果API.
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter9_2.shtml
请求URL: https://api.mch.weixin.qq.com/v3/payscore/partner/service-account-applications/{out_apply_no}
outApplyNo - 商户申请绑定单号WxPayException - the wx pay exceptionWxPartnerUserAuthorizationStatusNotifyResult parseUserAuthorizationStatusNotifyResult(String notifyData, SignatureHeader header) throws WxPayException
notifyData - 通知数据header - 通知头部数据,不传则表示不校验头WxPayException - the wx pay exceptionPayScoreNotifyData parseNotifyData(String data, SignatureHeader header) throws WxPayException
data - the dataWxPayExceptionWxPartnerPayScoreResult decryptNotifyDataResource(PayScoreNotifyData data) throws WxPayException
data - the dataWxPayException - the wx pay exceptionCopyright © 2024. All rights reserved.