Skip to content

Commit ef94b56

Browse files
bump to v1.1.11
1 parent 1d2fe78 commit ef94b56

11 files changed

Lines changed: 871 additions & 1 deletion

File tree

docs/swagger.yaml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ info:
77
整理自官方文档中心[普通商户](https://pay.weixin.qq.com/doc/v3/merchant/4012062524) [合作伙伴](https://pay.weixin.qq.com/doc/v3/partner/4012069852) [全球](https://pay.weixin.qq.com/doc/global/v3/zh)
88
本[项目/工具地址](https://github.com/TheNorthMemory/wechatpay-openapi)
99
**访问第一次加载比较慢,请耐心等待大约1-2分钟不等(小文件下载比较多)。**
10-
version: 1.1.10
10+
version: 1.1.11
1111
schemes:
1212
- https
1313
consumes:
@@ -793,6 +793,8 @@ paths:
793793
$ref: ./v3/fund-app/mch-transfer/elecsign/transfer-bill-no.yaml
794794
/v3/fund-app/mch-transfer/elecsign/transfer-bill-no/{transfer_bill_no}:
795795
$ref: ./v3/fund-app/mch-transfer/elecsign/transfer-bill-no/{transfer_bill_no}.yaml
796+
/v3/fund-app/mch-transfer/partner/budget/{out_budget_no}/electronic-receipts:
797+
$ref: ./v3/fund-app/mch-transfer/partner/budget/{out_budget_no}/electronic-receipts.yaml
796798
/v3/fund-app/mch-transfer/partner/charity-budget:
797799
$ref: ./v3/fund-app/mch-transfer/partner/charity-budget.yaml
798800
/v3/fund-app/mch-transfer/partner/charity-budget/{out_budget_no}:
@@ -1113,12 +1115,16 @@ paths:
11131115
$ref: ./v3/marketing/favor/stocks/{stock_id}/merchants.yaml
11141116
/v3/marketing/favor/stocks/{stock_id}/pause:
11151117
$ref: ./v3/marketing/favor/stocks/{stock_id}/pause.yaml
1118+
/v3/marketing/favor/stocks/{stock_id}/refund-flow-by-day:
1119+
$ref: ./v3/marketing/favor/stocks/{stock_id}/refund-flow-by-day.yaml
11161120
/v3/marketing/favor/stocks/{stock_id}/refund-flow:
11171121
$ref: ./v3/marketing/favor/stocks/{stock_id}/refund-flow.yaml
11181122
/v3/marketing/favor/stocks/{stock_id}/restart:
11191123
$ref: ./v3/marketing/favor/stocks/{stock_id}/restart.yaml
11201124
/v3/marketing/favor/stocks/{stock_id}/start:
11211125
$ref: ./v3/marketing/favor/stocks/{stock_id}/start.yaml
1126+
/v3/marketing/favor/stocks/{stock_id}/use-flow-by-day:
1127+
$ref: ./v3/marketing/favor/stocks/{stock_id}/use-flow-by-day.yaml
11221128
/v3/marketing/favor/stocks/{stock_id}/use-flow:
11231129
$ref: ./v3/marketing/favor/stocks/{stock_id}/use-flow.yaml
11241130
/v3/marketing/favor/users/{openid}/coupons:
@@ -1191,6 +1197,16 @@ paths:
11911197
$ref: ./v3/marketing/membercard-open/phonenumber-member/search.yaml
11921198
/v3/marketing/membercard-open/user/cards:
11931199
$ref: ./v3/marketing/membercard-open/user/cards.yaml
1200+
/v3/marketing/partner/delivery-plan/{sp_mchid}/notify-url:
1201+
$ref: ./v3/marketing/partner/delivery-plan/{sp_mchid}/notify-url.yaml
1202+
/v3/marketing/partner/delivery-plan/delivery-plans:
1203+
$ref: ./v3/marketing/partner/delivery-plan/delivery-plans.yaml
1204+
/v3/marketing/partner/delivery-plan/delivery-plans/{brand_id}/delivery-plans:
1205+
$ref: ./v3/marketing/partner/delivery-plan/delivery-plans/{brand_id}/delivery-plans.yaml
1206+
/v3/marketing/partner/delivery-plan/delivery-plans/{plan_id}:
1207+
$ref: ./v3/marketing/partner/delivery-plan/delivery-plans/{plan_id}.yaml
1208+
/v3/marketing/partner/delivery-plan/delivery-plans/{plan_id}/terminate:
1209+
$ref: ./v3/marketing/partner/delivery-plan/delivery-plans/{plan_id}/terminate.yaml
11941210
/v3/marketing/partner/product-coupon/media/upload-image:
11951211
$ref: ./v3/marketing/partner/product-coupon/media/upload-image.yaml
11961212
/v3/marketing/partner/product-coupon/notify-configs:
@@ -1573,6 +1589,10 @@ paths:
15731589
$ref: ./v3/pay-devices/printers/{device_id}/print-orders/{print_order_no}.yaml
15741590
/v3/pay/acquiring-bank/transactions/exposure:
15751591
$ref: ./v3/pay/acquiring-bank/transactions/exposure.yaml
1592+
/v3/pay/instal/exposure:
1593+
$ref: ./v3/pay/instal/exposure.yaml
1594+
/v3/pay/instal/partner/exposure:
1595+
$ref: ./v3/pay/instal/partner/exposure.yaml
15761596
/v3/pay/partner/transactions/app:
15771597
$ref: ./v3/pay/partner/transactions/app.yaml
15781598
/v3/pay/partner/transactions/codepay:
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
1+
post:
2+
x-last-updated-at: 2025.10.09
3+
x-role:
4+
- 服务商
5+
tags:
6+
- 资金应用∙公益捐赠
7+
summary: 申请预算出资的电子回单
8+
description: 申请预算出资的电子回单。指定了收款商户号,表示获取按日及按收款方汇总的电子回单,否则表示获取仅按日汇总的电子回单。前置条件:只支持查询T-1的最近180天内的汇总电子回单。 注:单个服务商商户的接口频率限制为20次/s
9+
parameters:
10+
- name: out_budget_no
11+
in: path
12+
required: true
13+
type: string
14+
description: 商户预算单号
15+
example: budget202506300102
16+
- name: _
17+
in: body
18+
required: true
19+
schema:
20+
type: object
21+
required:
22+
- start_date
23+
- end_date
24+
- sponsor_mchid
25+
properties:
26+
start_date:
27+
type: string
28+
description: 开始日期
29+
example: '2025-09-01'
30+
end_date:
31+
type: string
32+
description: 结束日期
33+
example: '2025-09-30'
34+
sponsor_mchid:
35+
type: string
36+
description: 出资商户号
37+
example: '1900001109'
38+
receiver_mchid:
39+
type: string
40+
description: 收款商户号
41+
example: '1900102209'
42+
responses:
43+
'200':
44+
schema:
45+
type: object
46+
required:
47+
- out_budget_no
48+
- start_date
49+
- end_date
50+
- sponsor_mchid
51+
- receipt_state
52+
- accept_id
53+
properties:
54+
out_budget_no:
55+
type: string
56+
description: 商户预算单号
57+
example: budget202506300102
58+
start_date:
59+
type: string
60+
description: 开始日期
61+
example: '2025-09-01'
62+
end_date:
63+
type: string
64+
description: 结束日期
65+
example: '2025-09-30'
66+
sponsor_mchid:
67+
type: string
68+
description: 出资商户号
69+
example: '1900001109'
70+
receiver_mchid:
71+
type: string
72+
description: 收款商户号
73+
example: '1900102209'
74+
receipt_state:
75+
type: string
76+
description: 电子回单状态
77+
example: FINISHED
78+
enum:
79+
- ACCEPTED
80+
- FINISHED
81+
accept_id:
82+
type: string
83+
description: 受理凭证
84+
example: c2RmYWtqampqampsZmFza2xmanNhbGZqc2FrZmpzbGZqc2tsZmp
85+
hash_type:
86+
type: string
87+
description: 电子回单文件的hash方法
88+
example: SHA256
89+
enum:
90+
- SHA256
91+
- SM3
92+
hash_value:
93+
type: string
94+
description: 电子回单文件的hash值
95+
example: DE731F35146A0BEFADE5DB9D1E468D96C01CA8898119C674FEE9F11F4DBE5529
96+
download_url:
97+
type: string
98+
description: 电子回单下载地址
99+
example: https://api.mch.weixin.qq.com/v3/billdownload/file?token=token
100+
get:
101+
x-last-updated-at: 2025.10.09
102+
x-role:
103+
- 服务商
104+
tags:
105+
- 资金应用∙公益捐赠
106+
summary: 查询预算出资的电子回单
107+
description: 查询预算出资的电子回单。 注:单个服务商商户的接口频率限制为50次/s
108+
parameters:
109+
- name: out_budget_no
110+
in: path
111+
required: true
112+
type: string
113+
description: 商户预算单号
114+
example: budget202506300102
115+
- name: accept_id
116+
in: query
117+
required: true
118+
type: string
119+
description: 受理凭证
120+
example: c2RmYWtqampqampsZmFza2xmanNhbGZqc2FrZmpzbGZqc2tsZmp
121+
responses:
122+
'200':
123+
schema:
124+
type: object
125+
required:
126+
- out_budget_no
127+
- start_date
128+
- end_date
129+
- sponsor_mchid
130+
- receipt_state
131+
- accept_id
132+
properties:
133+
out_budget_no:
134+
type: string
135+
description: 商户预算单号
136+
example: budget202506300102
137+
start_date:
138+
type: string
139+
description: 开始日期
140+
example: '2025-09-01'
141+
end_date:
142+
type: string
143+
description: 结束日期
144+
example: '2025-09-30'
145+
sponsor_mchid:
146+
type: string
147+
description: 出资商户号
148+
example: '1900001109'
149+
receiver_mchid:
150+
type: string
151+
description: 收款商户号
152+
example: '1900102209'
153+
receipt_state:
154+
type: string
155+
description: 电子回单状态
156+
example: FINISHED
157+
enum:
158+
- ACCEPTED
159+
- FINISHED
160+
accept_id:
161+
type: string
162+
description: 受理凭证
163+
example: c2RmYWtqampqampsZmFza2xmanNhbGZqc2FrZmpzbGZqc2tsZmp
164+
hash_type:
165+
type: string
166+
description: 电子回单文件的hash方法
167+
example: SHA256
168+
enum:
169+
- SHA256
170+
- SM3
171+
hash_value:
172+
type: string
173+
description: 电子回单文件的hash值
174+
example: DE731F35146A0BEFADE5DB9D1E468D96C01CA8898119C674FEE9F11F4DBE5529
175+
download_url:
176+
type: string
177+
description: 电子回单下载地址
178+
example: https://api.mch.weixin.qq.com/v3/billdownload/file?token=token
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
get:
2+
x-last-updated-at: 2025.09.08
3+
x-role:
4+
- 直连商户
5+
- 服务商
6+
tags:
7+
- 运营工具∙代金券
8+
summary: 获取批次退款明细下载链接
9+
description: 注意:1. 核销账单明细新增合单相关字段:【是否合单订单】【微信支付合单单号】【合单优惠 总金额】【合单订单总金额】;2. 账单明细设备号字段格式采用base64,消除历史乱码问题;3. 账单文件下载链接响应不包含微信接口响应的签名值,因此需要跳过验签的流程;
10+
parameters:
11+
- name: stock_id
12+
in: path
13+
required: true
14+
type: string
15+
description: 批次号
16+
example: '12356458'
17+
- name: bill_date
18+
in: query
19+
required: true
20+
type: string
21+
description: 账单日期
22+
example: '2025-08-09'
23+
responses:
24+
200:
25+
schema:
26+
type: object
27+
required:
28+
- url
29+
- stock_refundflow_hash
30+
- stock_refundflow_count
31+
properties:
32+
url:
33+
type: string
34+
description: 下载链接
35+
example: 'https://download-service.wechatpay.cn/mkt/storage/bill/download?bill_params=ABAn6jAYAAABAA32ad52c3a1CSjwrN5j6Vx_8UMI5i'
36+
stock_refundflow_hash:
37+
type: string
38+
description: 账单文件摘要
39+
example: 8ae0eb442c408d2e90d669d6f4ad6b7e6e049d6f
40+
stock_refundflow_count:
41+
type: string
42+
description: 账单记录总条数
43+
example: '2030'
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
get:
2+
x-last-updated-at: 2025.09.08
3+
x-role:
4+
- 直连商户
5+
- 服务商
6+
tags:
7+
- 运营工具∙代金券
8+
summary: 获取批次核销明细下载链接
9+
description: 注意:1. 核销账单明细新增合单相关字段:【是否合单订单】【微信支付合单单号】【合单优惠 总金额】【合单订单总金额】;2. 账单明细设备号字段格式采用base64,消除历史乱码问题;3. 账单文件下载链接响应不包含微信接口响应的签名值,因此需要跳过验签的流程;
10+
parameters:
11+
- name: stock_id
12+
in: path
13+
required: true
14+
type: string
15+
description: 批次号
16+
example: '12356458'
17+
- name: bill_date
18+
in: query
19+
required: true
20+
type: string
21+
description: 账单日期
22+
example: '2025-08-09'
23+
responses:
24+
200:
25+
schema:
26+
type: object
27+
required:
28+
- url
29+
- stock_useflow_hash
30+
- stock_useflow_count
31+
properties:
32+
url:
33+
type: string
34+
description: 下载链接
35+
example: 'https://download-service.wechatpay.cn/mkt/storage/bill/download?bill_params=ABAn6jAYAAABAA32ad52c3a1CSjwrN5j6Vx_8UMI5i'
36+
stock_useflow_hash:
37+
type: string
38+
description: 账单文件摘要
39+
example: 8ae0eb442c408d2e90d669d6f4ad6b7e6e049d6f
40+
stock_useflow_count:
41+
type: string
42+
description: 账单记录总条数
43+
example: '2030'

0 commit comments

Comments
 (0)