|
@@ -33,12 +33,13 @@ type RefundsApiService services.Service
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
|
@@ -60,7 +61,7 @@ func (a *RefundsApiService) Create(ctx context.Context, req CreateRequest) (resp
|
|
|
localVarHeaderParams = nethttp.Header{}
|
|
|
)
|
|
|
|
|
|
- localVarPath := consts.WechatPayAPIServer + "/v3/refund/domestic/refunds"
|
|
|
+ localVarPath := consts.WechatPayAPIServer + "/v3/global/refunds"
|
|
|
|
|
|
|
|
|
|
|
@@ -111,7 +112,7 @@ func (a *RefundsApiService) QueryByOutRefundNo(ctx context.Context, req QueryByO
|
|
|
return nil, nil, fmt.Errorf("field `OutRefundNo` is required and must be specified in QueryByOutRefundNoRequest")
|
|
|
}
|
|
|
|
|
|
- localVarPath := consts.WechatPayAPIServer + "/v3/refund/domestic/refunds/{out_refund_no}"
|
|
|
+ localVarPath := consts.WechatPayAPIServer + "/v3/global/refunds/out-refund-no/{out_refund_no}"
|
|
|
|
|
|
localVarPath = strings.Replace(localVarPath, "{"+"out_refund_no"+"}", neturl.PathEscape(core.ParameterToString(*req.OutRefundNo, "")), -1)
|
|
|
|