public interface MarketingBusiFavorService
微信支付营销商家券接口
限定符和类型 | 方法和说明 |
---|---|
String |
buildBusiFavorCouponinfoUrl(BusiFavorCouponsUrlRequest request)
商家券接口-H5发券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_4_1.shtml
接口链接:https://action.weixin.qq.com/busifavor/getcouponinfo
|
BusiFavorCallbacksResult |
createBusiFavorCallbacks(BusiFavorCallbacksRequest request)
商家券接口-设置商家券事件通知地址 API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_7.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/callbacks
|
BusiFavorStocksCreateResult |
createBusiFavorStocksV3(BusiFavorStocksCreateRequest request)
商家券接口-创建商家券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_1.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks
|
BusiFavorCouponsDeactivateResult |
deactiveBusiFavorCoupons(BusiFavorCouponsDeactivateRequest request)
商家券接口-使券失效API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_15.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/deactivate
|
BusiFavorStocksGetResult |
getBusiFavorStocksV3(String stockId)
商家券接口-查询商家券详情API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_2.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}
|
BusiFavorNotifyResult |
notifyBusiFavor(String url,
BusiFavorNotifyRequest request)
商家券接口-领券事件回调通知API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_15.shtml
|
BusiFavorCallbacksResult |
queryBusiFavorCallbacks(BusiFavorCallbacksRequest request)
商家券接口-查询商家券事件通知地址 API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_8.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/callbacks
|
BusiFavorCouponsAssociateResult |
queryBusiFavorCouponsAssociate(BusiFavorCouponsAssociateRequest request)
商家券接口-关联订单信息 API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_9.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/associate
|
BusiFavorCouponsAssociateResult |
queryBusiFavorCouponsDisAssociate(BusiFavorCouponsAssociateRequest request)
商家券接口-取消关联订单信息 API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_10.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/disassociate
|
BusiFavorSubsidyResult |
queryBusiFavorSubsidyPayReceipts(String subsidyReceiptId)
商家券接口-查询营销补差付款单详情API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_17.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/subsidy/pay-receipts/{subsidy_receipt_id}
|
BusiFavorQueryUserCouponsResult |
queryBusiFavorUsersCoupons(BusiFavorQueryUserCouponsRequest request)
商家券接口-根据过滤条件查询用户券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_4.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/users/{openid}/coupons
|
BusiFavorQueryOneUserCouponsResult |
queryOneBusiFavorUsersCoupons(BusiFavorQueryOneUserCouponsRequest request)
商家券接口-查询用户单张券详情API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_5.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/users/{openid}/coupons/{coupon_code}/appids/{appid}
|
BusiFavorCouponsReturnResult |
returnBusiFavorCoupons(BusiFavorCouponsReturnRequest request)
商家券接口-申请退款API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_13.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/return
|
BusiFavorSubsidyResult |
subsidyBusiFavorPayReceipts(BusiFavorSubsidyRequest request)
商家券接口-营销补差付款API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_16.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/subsidy/pay-receipts
|
BusiFavorStocksBudgetResult |
updateBusiFavorStocksBudget(String stockId,
BusiFavorStocksBudgetRequest request)
商家券接口-修改批次预算 API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_11.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}/budget
|
String |
updateBusiFavorStocksV3(String stockId,
BusiFavorStocksCreateRequest request)
商家券接口-创建商家券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_12.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}
|
BusiFavorCouponCodeResult |
uploadBusiFavorCouponCodes(String stockId,
BusiFavorCouponCodeRequest request)
商家券接口-上传预存code API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_6.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}/couponcodes
|
BusiFavorCouponsUseResult |
verifyBusiFavorCouponsUseV3(BusiFavorCouponsUseRequest request)
商家券接口-核销用户券API
文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_3.shtml
接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/use
|
BusiFavorStocksCreateResult createBusiFavorStocksV3(BusiFavorStocksCreateRequest request) throws WxPayException
商家券接口-创建商家券API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_1.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks
request
- 请求对象 BusiFavorStocksCreateRequest
WxPayException
- the wx pay exceptionBusiFavorStocksGetResult getBusiFavorStocksV3(String stockId) throws WxPayException
商家券接口-查询商家券详情API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_2.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}
stockId
- 微信为每个商家券批次分配的唯一IDBusiFavorStocksGetResult
WxPayException
- the wx pay exceptionBusiFavorCouponsUseResult verifyBusiFavorCouponsUseV3(BusiFavorCouponsUseRequest request) throws WxPayException
商家券接口-核销用户券API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_3.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/use
request
- 请求对象 BusiFavorCouponsUseRequest
WxPayException
- the wx pay exceptionString buildBusiFavorCouponinfoUrl(BusiFavorCouponsUrlRequest request) throws WxPayException
商家券接口-H5发券API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_4_1.shtml 接口链接:https://action.weixin.qq.com/busifavor/getcouponinfo
request
- 请求对象 BusiFavorCouponsUrlRequest
WxPayException
- the wx pay exceptionBusiFavorQueryUserCouponsResult queryBusiFavorUsersCoupons(BusiFavorQueryUserCouponsRequest request) throws WxPayException
商家券接口-根据过滤条件查询用户券API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_4.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/users/{openid}/coupons
request
- 请求对象 BusiFavorQueryUserCouponsRequest
WxPayException
- the wx pay exceptionBusiFavorQueryOneUserCouponsResult queryOneBusiFavorUsersCoupons(BusiFavorQueryOneUserCouponsRequest request) throws WxPayException
商家券接口-查询用户单张券详情API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_5.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/users/{openid}/coupons/{coupon_code}/appids/{appid}
request
- 请求对象 BusiFavorQueryOneUserCouponsResult
WxPayException
- the wx pay exceptionBusiFavorCouponCodeResult uploadBusiFavorCouponCodes(String stockId, BusiFavorCouponCodeRequest request) throws WxPayException
商家券接口-上传预存code API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_6.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}/couponcodes
stockId
- 批次号request
- 请求对象 BusiFavorCouponCodeRequest
WxPayException
- the wx pay exceptionBusiFavorCallbacksResult createBusiFavorCallbacks(BusiFavorCallbacksRequest request) throws WxPayException
商家券接口-设置商家券事件通知地址 API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_7.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/callbacks
request
- 请求对象 BusiFavorCallbacksRequest
WxPayException
- the wx pay exceptionBusiFavorCallbacksResult queryBusiFavorCallbacks(BusiFavorCallbacksRequest request) throws WxPayException
商家券接口-查询商家券事件通知地址 API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_8.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/callbacks
request
- 请求对象 BusiFavorCallbacksRequest
WxPayException
- the wx pay exceptionBusiFavorCouponsAssociateResult queryBusiFavorCouponsAssociate(BusiFavorCouponsAssociateRequest request) throws WxPayException
商家券接口-关联订单信息 API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_9.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/associate
request
- 请求对象 BusiFavorCouponsAssociateRequest
WxPayException
- the wx pay exceptionBusiFavorCouponsAssociateResult queryBusiFavorCouponsDisAssociate(BusiFavorCouponsAssociateRequest request) throws WxPayException
商家券接口-取消关联订单信息 API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_10.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/disassociate
request
- 请求对象 BusiFavorCouponsAssociateRequest
WxPayException
- the wx pay exceptionBusiFavorStocksBudgetResult updateBusiFavorStocksBudget(String stockId, BusiFavorStocksBudgetRequest request) throws WxPayException
商家券接口-修改批次预算 API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_11.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}/budget
stockId
- 批次号request
- 请求对象 BusiFavorStocksBudgetRequest
WxPayException
- the wx pay exceptionString updateBusiFavorStocksV3(String stockId, BusiFavorStocksCreateRequest request) throws WxPayException
商家券接口-创建商家券API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_12.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/stocks/{stock_id}
stockId
- 批次号request
- 请求对象 BusiFavorStocksCreateRequest
WxPayException
- the wx pay exceptionBusiFavorCouponsReturnResult returnBusiFavorCoupons(BusiFavorCouponsReturnRequest request) throws WxPayException
商家券接口-申请退款API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_13.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/return
request
- 请求对象 BusiFavorCouponsReturnRequest
WxPayException
- the wx pay exceptionBusiFavorCouponsDeactivateResult deactiveBusiFavorCoupons(BusiFavorCouponsDeactivateRequest request) throws WxPayException
商家券接口-使券失效API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_15.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/coupons/deactivate
request
- 请求对象 BusiFavorCouponsDeactivateRequest
WxPayException
- the wx pay exceptionBusiFavorSubsidyResult subsidyBusiFavorPayReceipts(BusiFavorSubsidyRequest request) throws WxPayException
商家券接口-营销补差付款API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_16.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/subsidy/pay-receipts
request
- 请求对象 BusiFavorSubsidyResult
WxPayException
- the wx pay exceptionBusiFavorSubsidyResult queryBusiFavorSubsidyPayReceipts(String subsidyReceiptId) throws WxPayException
商家券接口-查询营销补差付款单详情API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_17.shtml 接口链接:https://api.mch.weixin.qq.com/v3/marketing/busifavor/subsidy/pay-receipts/{subsidy_receipt_id}
subsidyReceiptId
- 补差付款唯一单号WxPayException
- the wx pay exceptionBusiFavorNotifyResult notifyBusiFavor(String url, BusiFavorNotifyRequest request) throws WxPayException
商家券接口-领券事件回调通知API 文档详见: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_15.shtml
url
- 回调地址request
- 领券事件回调通知请求对象WxPayException
- the wx pay exceptionCopyright © 2023. All rights reserved.