public interface PartnerPayScoreService
服务商支付分相关服务类. 微信支付分是对个人的身份特质、支付行为、使用历史等情况的综合计算分值,旨在为用户提供更简单便捷的生活方式。 微信用户可以在具体应用场景中,开通微信支付分。开通后,用户可以在【微信—>钱包—>支付分】中查看分数和使用记录。 (即需在应用场景中使用过一次,钱包才会出现支付分入口)
| 限定符和类型 | 方法和说明 |
|---|---|
WxPartnerPayScoreResult |
applyServiceAccount(WxPartnerPayScoreRequest request)
收付通子商户申请绑定支付分服务API.
|
WxPartnerPayScoreResult |
cancelServiceOrder(String serviceId,
String appId,
String subMchid,
String outOrderNo,
String reason)
支付分取消订单API.
|
void |
completeServiceOrder(WxPartnerPayScoreRequest request)
支付分完结订单API.
|
WxPartnerPayScoreResult |
createServiceOrder(WxPartnerPayScoreRequest request)
支付分创建订单API.
|
WxPartnerPayScoreResult |
decryptNotifyDataResource(PayScoreNotifyData data)
支付分回调NotifyData解密resource
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_2.shtml
|
WxPartnerPayScoreResult |
modifyServiceOrder(WxPartnerPayScoreRequest request)
支付分修改订单金额API.
|
PayScoreNotifyData |
parseNotifyData(String data,
SignatureHeader header)
支付分回调内容解析方法
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_2.shtml
|
UserAuthorizationStatusNotifyResult |
parseUserAuthorizationStatusNotifyResult(String notifyData,
SignatureHeader header)
授权/解除授权服务回调数据处理
文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter4_4.shtml
|
WxPartnerPayScoreResult |
payServiceOrder(String serviceId,
String appId,
String subMchid,
String outOrderNo)
商户发起催收扣款API.
|
WxPartnerPayScoreResult |
permissions(WxPartnerPayScoreRequest request)
支付分商户预授权API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter5_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/permissions
|
WxPartnerPayScoreResult |
permissionsQueryByAuthorizationCode(String serviceId,
String subMchid,
String authorizationCode)
支付分查询与用户授权记录(授权协议号)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter5_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/permissions/authorization-code/{authorization_code}
|
WxPartnerPayScoreResult |
permissionsQueryByOpenId(String serviceId,
String appId,
String subMchid,
String subAppid,
String openId,
String subOpenid)
支付分查询与用户授权记录(openid)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter5_3.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/permissions/search
|
WxPartnerPayScoreResult |
permissionsTerminateByAuthorizationCode(String serviceId,
String subMchid,
String authorizationCode,
String reason)
解除用户授权关系(授权协议号)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter5_4.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/permissions/authorization-code/{authorization_code}/terminate
|
WxPartnerPayScoreResult |
permissionsTerminateByOpenId(String serviceId,
String appId,
String subMchid,
String subAppid,
String openId,
String subOpenid,
String reason)
解除用户授权关系(openid)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter5_5.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/permissions/openid/{openid}/terminate
|
WxPartnerPayScoreResult |
queryServiceAccountState(String outApplyNo)
查询收付通子商户服务绑定结果API.
|
WxPartnerPayScoreResult |
queryServiceOrder(String serviceId,
String subMchid,
String outOrderNo,
String queryId)
支付分查询订单API.
|
WxPartnerPayScoreResult |
syncServiceOrder(WxPartnerPayScoreRequest request)
支付分订单收款API.
|
WxPartnerPayScoreResult permissions(WxPartnerPayScoreRequest request) throws WxPayException
支付分商户预授权API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter5_1.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/permissions
request - 请求对象WxPayException - the wx pay exceptionWxPartnerPayScoreResult permissionsQueryByAuthorizationCode(String serviceId, String subMchid, String authorizationCode) throws WxPayException
支付分查询与用户授权记录(授权协议号)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter5_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/permissions/authorization-code/{authorization_code}
serviceId - subMchid - authorizationCode - WxPayException - the wx pay exceptionWxPartnerPayScoreResult permissionsTerminateByAuthorizationCode(String serviceId, String subMchid, String authorizationCode, String reason) throws WxPayException
解除用户授权关系(授权协议号)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter5_4.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/permissions/authorization-code/{authorization_code}/terminate
serviceId - subMchid - authorizationCode - reason - WxPayException - the wx pay exceptionWxPartnerPayScoreResult permissionsQueryByOpenId(String serviceId, String appId, String subMchid, String subAppid, String openId, String subOpenid) throws WxPayException
支付分查询与用户授权记录(openid)API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter5_3.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/permissions/search
serviceId - subMchid - subAppid - openId - subOpenid - WxPayException - the wx pay exceptionWxPartnerPayScoreResult permissionsTerminateByOpenId(String serviceId, String appId, String subMchid, String subAppid, String openId, String subOpenid, String reason) throws WxPayException
解除用户授权关系(openid)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter5_5.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/permissions/openid/{openid}/terminate
serviceId - subMchid - subAppid - openId - subOpenid - reason - WxPayException - the wx pay exceptionWxPartnerPayScoreResult createServiceOrder(WxPartnerPayScoreRequest request) throws WxPayException
支付分创建订单API. 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter3_1.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/serviceorder
request - 请求对象WxPayException - the wx pay exceptionWxPartnerPayScoreResult queryServiceOrder(String serviceId, String subMchid, String outOrderNo, String queryId) throws WxPayException
支付分查询订单API. 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter3_2.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/serviceorder
serviceId - subMchid - outOrderNo - the out order noqueryId - the query idWxPayException - the wx pay exceptionWxPartnerPayScoreResult cancelServiceOrder(String serviceId, String appId, String subMchid, String outOrderNo, String reason) throws WxPayException
支付分取消订单API.
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter3_3.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/serviceorder/{out_order_no}/cancel
serviceId - subMchid - outOrderNo - the out order noreason - the reasonWxPayException - the wx pay exceptionWxPartnerPayScoreResult modifyServiceOrder(WxPartnerPayScoreRequest request) throws WxPayException
支付分修改订单金额API.
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter3_4.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/partner/serviceorder/{out_order_no}/modify
request - the requestWxPayException - the wx pay exceptionvoid completeServiceOrder(WxPartnerPayScoreRequest request) throws WxPayException
支付分完结订单API.
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter3_5.shtml
请求URL:https://api.mch.weixin.qq.com/v3/payscore/partner/serviceorder/{out_order_no}/complete
request - the requestWxPayException - the wx pay exceptionWxPartnerPayScoreResult payServiceOrder(String serviceId, String appId, String subMchid, String outOrderNo) throws WxPayException
商户发起催收扣款API.
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter3_6.shtml
请求URL:https://api.mch.weixin.qq.com/v3/payscore/partner/serviceorder/{out_order_no}/pay
serviceId - subMchid - outOrderNo - the out order noWxPayException - the wx pay exceptionWxPartnerPayScoreResult syncServiceOrder(WxPartnerPayScoreRequest request) throws WxPayException
支付分订单收款API.
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore_partner/chapter3_7.shtml
请求URL: https://api.mch.weixin.qq.com/v3/payscore/partner/serviceorder/{out_order_no}/sync
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 exceptionUserAuthorizationStatusNotifyResult parseUserAuthorizationStatusNotifyResult(String notifyData, SignatureHeader header) throws WxPayException
授权/解除授权服务回调数据处理 文档地址: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter4_4.shtml
notifyData - 通知数据header - 通知头部数据,不传则表示不校验头WxPayException - the wx pay exceptionPayScoreNotifyData parseNotifyData(String data, SignatureHeader header) throws WxPayException
支付分回调内容解析方法 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_2.shtml
data - the dataWxPayExceptionWxPartnerPayScoreResult decryptNotifyDataResource(PayScoreNotifyData data) throws WxPayException
支付分回调NotifyData解密resource 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_2.shtml
data - the dataWxPayException - the wx pay exceptionCopyright © 2022. All rights reserved.