public interface PayScoreService
支付分相关服务类. 微信支付分是对个人的身份特质、支付行为、使用历史等情况的综合计算分值,旨在为用户提供更简单便捷的生活方式。 微信用户可以在具体应用场景中,开通微信支付分。开通后,用户可以在【微信—>钱包—>支付分】中查看分数和使用记录。 (即需在应用场景中使用过一次,钱包才会出现支付分入口) Created by doger.wang on 2020/05/12.
限定符和类型 | 方法和说明 |
---|---|
WxPayScoreResult |
cancelServiceOrder(String outOrderNo,
String reason)
支付分取消订单API.
|
WxPayScoreResult |
completeServiceOrder(WxPayScoreRequest request)
支付分完结订单API.
|
WxPayScoreResult |
createServiceOrder(WxPayScoreRequest request)
支付分创建订单API.
|
WxPayScoreResult |
decryptNotifyDataResource(PayScoreNotifyData data)
支付分回调NotifyData解密resource
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_2.shtml
|
WxPayScoreResult |
modifyServiceOrder(WxPayScoreRequest 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
|
WxPayScoreResult |
payServiceOrder(String outOrderNo)
支付分订单收款API.
|
WxPayScoreResult |
permissions(WxPayScoreRequest request)
支付分商户预授权API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions
|
WxPayScoreResult |
permissionsQueryByAuthorizationCode(String authorizationCode)
支付分查询与用户授权记录(授权协议号)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/authorization-code/{authorization_code}
|
WxPayScoreResult |
permissionsQueryByOpenId(String openId)
支付分查询与用户授权记录(openid)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_4shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/openid/{openid}
|
WxPayScoreResult |
permissionsTerminateByAuthorizationCode(String authorizationCode,
String reason)
解除用户授权关系(授权协议号)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_3.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/authorization-code/{authorization_code}/terminate
|
WxPayScoreResult |
permissionsTerminateByOpenId(String openId,
String reason)
解除用户授权关系(openid)API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_5.shtml
接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/openid/{openid}/terminate
|
WxPayScoreResult |
queryServiceOrder(String outOrderNo,
String queryId)
支付分查询订单API.
|
WxPayScoreResult |
syncServiceOrder(WxPayScoreRequest request)
支付分订单收款API.
|
WxPayScoreResult permissions(WxPayScoreRequest request) throws WxPayException
支付分商户预授权API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_1.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions
request
- 请求对象WxPayException
- the wx pay exceptionWxPayScoreResult permissionsQueryByAuthorizationCode(String authorizationCode) throws WxPayException
支付分查询与用户授权记录(授权协议号)API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_2.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/authorization-code/{authorization_code}
authorizationCode
- WxPayException
- the wx pay exceptionWxPayScoreResult permissionsTerminateByAuthorizationCode(String authorizationCode, String reason) throws WxPayException
解除用户授权关系(授权协议号)API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_3.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/authorization-code/{authorization_code}/terminate
authorizationCode
- reason
- WxPayException
- the wx pay exceptionWxPayScoreResult permissionsQueryByOpenId(String openId) throws WxPayException
支付分查询与用户授权记录(openid)API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_4shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/openid/{openid}
openId
- WxPayException
- the wx pay exceptionWxPayScoreResult permissionsTerminateByOpenId(String openId, String reason) throws WxPayException
解除用户授权关系(openid)API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter5_5.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/permissions/openid/{openid}/terminate
openId
- reason
- WxPayException
- the wx pay exceptionWxPayScoreResult createServiceOrder(WxPayScoreRequest request) throws WxPayException
支付分创建订单API. 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter3_1.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/serviceorder
request
- 请求对象WxPayException
- the wx pay exceptionWxPayScoreResult queryServiceOrder(String outOrderNo, String queryId) throws WxPayException
支付分查询订单API. 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter3_2.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/serviceorder
outOrderNo
- the out order noqueryId
- the query idWxPayException
- the wx pay exceptionWxPayScoreResult cancelServiceOrder(String outOrderNo, String reason) throws WxPayException
支付分取消订单API. 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter3_3.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/serviceorder/{out_order_no}/cancel
outOrderNo
- the out order noreason
- the reasonWxPayException
- the wx pay exceptionWxPayScoreResult modifyServiceOrder(WxPayScoreRequest request) throws WxPayException
支付分修改订单金额API. 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter3_4.shtml 接口链接:https://api.mch.weixin.qq.com/v3/payscore/serviceorder/{out_order_no}/modify
request
- the requestWxPayException
- the wx pay exceptionWxPayScoreResult completeServiceOrder(WxPayScoreRequest request) throws WxPayException
支付分完结订单API. 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter3_5.shtml 请求URL:https://api.mch.weixin.qq.com/v3/payscore/serviceorder/{out_order_no}/complete
request
- the requestWxPayException
- the wx pay exceptionWxPayScoreResult payServiceOrder(String outOrderNo) throws WxPayException
支付分订单收款API. 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter3_6.shtml 请求URL:https://api.mch.weixin.qq.com/v3/payscore/serviceorder/{out_order_no}/pay
outOrderNo
- the out order noWxPayException
- the wx pay exceptionWxPayScoreResult syncServiceOrder(WxPayScoreRequest request) throws WxPayException
支付分订单收款API. 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/payscore/chapter3_7.shtml 请求URL: https://api.mch.weixin.qq.com/v3/payscore/serviceorder/{out_order_no}/sync
request
- the requestWxPayException
- 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 dataWxPayException
WxPayScoreResult 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 © 2023. All rights reserved.