From 35da5b948052fab71fa7d520cac824348060fc56 Mon Sep 17 00:00:00 2001 From: Fu Diwei Date: Wed, 3 Jan 2024 17:17:42 +0800 Subject: [PATCH] =?UTF-8?q?chore(tenpayv3):=20=E8=B0=83=E6=95=B4=E9=83=A8?= =?UTF-8?q?=E5=88=86=E6=96=87=E6=A1=A3=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Events/BusinessCircle/MallAuthResource.cs | 38 +++++++ .../BusinessCircle/MallRefundResource.cs | 4 +- .../BusinessCircle/MallTransactionResource.cs | 2 + .../CombineTransactionResource.cs | 2 + .../MarketingBusifavorCouponResource.cs | 3 +- .../MarketingFavorCouponResource.cs | 4 +- .../MerchantService/ComplaintResource.cs | 3 +- .../NewTaxControlFapiao/FapiaoResource.cs | 4 + .../PayScore/PayScorePermissionsResource.cs | 1 + .../PayScore/PayScoreServiceOrderResource.cs | 2 + .../Events/Refund/RefundResource.cs | 11 +- .../Transactions/TransactionResource.cs | 8 +- .../Vehicle/VehicleTransactionResource.cs | 4 + .../Events/Violation/ViolationResource.cs | 3 +- .../_Partner/Refund/PartnerRefundResource.cs | 11 +- .../PartnerTransactionResource.cs | 12 +- ...TenpayClientEventVerificationExtensions.cs | 16 +-- ...entExecuteApplyForSubMerchantExtensions.cs | 15 ++- ...yClientExecuteApplyForSubjectExtensions.cs | 14 +-- ...WechatTenpayClientExecuteBillExtensions.cs | 105 ++++++++++-------- ...ientExecuteBrandProfitSharingExtensions.cs | 22 ++-- ...ayClientExecuteBusinessCircleExtensions.cs | 16 +-- ...npayClientExecuteCertificatesExtensions.cs | 4 +- ...ientExecuteCombineTransactionExtensions.cs | 37 +++--- ...tTenpayClientExecuteEcommerceExtensions.cs | 55 +++++---- ...ayClientExecuteFundsToOverseaExtensions.cs | 10 +- ...atTenpayClientExecuteGoldPlanExtensions.cs | 12 +- ...ientExecuteMarketingBusifavorExtensions.cs | 57 +++++----- ...ayClientExecuteMarketingFavorExtensions.cs | 83 +++++++++----- ...ayClientExecuteMarketingMediaExtensions.cs | 8 +- ...tExecuteMarketingPartnershipsExtensions.cs | 14 +-- ...ecuteMarketingPayGiftActivityExtensions.cs | 34 +++--- ...npayClientExecuteMerchantFundExtensions.cs | 12 +- ...payClientExecuteMerchantMediaExtensions.cs | 9 +- ...ientExecuteMerchantRiskManageExtensions.cs | 8 +- ...yClientExecuteMerchantServiceExtensions.cs | 48 ++++---- ...ExecutePayPartnerTransactionsExtensions.cs | 57 +++++----- ...atTenpayClientExecutePayScoreExtensions.cs | 26 ++--- ...yClientExecutePayTransactionsExtensions.cs | 42 +++---- ...payClientExecuteProfitSharingExtensions.cs | 42 +++---- ...chatTenpayClientExecuteRefundExtensions.cs | 60 +++++----- ...TenpayClientExecuteSmartGuideExtensions.cs | 18 +-- ...atTenpayClientExecuteTransferExtensions.cs | 22 ++-- ...hatTenpayClientExecuteVehicleExtensions.cs | 16 +-- .../WechatTenpayClientParameterExtensions.cs | 40 ++++--- ...payClientResponseVerificationExtensions.cs | 24 ++-- .../GetMarketingFavorCallbackRequest.cs | 15 +++ .../GetMarketingFavorCallbackResponse.cs | 22 ++++ .../BusinessCircle/MallAuthResource.json | 6 + 49 files changed, 632 insertions(+), 449 deletions(-) create mode 100644 src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallAuthResource.cs create mode 100644 src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/MarketingFavor/Callbacks/GetMarketingFavorCallbackRequest.cs create mode 100644 src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/MarketingFavor/Callbacks/GetMarketingFavorCallbackResponse.cs create mode 100644 test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/EventSamples/BusinessCircle/MallAuthResource.json diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallAuthResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallAuthResource.cs new file mode 100644 index 00000000..6501e1f6 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallAuthResource.cs @@ -0,0 +1,38 @@ +namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events +{ + /// + /// 表示 MALL_AUTH.ACTIVATE_CARD 通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/smart-business-circle/authorization-services.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/smart-business-circle/authorization-services.html + /// + public class MallAuthResource : WechatTenpayEvent.Types.IDecryptedResource + { + /// + /// 获取或设置微信商户号。 + /// + [Newtonsoft.Json.JsonProperty("mchid")] + [System.Text.Json.Serialization.JsonPropertyName("mchid")] + public string MerchantId { get; set; } = default!; + + /// + /// 获取或设置用户唯一标识。 + /// + [Newtonsoft.Json.JsonProperty("openid")] + [System.Text.Json.Serialization.JsonPropertyName("openid")] + public string OpenId { get; set; } = default!; + + /// + /// 获取或设置会员卡 Code。 + /// + [Newtonsoft.Json.JsonProperty("code")] + [System.Text.Json.Serialization.JsonPropertyName("code")] + public string Code { get; set; } = default!; + + /// + /// 获取或设置用户授权类型。 + /// + [Newtonsoft.Json.JsonProperty("auth_type")] + [System.Text.Json.Serialization.JsonPropertyName("auth_type")] + public string AuthType { get; set; } = default!; + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallRefundResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallRefundResource.cs index 608550f8..1c35c135 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallRefundResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallRefundResource.cs @@ -1,9 +1,11 @@ -using System; +using System; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { /// /// 表示 MALL_REFUND.SUCCESS 通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/smart-business-circle/on-site-refund.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/smart-business-circle/on-site-refund.html /// public class MallRefundResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallTransactionResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallTransactionResource.cs index f4e46ee5..2bc1744f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallTransactionResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/BusinessCircle/MallTransactionResource.cs @@ -4,6 +4,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { /// /// 表示 MALL_TRANSACTION.SUCCESS 通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/smart-business-circle/on-site-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/smart-business-circle/on-site-payment.html /// public class MallTransactionResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/CombineTransactions/CombineTransactionResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/CombineTransactions/CombineTransactionResource.cs index 0000141a..59f30f27 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/CombineTransactions/CombineTransactionResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/CombineTransactions/CombineTransactionResource.cs @@ -2,6 +2,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { /// /// 表示 TRANSACTION.SUCCESS 通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/payment-notice.html /// public class CombineTransactionResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MarketingBusifavor/MarketingBusifavorCouponResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MarketingBusifavor/MarketingBusifavorCouponResource.cs index 44bb9027..e4292e5f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MarketingBusifavor/MarketingBusifavorCouponResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MarketingBusifavor/MarketingBusifavorCouponResource.cs @@ -1,9 +1,10 @@ -using System; +using System; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { /// /// 表示 COUPON.SEND 通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/coupon/busicoupon-send.html /// public class MarketingBusifavorCouponResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MarketingFavor/MarketingFavorCouponResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MarketingFavor/MarketingFavorCouponResource.cs index 675a541a..812ba265 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MarketingFavor/MarketingFavorCouponResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MarketingFavor/MarketingFavorCouponResource.cs @@ -1,9 +1,11 @@ -using System; +using System; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { /// /// 表示 COUPON.USE 通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/check-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/check-notice.html /// public class MarketingFavorCouponResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MerchantService/ComplaintResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MerchantService/ComplaintResource.cs index da0ec531..722f157a 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MerchantService/ComplaintResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/MerchantService/ComplaintResource.cs @@ -1,8 +1,9 @@ -namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events +namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { /// /// 表示 COMPLAINT.CREATE 通知的数据。 /// 表示 COMPLAINT.STATE_CHANGE 通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaint-notifications/complaint-notifications.html /// public class ComplaintResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/NewTaxControlFapiao/FapiaoResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/NewTaxControlFapiao/FapiaoResource.cs index b50b34e9..17f50f77 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/NewTaxControlFapiao/FapiaoResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/NewTaxControlFapiao/FapiaoResource.cs @@ -8,6 +8,10 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events /// 标识 FAPIAO.CARD_DISCARDED 通知的数据。 /// 标识 FAPIAO.ISSUED 通知的数据。 /// 标识 FAPIAO.REVERSED 通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/fapiao/fapiao-card-template/invoice-card-cancel-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/fapiao/fapiao-applications/invoice-issued-success-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/fapiao/fapiao-applications/invoice-flush-success-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/fapiao/fapiao-applications/invoice-insert-bag-success-notice.html /// public class FapiaoResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/PayScore/PayScorePermissionsResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/PayScore/PayScorePermissionsResource.cs index 3b8584ee..faefe27a 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/PayScore/PayScorePermissionsResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/PayScore/PayScorePermissionsResource.cs @@ -5,6 +5,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events /// /// 表示 PAYSCORE.USER_OPEN_SERVICE(针对直连商户)通知的数据。 /// 表示 PAYSCORE.USER_CLOSE_SERVICE(针对直连商户)通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/open/disable-notification.html /// public class PayScorePermissionsResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/PayScore/PayScoreServiceOrderResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/PayScore/PayScoreServiceOrderResource.cs index 0f559b58..ab75df07 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/PayScore/PayScoreServiceOrderResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/PayScore/PayScoreServiceOrderResource.cs @@ -5,6 +5,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events /// /// 表示 PAYSCORE.USER_CONFIRM(针对直连商户)通知的数据。 /// 表示 PAYSCORE.USER_PAID(针对直连商户)通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/success-notification.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/confirm-notification.html /// public class PayScoreServiceOrderResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Refund/RefundResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Refund/RefundResource.cs index 42962241..da029530 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Refund/RefundResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Refund/RefundResource.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { @@ -6,6 +6,15 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events /// 表示 REFUND.SUCCESS (仅限直连商户)通知的数据。 /// 表示 REFUND.ABNORMAL (仅限直连商户)通知的数据。 /// 表示 REFUND.CLOSED (仅限直连商户)通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/refunds/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/refund/refunds/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/refunds/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/wexin-pay-score-parking/refund-notification.html /// public class RefundResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Transactions/TransactionResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Transactions/TransactionResource.cs index f789495e..002c169f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Transactions/TransactionResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Transactions/TransactionResource.cs @@ -1,9 +1,15 @@ -using System; +using System; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { /// /// 表示 TRANSACTION.SUCCESS (仅限直连商户)通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/notice-division.html /// public class TransactionResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Vehicle/VehicleTransactionResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Vehicle/VehicleTransactionResource.cs index 8d895875..1d28f2ef 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Vehicle/VehicleTransactionResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Vehicle/VehicleTransactionResource.cs @@ -6,6 +6,10 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events /// 表示微信支付分停车服务 TRANSACTION.SUCCESS 通知的数据。 /// 表示微信支付分停车服务 TRANSACTION.FAIL 通知的数据。 /// 表示微信支付分停车服务 TRANSACTION.PAY_BACK 通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/wexin-pay-score-parking/parking-status-notification.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/wexin-pay-score-parking/payment-result-notification.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/wexin-pay-score-parking/parking-status-notification.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/wexin-pay-score-parking/payment-result-notification.html /// public class VehicleTransactionResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Violation/ViolationResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Violation/ViolationResource.cs index 796c43c9..0cc0d8a6 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Violation/ViolationResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/Violation/ViolationResource.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { @@ -6,6 +6,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events /// 表示 VIOLATION.PUNISH 通知的数据。 /// 表示 VIOLATION.INTERCEPT 通知的数据。 /// 表示 VIOLATION.APPEAL 通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/partner/apis/violation-notice/violation-notifications/disposal-record-notice.html /// public class ViolationResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/_Partner/Refund/PartnerRefundResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/_Partner/Refund/PartnerRefundResource.cs index 5ce9100b..6e74d0d5 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/_Partner/Refund/PartnerRefundResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/_Partner/Refund/PartnerRefundResource.cs @@ -1,4 +1,4 @@ -using System; +using System; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { @@ -6,6 +6,15 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events /// 表示 REFUND.SUCCESS (仅限服务商)通知的数据。 /// 表示 REFUND.ABNORMAL (仅限服务商)通知的数据。 /// 表示 REFUND.CLOSED (仅限服务商)通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/refunds/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/refund/refunds/refund-result-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/wexin-pay-score-parking/refund-notification.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-refund/refund-result.html /// public class PartnerRefundResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/_Partner/Transactions/PartnerTransactionResource.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/_Partner/Transactions/PartnerTransactionResource.cs index eab3238e..79926b1f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/_Partner/Transactions/PartnerTransactionResource.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Events/_Partner/Transactions/PartnerTransactionResource.cs @@ -1,9 +1,19 @@ -using System; +using System; namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Events { /// /// 表示 TRANSACTION.SUCCESS (仅限服务商)通知的数据。 + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/payment-notice.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-profit-sharing/notification.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/notice-division.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/notification.html /// public class PartnerTransactionResource : WechatTenpayEvent.Types.IDecryptedResource { diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientEventVerificationExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientEventVerificationExtensions.cs index c7f73779..572583ea 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientEventVerificationExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientEventVerificationExtensions.cs @@ -6,8 +6,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 验证回调通知事件签名。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html + /// REF: https://pay.weixin.qq.com/docs/partner/development/interface-rules/signature-verification.html /// /// /// 微信回调通知中的 "Wechatpay-Timestamp" 请求标头。 @@ -31,8 +31,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 验证回调通知事件签名。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html + /// REF: https://pay.weixin.qq.com/docs/partner/development/interface-rules/signature-verification.html /// /// /// 微信回调通知中的 "Wechatpay-Timestamp" 请求标头。 @@ -58,8 +58,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 验证回调通知事件签名。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html + /// REF: https://pay.weixin.qq.com/docs/partner/development/interface-rules/signature-verification.html /// /// /// 微信回调通知中的 "Wechatpay-Timestamp" 请求标头。 @@ -85,8 +85,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 验证回调通知事件签名。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html + /// REF: https://pay.weixin.qq.com/docs/partner/development/interface-rules/signature-verification.html /// /// /// 微信回调通知中的 "Wechatpay-Timestamp" 请求标头。 diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteApplyForSubMerchantExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteApplyForSubMerchantExtensions.cs index f74f89b9..7b12c3c9 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteApplyForSubMerchantExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteApplyForSubMerchantExtensions.cs @@ -10,7 +10,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /applyment4sub/applyment/ 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter11_1_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/contracted-merchant-application/applyment/submit.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_6_1.shtml /// /// @@ -31,7 +31,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /applyment4sub/applyment/business_code/{business_code} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter11_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/contracted-merchant-application/applyment/query-state.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_6_2.shtml /// /// @@ -51,7 +51,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /applyment4sub/applyment/applyment_id/{applyment_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter11_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/contracted-merchant-application/applyment/query-state-by-id.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/Offline/apis/chapter4_6_2.shtml /// /// @@ -71,7 +71,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /apply4sub/sub_merchants/{sub_mchid}/modify-settlement 接口。 - /// REF: https://pay.weixin.qq.com/docs/partner/apis/modify-settlement/sub-merchants/modify-settlement.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-merchant-application/modify-settlement.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/contracted-merchant-application/modify-settlement.html /// /// /// @@ -90,7 +91,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /apply4sub/sub_merchants/{sub_mchid}/settlement 接口。 - /// REF: https://pay.weixin.qq.com/docs/partner/apis/modify-settlement/sub-merchants/get-settlement.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-merchant-application/get-settlement.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/contracted-merchant-application/get-settlement.html /// /// /// @@ -109,7 +111,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /apply4sub/sub_merchants/{sub_mchid}/application/{application_no} 接口。 - /// REF: https://pay.weixin.qq.com/docs/partner/apis/modify-settlement/sub-merchants/get-application.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-merchant-application/get-application.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/contracted-merchant-application/get-application.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteApplyForSubjectExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteApplyForSubjectExtensions.cs index 9e5aa4cb..77ff1fea 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteApplyForSubjectExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteApplyForSubjectExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -11,7 +11,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /apply4subject/applyment 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_1_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/confirmation-of-account-creation/applyment/submit-applyment.html /// /// /// @@ -30,7 +30,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /apply4subject/applyment 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_1_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/confirmation-of-account-creation/applyment/get-audit-result.html /// /// /// @@ -50,7 +50,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /apply4subject/applyment 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_1_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/confirmation-of-account-creation/applyment/get-audit-result.html /// /// /// @@ -70,7 +70,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /apply4subject/applyment/{business_code}/cancel 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/confirmation-of-account-creation/applyment/cancel-applyment.html /// /// /// @@ -89,7 +89,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /apply4subject/applyment/{applyment_id}/cancel 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/confirmation-of-account-creation/applyment/cancel-applyment.html /// /// /// @@ -108,7 +108,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /apply4subject/applyment/merchants/{sub_mchid}/state 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_1_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/confirmation-of-account-creation/applyment/get-authorize-state.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBillExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBillExtensions.cs index 7577952d..5d90087b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBillExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBillExtensions.cs @@ -11,19 +11,21 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [GET] /bill/tradebill 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_17.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_2_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_3_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_17.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_9_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/bill-download/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/bill-download/trade-bill/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/bill-download/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/bill-download/trade-bill/get-trade-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-bill-download/get-trade-bill.html /// /// /// @@ -52,19 +54,21 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /bill/fundflowbill 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_18.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_2_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_3_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_18.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_9_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/bill-download/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/bill-download/fund-bill/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/bill-download/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/bill-download/fund-bill/get-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-bill-download/get-fund-bill.html /// /// /// @@ -90,12 +94,13 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /bill/sub-merchant-fundflowbill 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_2_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_3_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_20.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/get-sub-mch-fund-flow-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/get-sub-mch-fund-flow-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/get-sub-mch-fund-flow-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/get-sub-mch-fund-flow-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/get-sub-mch-fund-flow-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/bill-download/get-sub-mch-fund-flow-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/bill-download/sub-mch-fund-flow-bill/get-sub-mch-fund-flow-bill.html /// /// /// @@ -123,23 +128,25 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /{download_url} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_19.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_2_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_3_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_19.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_9_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter4_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter4_3.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/bill-download/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/bill-download/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/download-receipt.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/bill-download/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/bill-download/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/bill-download/download-sub-merchant-fund-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/download-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/download-bill.html /// (请注意此接口不受构造 时指定的 参数控制。) /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBrandProfitSharingExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBrandProfitSharingExtensions.cs index e39335d8..76dc3ff2 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBrandProfitSharingExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBrandProfitSharingExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -11,7 +11,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /brand/profitsharing/orders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_7_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/orders/create-order.html /// /// /// @@ -30,7 +30,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /brand/profitsharing/orders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_7_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/orders/query-order.html /// /// /// @@ -52,7 +52,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /brand/profitsharing/returnorders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_7_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/return-orders/create-return-order.html /// /// /// @@ -71,7 +71,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /brand/profitsharing/returnorders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_7_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/return-orders/query-return-order.html /// /// /// @@ -93,7 +93,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /brand/profitsharing/returnorders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_7_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/return-orders/query-return-order.html /// /// /// @@ -115,7 +115,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /brand/profitsharing/finish-order 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_7_5.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/orders/finish-order.html /// /// /// @@ -134,7 +134,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /brand/profitsharing/orders/{transaction_id}/amounts 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_7_9.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/orders/query-order-amount.html /// /// /// @@ -153,7 +153,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /brand/profitsharing/brand-configs/{brand_mchid} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_7_10.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/merchants/query-brand-merchant-ratio.html /// /// /// @@ -172,7 +172,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /brand/profitsharing/receivers/add 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_7_7.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/receivers/add-receiver.html /// /// /// @@ -191,7 +191,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /brand/profitsharing/receivers/delete 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_7_8.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/brand-profit-sharing/receivers/delete-receiver.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBusinessCircleExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBusinessCircleExtensions.cs index bb664d1a..a561f0d9 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBusinessCircleExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteBusinessCircleExtensions.cs @@ -11,8 +11,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /businesscircle/points/notify 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_6_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_6_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/smart-business-circle/points/notify-points.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/smart-business-circle/points/notify-points.html /// /// /// @@ -31,8 +31,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /businesscircle/parkings 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_6_5.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_6_5.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/smart-business-circle/parkings/update-parkings.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/smart-business-circle/parkings/update-parkings.html /// /// /// @@ -51,8 +51,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /businesscircle/user-authorizations/{openid} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_6_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_6_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/smart-business-circle/user-authorizations/query-user-authorization.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/smart-business-circle/user-authorizations/query-user-authorization.html /// /// /// @@ -75,8 +75,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /businesscircle/users/{openid}/points/commit_status 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_6_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_6_7.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/smart-business-circle/points/get-points-commit-status.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/smart-business-circle/points/get-points-commit-status.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteCertificatesExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteCertificatesExtensions.cs index 5bd47fbb..3e082342 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteCertificatesExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteCertificatesExtensions.cs @@ -10,8 +10,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [GET] /certificates 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay5_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay5_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/platform-certificate/api-v3-get-certificates/get.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/platform-certificate/api-v3-get-certificates/get.html /// REF: https://pay.weixin.qq.com/wiki/doc/api/wxpay/en/fusion_wallet/QuickPay/chapter8_7.shtml /// REF: https://pay.weixin.qq.com/wiki/doc/api/wxpay/en/fusion_wallet/In-AppPay/chapter8_7.shtml /// REF: https://pay.weixin.qq.com/wiki/doc/api/wxpay/en/fusion_wallet/H5Payment/chapter8_7.shtml diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteCombineTransactionExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteCombineTransactionExtensions.cs index 14bdead6..6d54e590 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteCombineTransactionExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteCombineTransactionExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -10,8 +10,9 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /combine-transactions/app 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/app-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/app-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/app-prepay.html /// /// /// @@ -42,10 +43,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /combine-transactions/jsapi 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/jsapi-prepay.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/mini-program-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/jsapi-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/mini-program-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/jsapi-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/mini-program-prepay.html /// /// /// @@ -76,8 +79,9 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /combine-transactions/h5 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/h5-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/h5-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/h5-prepay.html /// /// /// @@ -108,8 +112,9 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /combine-transactions/native 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_5.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_5.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/native-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/native-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/native-prepay.html /// /// /// @@ -140,8 +145,9 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /combine-transactions/out-trade-no/{combine_out_trade_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_11.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_11.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/query-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/query-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/query-order.html /// /// /// @@ -160,8 +166,9 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /combine-transactions/out-trade-no/{combine_out_trade_no}/close 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_12.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/close-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/close-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/close-order.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteEcommerceExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteEcommerceExtensions.cs index 83d78798..041cef71 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteEcommerceExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteEcommerceExtensions.cs @@ -80,7 +80,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Applyments /// /// 异步调用 [POST] /ecommerce/applyments/ 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_1_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-merchant-application/applyment/submit-applyment.html /// /// /// @@ -100,7 +100,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/applyments/{applyment_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-merchant-application/applyment/get-applyment-state.html /// /// /// @@ -119,7 +119,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/applyments/out-request-no/{out_request_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-merchant-application/applyment/get-state-by-out-request-no.html /// /// /// @@ -140,7 +140,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Bill /// /// 异步调用 [GET] /ecommerce/bill/fundflowbill 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_9_5.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/bill-download/sub-merchant-fund-flow-bill/get-sub-merchant-fund-flow-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-bill-download/get-sub-merchant-fund-flow-bill.html /// /// /// @@ -167,10 +168,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Fund /// /// 异步调用 [GET] /ecommerce/fund/balance/{sub_mchid} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_7_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_8_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-balance/accounts/query-e-commerce-balance.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter5_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter5_2.shtml /// /// /// @@ -192,7 +191,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/fund/enddaybalance/{sub_mchid} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_7_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-balance/accounts/query-e-commerce-day-end-balance.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter5_3.shtml /// /// @@ -213,7 +212,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /ecommerce/fund/withdraw 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_8_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-withdraw/with-draws/create-sub-merchant-withdraw.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter6_1.shtml /// /// @@ -234,7 +233,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/fund/withdraw/out-request-no/{out_request_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_8_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-withdraw/with-draws/query-sub-merchant-by-out-request-no.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter6_2.shtml /// /// @@ -255,7 +254,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/fund/withdraw/{withdraw_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_8_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-withdraw/with-draws/query-sub-merchant-withdraw-by-id.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter6_2.shtml /// /// @@ -278,7 +277,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region ProfitSharing /// /// 异步调用 [POST] /ecommerce/profitsharing/orders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-profit-sharing/orders/create-order.html /// /// /// @@ -298,7 +297,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/profitsharing/orders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-profit-sharing/orders/query-order.html /// /// /// @@ -320,7 +319,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /ecommerce/profitsharing/returnorders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-profit-sharing/return-orders/create-return-order.html /// /// /// @@ -340,7 +339,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/profitsharing/returnorders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-profit-sharing/return-orders/query-return-order.html /// /// /// @@ -362,7 +361,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/profitsharing/returnorders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-profit-sharing/return-orders/query-return-order.html /// /// /// @@ -384,7 +383,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /ecommerce/profitsharing/finish-order 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_5.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-profit-sharing/orders/finish-order.html /// /// /// @@ -404,7 +403,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/profitsharing/orders/{transaction_id}/amounts 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_9.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-profit-sharing/orders/query-order-amount.html /// /// /// @@ -424,7 +423,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /ecommerce/profitsharing/receivers/add 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_7.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-profit-sharing/receivers/add-receiver.html /// /// /// @@ -444,7 +443,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /ecommerce/profitsharing/receivers/delete 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_4_8.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-profit-sharing/receivers/delete-receiver.html /// /// /// @@ -466,7 +465,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Refunds /// /// 异步调用 [POST] /ecommerce/refunds/apply 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_6_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-refund/refunds/create-refund.html /// /// /// @@ -486,7 +485,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/refunds/out-refund-no/{out_refund_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_6_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-refund/refunds/query-refund-by-out-refund-no.html /// /// /// @@ -506,7 +505,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/refunds/id/{refund_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_6_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-refund/refunds/query-refund.html /// /// /// @@ -526,7 +525,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /ecommerce/refunds/{refund_id}/return-advance 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_6_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-refund/refunds/query-return-advance.html /// /// /// @@ -546,7 +545,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /ecommerce/refunds/{refund_id}/return-advance 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_6_5.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-refund/refunds/create-return-advance.html /// /// /// @@ -568,7 +567,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Subsidies /// /// 异步调用 [POST] /ecommerce/subsidies/create 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_5_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-subsidy/subsidies/create.html /// /// /// @@ -587,7 +586,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /ecommerce/subsidies/return 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_5_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-subsidy/subsidies/return.html /// /// /// @@ -606,7 +605,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /ecommerce/subsidies/cancel 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_5_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-subsidy/subsidies/cancel.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteFundsToOverseaExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteFundsToOverseaExtensions.cs index 29a9682f..a53935e1 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteFundsToOverseaExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteFundsToOverseaExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -11,7 +11,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [GET] /funds-to-oversea/transactions/{transaction_id}/available_abroad_amounts 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_10_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-funds-to-oversea/transaction-api/get-available-abroad-amount.html /// /// /// @@ -31,7 +31,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /funds-to-oversea/orders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_10_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-funds-to-oversea/funds-to-os-order-api/create-order.html /// /// /// @@ -50,7 +50,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /funds-to-oversea/orders/{out_order_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_10_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-funds-to-oversea/funds-to-os-order-api/query-order.html /// /// /// @@ -71,7 +71,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /funds-to-oversea/bill-download-url 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_10_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-funds-to-oversea/purchase-payment-bill/query-download-info.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteGoldPlanExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteGoldPlanExtensions.cs index f6ad34f8..3794804e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteGoldPlanExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteGoldPlanExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -10,7 +10,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /goldplan/merchants/changegoldplanstatus 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_5_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gold-plan/status/change-gold-plan-status.html /// /// /// @@ -29,7 +29,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /goldplan/merchants/changecustompagestatus 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_5_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gold-plan/status/change-custom-page-status.html /// /// /// @@ -48,7 +48,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /goldplan/merchants/set-advertising-industry-filter 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_5_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gold-plan/merchants/set-advertising-industry-filter.html /// /// /// @@ -67,7 +67,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /goldplan/merchants/open-advertising-show 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_5_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gold-plan/merchants/open-advertising-show.html /// /// /// @@ -86,7 +86,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /goldplan/merchants/close-advertising-show 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_5_5.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gold-plan/merchants/close-advertising-show.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingBusifavorExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingBusifavorExtensions.cs index ddf9c5fc..f841ea54 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingBusifavorExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingBusifavorExtensions.cs @@ -11,8 +11,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /marketing/busifavor/stocks 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/busi-favor/create-busifavor-stock.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/busi-favor/create-busifavor-stock.html /// /// /// @@ -34,8 +34,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/busifavor/stocks/{stock_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/busi-favor/query-stock.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/busi-favor/query-stock.html /// /// /// @@ -54,8 +54,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [PATCH] /marketing/busifavor/stocks/{stock_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_12.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/busi-favor/modify-stock-info.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/busi-favor/modify-stock-info.html /// /// /// @@ -74,8 +74,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [PATCH] /marketing/busifavor/stocks/{stock_id}/budget 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_11.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_11.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/busi-favor/modify-budget.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/busi-favor/modify-budget.html /// /// /// @@ -94,8 +94,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/busifavor/stocks/{stock_id}/couponcodes 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_6.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/busi-favor/upload-coupon-code.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/busi-favor/upload-coupon-code.html /// /// /// @@ -114,8 +114,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/busifavor/users/{openid}/coupons/{coupon_code}/appids/{appid} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_5.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_5.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/coupon/query-coupon.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/coupon/query-coupon.html /// /// /// @@ -134,8 +134,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/busifavor/users/{openid}/coupons 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/coupon/list-coupons-by-filter.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/coupon/list-coupons-by-filter.html /// /// /// @@ -176,8 +176,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/busifavor/coupons/use 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_3.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/coupon/use-coupon.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/coupon/use-coupon.html /// /// /// @@ -196,8 +196,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/busifavor/coupons/associate 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_9.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/coupon/associate-trade-info.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/coupon/associate-trade-info.html /// /// /// @@ -216,8 +216,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/busifavor/coupons/disassociate 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_10.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/coupon/disassociate-trade-info.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/coupon/disassociate-trade-info.html /// /// /// @@ -236,8 +236,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/busifavor/coupons/return 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_13.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_13.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/coupon/return-coupon.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/coupon/return-coupon.html /// /// /// @@ -256,8 +256,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/busifavor/coupons/deactivate 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_14.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_14.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/coupon/deactivate-coupon.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/coupon/deactivate-coupon.html /// /// /// @@ -276,7 +276,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/busifavor/coupons/{card_id}/send 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_6_1.shtml /// /// /// @@ -295,8 +294,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/busifavor/callbacks 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_8.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/call-back/get-coupon-notify.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/call-back/get-coupon-notify.html /// /// /// @@ -319,8 +318,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/busifavor/callbacks 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_2_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_2_7.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/call-back/set-coupon-notify.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/call-back/set-coupon-notify.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingFavorExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingFavorExtensions.cs index 1ee6d45f..fc04c59e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingFavorExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingFavorExtensions.cs @@ -11,8 +11,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /marketing/favor/coupon-stocks 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/stock/create-coupon-stock.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/stock/create-coupon-stock.html /// /// /// @@ -35,8 +35,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/favor/stocks/{stock_id}/start 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_3.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/stock/start-stock.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/stock/start-stock.html /// /// /// @@ -59,8 +59,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/favor/stocks/{stock_id}/pause 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_13.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_13.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/stock/pause-stock.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/stock/pause-stock.html /// /// /// @@ -83,8 +83,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/favor/stocks/{stock_id}/restart 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_14.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_14.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/stock/restart-stock.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/stock/restart-stock.html /// /// /// @@ -107,8 +107,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/favor/stocks/{stock_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_5.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_5.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/stock/query-stock.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/stock/query-stock.html /// /// /// @@ -131,8 +131,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/favor/stocks 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/stock/list-stocks.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/stock/list-stocks.html /// /// /// @@ -166,8 +166,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/favor/stocks/{stock_id}/merchants 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_7.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/stock/list-available-merchants.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/stock/list-available-merchants.html /// /// /// @@ -192,8 +192,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/favor/stocks/{stock_id}/items 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_8.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/stock/list-available-singleitems.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/stock/list-available-singleitems.html /// /// /// @@ -218,8 +218,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/favor/stocks/{stock_id}/use-flow 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_10.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/stock/use-flow.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/stock/use-flow.html /// /// /// @@ -239,8 +239,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/favor/stocks/{stock_id}/refund-flow 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_11.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_11.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/stock/refund-flow.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/stock/refund-flow.html /// /// /// @@ -260,8 +260,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/favor/users/{openid}/coupons 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/coupon/send-coupon.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/coupon/send-coupon.html /// /// /// @@ -284,8 +284,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/favor/users/{openid}/coupons/{coupon_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_6.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/coupon/query-coupon.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/coupon/query-coupon.html /// /// /// @@ -305,8 +305,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/favor/users/{openid}/coupons 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_9.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/coupon/list-coupons-by-filter.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/coupon/list-coupons-by-filter.html /// /// /// @@ -347,8 +347,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/favor/callbacks 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_1_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_1_12.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/call-back-url/set-callback.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/call-back-url/set-callback.html /// /// /// @@ -363,10 +363,33 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 request.MerchantId = client.Credentials.MerchantId; IFlurlRequest flurlReq = client - .CreateRequest(request, HttpMethod.Post, "marketing", "favor", "callbacks") - ; + .CreateRequest(request, HttpMethod.Post, "marketing", "favor", "callbacks"); return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken); } + + /// + /// 异步调用 [GET] /marketing/favor/callbacks 接口。 + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/call-back-url/query-callback.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/call-back-url/query-callback.html + /// + /// + /// + /// + /// + public static async Task ExecuteGetMarketingFavorCallbackAsync(this WechatTenpayClient client, Models.GetMarketingFavorCallbackRequest request, CancellationToken cancellationToken = default) + { + if (client is null) throw new ArgumentNullException(nameof(client)); + if (request is null) throw new ArgumentNullException(nameof(request)); + + if (request.MerchantId == null) + request.MerchantId = client.Credentials.MerchantId; + + IFlurlRequest flurlReq = client + .CreateRequest(request, HttpMethod.Get, "marketing", "favor", "callbacks") + .SetQueryParam("mchid", request.MerchantId); + + return await client.SendRequestWithJsonAsync(flurlReq, data: request, cancellationToken: cancellationToken); + } } } diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingMediaExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingMediaExtensions.cs index b5e51524..5816522e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingMediaExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingMediaExtensions.cs @@ -10,8 +10,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /marketing/favor/media/image-upload 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_0_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_0_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/cash-coupons/upload-image.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/merchant-exclusive-coupon/upload-image.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/gift-activity/upload-image.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/cash-coupons/upload-image.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/merchant-exclusive-coupon/upload-image.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gift-activity/upload-image.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingPartnershipsExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingPartnershipsExtensions.cs index 495d8e61..cf347e36 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingPartnershipsExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingPartnershipsExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -11,8 +11,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /marketing/partnerships/build 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_5_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_5_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/commissioned-marketing/partnerships/build-partnerships.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/commissioned-marketing/partnerships/build-partnerships.html /// /// /// @@ -32,8 +32,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/partnerships/terminate 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_5_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_5_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/commissioned-marketing/partnerships/terminate-partnerships.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/commissioned-marketing/partnerships/terminate-partnerships.html /// /// /// @@ -53,8 +53,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/partnerships 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_5_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_5_3.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/commissioned-marketing/partnerships/list-partnerships.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/commissioned-marketing/partnerships/list-partnerships.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingPayGiftActivityExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingPayGiftActivityExtensions.cs index 06057758..b9c20b6d 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingPayGiftActivityExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMarketingPayGiftActivityExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -11,8 +11,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /marketing/paygiftactivity/unique-threshold-activity 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_7_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_7_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/gift-activity/activity/create-full-send-act.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gift-activity/activity/create-full-send-act.html /// /// /// @@ -31,8 +31,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/paygiftactivity/activities/{activity_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_7_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_7_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/gift-activity/activity/get-act-detail.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gift-activity/activity/get-act-detail.html /// /// /// @@ -51,8 +51,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/paygiftactivity/activities 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_7_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_7_9.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/gift-activity/activity/list-activities.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gift-activity/activity/list-activities.html /// /// /// @@ -82,8 +82,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/paygiftactivity/activities/{activity_id}/terminate 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_7_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_7_7.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/gift-activity/activity/ter-minate-activity.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gift-activity/activity/ter-minate-activity.html /// /// /// @@ -102,8 +102,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/paygiftactivity/activities/{activity_id}/merchants/add 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_7_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_7_8.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/gift-activity/activity/add-activity-merchant.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gift-activity/activity/add-activity-merchant.html /// /// /// @@ -122,8 +122,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/paygiftactivity/activities/{activity_id}/merchants 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_7_5.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_7_5.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/gift-activity/activity/list-activity-merchant.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gift-activity/activity/list-activity-merchant.html /// /// /// @@ -148,8 +148,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /marketing/paygiftactivity/activities/{activity_id}/merchants/delete 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_7_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_7_10.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/gift-activity/activity/delete-activity-merchant.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gift-activity/activity/delete-activity-merchant.html /// /// /// @@ -168,8 +168,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /marketing/paygiftactivity/activities/{activity_id}/goods 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter9_7_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter9_7_6.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/gift-activity/activity/list-activity-sku.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/gift-activity/activity/list-activity-sku.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantFundExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantFundExtensions.cs index 4789a46e..e1016ba4 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantFundExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantFundExtensions.cs @@ -12,7 +12,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Balance /// /// 异步调用 [GET] /merchant/fund/balance/{account_type} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_7_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-balance/accounts/query-balance.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter5_1.shtml /// /// @@ -32,7 +32,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /merchant/fund/dayendbalance/{account_type} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_7_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-balance/accounts/query-day-end-balance.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer/chapter5_2.shtml /// /// @@ -109,7 +109,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Withdraw /// /// 异步调用 [POST] /merchant/fund/withdraw 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_8_5.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-withdraw/with-draws/create-withdraw.html /// /// /// @@ -128,7 +128,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /merchant/fund/withdraw/out-request-no/{out_request_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_8_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-withdraw/with-draws/query-withdraw-by-out-request-no.html /// /// /// @@ -147,7 +147,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /merchant/fund/withdraw/{withdraw_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_8_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-withdraw/with-draws/query-withdraw-by-id.html /// /// /// @@ -166,7 +166,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /merchant/fund/withdraw/bill-type/{bill_type} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_8_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-withdraw/with-draws/query-withdraw-bill.html /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter6_3.shtml /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantMediaExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantMediaExtensions.cs index d985347d..7b49d82b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantMediaExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantMediaExtensions.cs @@ -10,9 +10,9 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /merchant/media/upload 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter2_1_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter2_1_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/api/wxpay/en/tool/chapter3_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-merchant-application/upload.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/contracted-merchant-application/upload.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/confirmation-of-account-creation/upload.html /// /// /// @@ -41,8 +41,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /merchant/media/video_upload 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter2_1_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter2_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/contracted-merchant-application/video-upload.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantRiskManageExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantRiskManageExtensions.cs index 7b9ac006..2a7d282f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantRiskManageExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantRiskManageExtensions.cs @@ -86,7 +86,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region ViolationNotification /// /// 异步调用 [POST] /merchant-risk-manage/violation-notifications 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_3_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/violation-notice/violation-notifications/create-violation-notification.html /// /// /// @@ -105,7 +105,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /merchant-risk-manage/violation-notifications 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_3_2.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/violation-notice/violation-notifications/query-violation-notification.html /// /// /// @@ -124,7 +124,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [PUT] /merchant-risk-manage/violation-notifications 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_3_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/violation-notice/violation-notifications/update-violation-notification.html /// /// /// @@ -143,7 +143,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [DELETE] /merchant-risk-manage/violation-notifications 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_3_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/violation-notice/violation-notifications/delete-violation-notification.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantServiceExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantServiceExtensions.cs index 241da411..d4df251e 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantServiceExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteMerchantServiceExtensions.cs @@ -11,8 +11,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [GET] /merchant-service/complaints-v2 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_11.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_11.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaints/list-complaints-v2.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/complaints/list-complaints-v2.html /// /// /// @@ -42,8 +42,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /merchant-service/complaints-v2/{complaint_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_13.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_13.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaints/query-complaint-v2.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/complaints/query-complaint-v2.html /// /// /// @@ -62,8 +62,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /merchant-service/complaints-v2/{complaint_id}/negotiation-historys 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_12.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_12.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaints/query-negotiation-history-v2.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/complaints/query-negotiation-history-v2.html /// /// /// @@ -88,8 +88,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /merchant-service/complaints-v2/{complaint_id}/response 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_14.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_14.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaints/response-complaint-v2.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/complaints/response-complaint-v2.html /// /// /// @@ -111,8 +111,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /merchant-service/complaints-v2/{complaint_id}/complete 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_15.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_15.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaints/complete-complaint-v2.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/complaints/complete-complaint-v2.html /// /// /// @@ -134,8 +134,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /merchant-service/complaints-v2/{complaint_id}/update-refund-progress 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_19.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_19.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaints/update-refund-progress.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/complaints/update-refund-progress.html /// /// /// @@ -154,8 +154,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /merchant-service/complaint-notifications 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaint-notifications/create-complaint-notifications.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/complaint-notifications/create-complaint-notifications.html /// /// /// @@ -174,8 +174,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /merchant-service/complaint-notifications 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_3.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaint-notifications/query-complaint-notifications.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/complaint-notifications/query-complaint-notifications.html /// /// /// @@ -194,8 +194,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [PUT] /merchant-service/complaint-notifications 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaint-notifications/update-complaint-notifications.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/complaint-notifications/update-complaint-notifications.html /// /// /// @@ -214,8 +214,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [DELETE] /merchant-service/complaint-notifications 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_5.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_5.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/complaint-notifications/delete-complaint-notifications.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/complaint-notifications/delete-complaint-notifications.html /// /// /// @@ -234,8 +234,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /merchant-service/images/upload 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_10.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/images/create-images.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/images/create-images.html /// /// /// @@ -264,8 +264,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /{download_url} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter10_2_18.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter10_2_18.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/consumer-complaint/images/query-images.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/consumer-complaint/images/query-images.html /// (请注意此接口不受构造 时指定的 参数控制。) /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayPartnerTransactionsExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayPartnerTransactionsExtensions.cs index c5a8150e..94705dd6 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayPartnerTransactionsExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayPartnerTransactionsExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -11,8 +11,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /pay/partner/transactions/app 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_2_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_2_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/partner-jsons/partner-app-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/app-prepay.html /// /// /// @@ -34,10 +34,10 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /pay/partner/transactions/jsapi 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_2_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_2_3.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/partner-jsons/partner-jsapi-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/partner-mini-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/jsapi-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/mini-prepay.html /// /// /// @@ -59,8 +59,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /pay/partner/transactions/h5 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_3_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_2_4.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/partner-jsons/partner-h5-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/h5-prepay.html /// /// /// @@ -82,7 +82,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /pay/partner/transactions/native 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/partner-jsons/partner-native-prepay.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/native-prepay.html /// /// /// @@ -104,12 +105,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /pay/partner/transactions/out-trade-no/{out_trade_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_2_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_3_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_2_5.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/query-by-out-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/query-by-out-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/query-by-out-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/query-by-out-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/query-by-out-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/query-by-out-trade-no.html /// /// /// @@ -133,12 +134,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /pay/partner/transactions/id/{transaction_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_2_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_3_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_2_5.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/query-by-wx-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/query-by-wx-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/query-by-wx-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/query-by-wx-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/query-by-wx-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/query-by-wx-trade-no.html /// /// /// @@ -162,12 +163,12 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /pay/partner/transactions/out-trade-no/{out_trade_no}/close 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_2_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_3_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_4_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_2_6.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/close-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/close-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/close-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/close-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/close-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/close-order.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayScoreExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayScoreExtensions.cs index 3ab6ef05..31adc3bb 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayScoreExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayScoreExtensions.cs @@ -12,7 +12,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Permissions /// /// 异步调用 [POST] /payscore/permissions 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-auth/apply-permissions.html /// /// /// @@ -31,7 +31,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /payscore/permissions/authorization-code/{authorization_code} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_3.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-auth/get-permissions-by-authorization-code.html /// /// /// @@ -51,7 +51,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /payscore/permissions/authorization-code/{authorization_code}/terminate 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-auth/terminate-permissions-by-code.html /// /// /// @@ -70,7 +70,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /payscore/permissions/openid/{openid} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_5.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-auth/get-permissions-by-open-id.html /// /// /// @@ -91,7 +91,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /payscore/permissions/openid/{openid}/terminate 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_6.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-auth/terminate-permissions-by-open-id.html /// /// /// @@ -131,7 +131,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /payscore/serviceorder 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_14.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-order/create-service-order.html /// /// /// @@ -150,7 +150,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /payscore/serviceorder 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_15.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-order/get-service-order.html /// /// /// @@ -172,7 +172,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /payscore/serviceorder 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_15.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-order/get-service-order.html /// /// /// @@ -194,7 +194,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /payscore/serviceorder/{out_order_no}/cancel 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_16.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-order/cancel-service-order.html /// /// /// @@ -213,7 +213,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /payscore/serviceorder/{out_order_no}/modify 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_17.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-order/modify-service-order.html /// /// /// @@ -232,7 +232,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /payscore/serviceorder/{out_order_no}/complete 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_18.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-order/complete-service-order.html /// /// /// @@ -251,7 +251,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /payscore/serviceorder/{out_order_no}/pay 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_19.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-order/collect-service-order.html /// /// /// @@ -270,7 +270,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /payscore/serviceorder/{out_order_no}/sync 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_20.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/service-order/sync-service-order.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayTransactionsExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayTransactionsExtensions.cs index 975e3466..141ef87c 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayTransactionsExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecutePayTransactionsExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -11,7 +11,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /pay/transactions/app 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/direct-jsons/app-prepay.html /// /// /// @@ -33,8 +33,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /pay/transactions/jsapi 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/direct-jsons/jsapi-prepay.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/mini-prepay.html /// /// /// @@ -56,7 +56,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /pay/transactions/h5 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/direct-jsons/h5-prepay.html /// /// /// @@ -78,7 +78,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /pay/transactions/native 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/direct-jsons/native-prepay.html /// /// /// @@ -100,11 +100,11 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /pay/transactions/out-trade-no/{out_trade_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/query-by-out-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/query-by-out-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/query-by-out-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/query-by-out-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/query-by-out-trade-no.html /// /// /// @@ -127,11 +127,11 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /pay/transactions/id/{transaction_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/query-by-wx-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/query-by-wx-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/query-by-wx-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/query-by-wx-trade-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/query-by-wx-trade-no.html /// /// /// @@ -154,11 +154,11 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /pay/transactions/out-trade-no/{out_trade_no}/close 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_3.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/close-order.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/close-order.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/close-order.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/close-order.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/close-order.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteProfitSharingExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteProfitSharingExtensions.cs index 8b584ab6..c4634ba3 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteProfitSharingExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteProfitSharingExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -11,8 +11,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /profitsharing/orders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/orders/create-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/orders/create-order.html /// /// /// @@ -31,8 +31,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /profitsharing/orders/{out_order_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/orders/query-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/orders/query-order.html /// /// /// @@ -55,8 +55,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /profitsharing/return-orders 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_3.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/return-orders/create-return-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/return-orders/create-return-order.html /// /// /// @@ -75,8 +75,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /profitsharing/return-orders/{out_order_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/return-orders/query-return-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/return-orders/query-return-order.html /// /// /// @@ -99,8 +99,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /profitsharing/orders/unfreeze 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_5.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_5.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/orders/unfreeze-order.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/orders/unfreeze-order.html /// /// /// @@ -119,8 +119,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /profitsharing/transactions/{transaction_id}/amounts 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_6.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/transactions/query-order-amount.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/transactions/query-order-amount.html /// /// /// @@ -139,7 +139,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /profitsharing/merchant-configs/{sub_mchid} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_7.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/merchants/query-merchant-ratio.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/merchants/query-merchant-ratio.html /// /// /// @@ -158,8 +159,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /profitsharing/receivers/add 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_8.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/receivers/add-receiver.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/receivers/add-receiver.html /// /// /// @@ -178,8 +179,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /profitsharing/receivers/delete 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_9.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/receivers/delete-receiver.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/receivers/delete-receiver.html /// /// /// @@ -199,8 +200,9 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Bills /// /// 异步调用 [GET] /profitsharing/bills 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_1_11.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_1_11.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/profit-sharing/bill-shipment/split-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/profit-sharing/bill-shipment/split-bill.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-bill-download/split-bill.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteRefundExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteRefundExtensions.cs index 824ee891..30244b32 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteRefundExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteRefundExtensions.cs @@ -11,19 +11,24 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /refund/domestic/refunds 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_14.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_26.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter3_1_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter3_2_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter3_3_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter3_4_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter3_5_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_14.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/create.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/create.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/create.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/create.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/create.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/refunds/create.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/refund/refunds/create.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/refunds/create.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/wexin-pay-score-parking/create.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/wexin-pay-score-parking/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/create.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/create.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/create.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/create.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/create.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/refunds/create.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/refund/refunds/create.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/wexin-pay-score-parking/create.html /// /// /// @@ -42,19 +47,22 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /refund/domestic/refunds/{out_refund_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_3_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_4_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_15.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter6_1_27.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter3_1_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter3_2_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter3_3_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter3_4_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter3_5_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_15.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/h5-payment/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/native-payment/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/refunds/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/refund/refunds/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/weixin-pay-score/refunds/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-h5-payment/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-native-payment/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/refund/refunds/create.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/refund/refunds/query-by-out-refund-no.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/wexin-pay-score-parking/query-by-out-refund-no.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteSmartGuideExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteSmartGuideExtensions.cs index 02e69a33..4abf8f4b 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteSmartGuideExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteSmartGuideExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Net.Http; using System.Threading; using System.Threading.Tasks; @@ -11,8 +11,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 异步调用 [POST] /smartguide/guides 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_4_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/after-payment-service/guides/insert-guide.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/after-payment-service/guides/insert-guide.html /// /// /// @@ -31,8 +31,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /smartguide/guides/{guide_id}/assign 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_4_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_4_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/after-payment-service/guides/assign-guide.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/after-payment-service/guides/assign-guide.html /// /// /// @@ -51,8 +51,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /smartguide/guides 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_4_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_4_3.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/after-payment-service/guides/list-guides.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/after-payment-service/guides/list-guides.html /// /// /// @@ -90,8 +90,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [PATCH] /smartguide/guides/{guide_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_4_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_4_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/after-payment-service/guides/update-guide.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/after-payment-service/guides/update-guide.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteTransferExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteTransferExtensions.cs index bb75afe1..db5beeea 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteTransferExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteTransferExtensions.cs @@ -12,7 +12,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Batches /// /// 异步调用 [POST] /transfer/batches 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/transfer-batch/initiate-batch-transfer.html /// /// /// @@ -31,7 +31,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /transfer/batches/out-batch-no/{out_batch_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_5.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/transfer-batch/get-transfer-batch-by-out-no.html /// /// /// @@ -60,7 +60,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /transfer/batches/batch-id/{batch_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/transfer-batch/get-transfer-batch-by-no.html /// /// /// @@ -89,7 +89,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /transfer/batches/out-batch-no/{out_batch_no}/details/out-detail-no/{out_detail_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_6.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/transfer-detail/get-transfer-detail-by-out-no.html /// /// /// @@ -108,7 +108,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /transfer/batches/batch-id/{batch_id}/details/detail-id/{detail_id} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/transfer-detail/get-transfer-detail-by-no.html /// /// /// @@ -129,8 +129,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region BillReceipt /// /// 异步调用 [POST] /transfer/bill-receipt 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_7.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/electronic-signature/create-electronic-signature.html /// /// /// @@ -149,8 +148,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /transfer/bill-receipt/{out_batch_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter4_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/electronic-signature/get-electronic-signature-by-out-no.html /// /// /// @@ -171,8 +169,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region DetailReceipt /// /// 异步调用 [POST] /transfer-detail/electronic-receipts 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter4_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/electronic-receipt-api/create-electronic-receipt.html /// /// /// @@ -191,8 +188,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /transfer-detail/electronic-receipts 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter4_3_10.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transfer_partner/chapter4_5.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/batch-transfer-to-balance/electronic-receipt-api/query-electronic-receipt.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteVehicleExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteVehicleExtensions.cs index 7d05c0e6..62faa09f 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteVehicleExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientExecuteVehicleExtensions.cs @@ -12,8 +12,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Parking /// /// 异步调用 [GET] /vehicle/parking/services/find 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_8_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_8_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/wexin-pay-score-parking/services/query-plate-service.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/wexin-pay-score-parking/services/query-plate-service.html /// /// /// @@ -39,8 +39,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [POST] /vehicle/parking/parkings 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_8_2.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_8_2.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/wexin-pay-score-parking/parkings/create-parking.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/wexin-pay-score-parking/parkings/create-parking.html /// /// /// @@ -61,8 +61,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 #region Transactions /// /// 异步调用 [POST] /vehicle/transactions/parking 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_8_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_8_3.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/wexin-pay-score-parking/transactions/create-transaction.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/wexin-pay-score-parking/transactions/create-transaction.html /// /// /// @@ -81,8 +81,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 异步调用 [GET] /vehicle/transactions/out-trade-no/{out_trade_no} 接口。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter8_8_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter8_8_4.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/wexin-pay-score-parking/transactions/query-transaction.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/wexin-pay-score-parking/transactions/query-transaction.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientParameterExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientParameterExtensions.cs index 45e7fb52..7b68dff4 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientParameterExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientParameterExtensions.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Collections.ObjectModel; @@ -8,16 +8,17 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 生成客户端 JSAPI / 小程序调起支付所需的参数字典。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_1_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_5_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_1_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_5_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_3.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_9.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_3_8.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_3_9.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/jsapi-payment/jsapi-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/mini-program-payment/mini-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/jsapi-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/mini-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-jsapi-payment/jsapi-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-mini-program-payment/mini-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/jsapi-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/mini-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/jsapi-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/jsapi-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/mini-transfer-payment.html /// /// /// @@ -50,11 +51,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 生成 APP 调起支付所需的参数字典。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_2_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_3_6.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/in-app-payment/app-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/merchant/apis/combine-payment/orders/app-transfer-payment.html /// /// /// @@ -67,11 +65,11 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 生成 APP 调起支付所需的参数字典。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter3_2_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/apis/chapter5_1_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter4_2_4.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter5_1_6.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/apis/chapter7_3_6.shtml + /// REF: https://pay.weixin.qq.com/docs/partner/apis/partner-in-app-payment/app-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/combine-payment/orders/app-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/app-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-payment/mini-transfer-payment.html + /// REF: https://pay.weixin.qq.com/docs/partner/apis/ecommerce-combine-payment/app-transfer-payment.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientResponseVerificationExtensions.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientResponseVerificationExtensions.cs index 512755e5..695525e5 100644 --- a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientResponseVerificationExtensions.cs +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Extensions/WechatTenpayClientResponseVerificationExtensions.cs @@ -7,8 +7,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 { /// /// 验证响应签名。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html + /// REF: https://pay.weixin.qq.com/docs/partner/development/interface-rules/signature-verification.html /// /// /// @@ -22,8 +22,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 验证响应签名。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html + /// REF: https://pay.weixin.qq.com/docs/partner/development/interface-rules/signature-verification.html /// /// /// @@ -50,8 +50,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 验证响应签名。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html + /// REF: https://pay.weixin.qq.com/docs/partner/development/interface-rules/signature-verification.html /// /// /// @@ -75,8 +75,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 验证响应签名。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html + /// REF: https://pay.weixin.qq.com/docs/partner/development/interface-rules/signature-verification.html /// /// /// @@ -102,8 +102,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 验证响应签名。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html + /// REF: https://pay.weixin.qq.com/docs/partner/development/interface-rules/signature-verification.html /// /// /// @@ -129,8 +129,8 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayV3 /// /// 验证响应签名。 - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3/wechatpay/wechatpay4_1.shtml - /// REF: https://pay.weixin.qq.com/wiki/doc/apiv3_partner/wechatpay/wechatpay4_1.shtml + /// REF: https://pay.weixin.qq.com/docs/merchant/development/interface-rules/signature-verification.html + /// REF: https://pay.weixin.qq.com/docs/partner/development/interface-rules/signature-verification.html /// /// /// diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/MarketingFavor/Callbacks/GetMarketingFavorCallbackRequest.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/MarketingFavor/Callbacks/GetMarketingFavorCallbackRequest.cs new file mode 100644 index 00000000..b7edba33 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/MarketingFavor/Callbacks/GetMarketingFavorCallbackRequest.cs @@ -0,0 +1,15 @@ +namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models +{ + /// + /// 表示 [GET] /marketing/favor/callbacks 接口的请求。 + /// + public class GetMarketingFavorCallbackRequest : WechatTenpayRequest + { + /// + /// 获取或设置微信商户号。如果不指定将使用构造 时的 参数。 + /// + [Newtonsoft.Json.JsonIgnore] + [System.Text.Json.Serialization.JsonIgnore] + public string? MerchantId { get; set; } + } +} diff --git a/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/MarketingFavor/Callbacks/GetMarketingFavorCallbackResponse.cs b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/MarketingFavor/Callbacks/GetMarketingFavorCallbackResponse.cs new file mode 100644 index 00000000..6a66d796 --- /dev/null +++ b/src/SKIT.FlurlHttpClient.Wechat.TenpayV3/Models/MarketingFavor/Callbacks/GetMarketingFavorCallbackResponse.cs @@ -0,0 +1,22 @@ +namespace SKIT.FlurlHttpClient.Wechat.TenpayV3.Models +{ + /// + /// 表示 [GET] /marketing/favor/callbacks 接口的响应。 + /// + public class GetMarketingFavorCallbackResponse : WechatTenpayResponse + { + /// + /// 获取或设置微信商户号。 + /// + [Newtonsoft.Json.JsonProperty("mchid")] + [System.Text.Json.Serialization.JsonPropertyName("mchid")] + public string MerchantId { get; set; } = default!; + + /// + /// 获取或设置回调通知地址。 + /// + [Newtonsoft.Json.JsonProperty("notify_url")] + [System.Text.Json.Serialization.JsonPropertyName("notify_url")] + public string NotifyUrl { get; set; } = default!; + } +} diff --git a/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/EventSamples/BusinessCircle/MallAuthResource.json b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/EventSamples/BusinessCircle/MallAuthResource.json new file mode 100644 index 00000000..153a7d77 --- /dev/null +++ b/test/SKIT.FlurlHttpClient.Wechat.TenpayV3.UnitTests/EventSamples/BusinessCircle/MallAuthResource.json @@ -0,0 +1,6 @@ +{ + "openid": "oWmnN4xxxxxxxxxxe92NHIGf1xd8", + "code": "478515832665", + "mchid": "1230000109", + "auth_type": "REGISTERED_MODE " +}