Skip to content

Commit 5a0f956

Browse files
bump to v1.1.14
1 parent e4bafef commit 5a0f956

64 files changed

Lines changed: 4465 additions & 465 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/definitions/PayGiftActivity.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ ActivityBase:
7878
type: string
7979
StepSendRuleBase:
8080
type: object
81+
description: 阶梯送发放规则
8182
required: [award_type, merchant_option]
8283
properties:
8384
award_type:

docs/swagger.yaml

Lines changed: 149 additions & 103 deletions
Large diffs are not rendered by default.

docs/v2/appauth/authindex.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ get:
33
x-last-updated-at: 2021.11.10
44
tags:
55
- APIv2∙实名校验
6-
summary: 通过code换取accesstoken
6+
summary: 授权获取code
77
description: 使用标准OAuth2.0协议接入微信支付,在用户授权的条件下,将可以做到访问用户资源,使用接口调用用户功能(如获取用户实名信息等 [官方文档](https://pay.weixin.qq.com/wiki/doc/api/realnameauth.php?chapter=60_1&index=2)
88
consumes:
99
- application/xml

docs/v2/papay/h5entrustweb.yaml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
get:
2-
x-last-updated-at: 2024.11.14
2+
x-last-updated-at: 2026.01.20
33
tags:
44
- APIv2∙委托扣款
55
summary: H5纯签约
@@ -11,46 +11,55 @@ get:
1111
parameters:
1212
- name: appid
1313
in: query
14+
required: true
1415
type: string
1516
description: 应用ID
1617
example: wxcbda96de0b165486
1718
- name: mch_id
1819
in: query
20+
required: true
1921
type: string
2022
description: 商户号
2123
example: '1200009811'
2224
- name: plan_id
2325
in: query
26+
required: true
2427
type: string
2528
description: 模板id
2629
example: '12535'
2730
- name: contract_code
2831
in: query
32+
required: true
2933
type: string
3034
description: 签约协议号
3135
example: '100000'
3236
- name: request_serial
3337
in: query
38+
required: true
3439
type: integer
3540
description: 请求序列号
3641
example: 1000
3742
- name: contract_display_account
3843
in: query
44+
required: true
3945
type: string
4046
description: 用户账户展示名称
4147
example: 微信代扣
4248
- name: notify_url
4349
in: query
50+
required: true
4451
type: string
4552
description: 回调通知url
4653
example: https://weixin.qq.com
4754
- name: version
4855
in: query
56+
required: true
4957
type: string
5058
description: 版本号
5159
example: '1.0'
5260
- name: sign
5361
in: query
62+
required: true
5463
type: string
5564
description: 签名
5665
example: C380BEC2BFD727A4B6845133519F3AD6
@@ -66,11 +75,13 @@ get:
6675
- MD5
6776
- name: timestamp
6877
in: query
78+
required: true
6979
type: string
7080
description: 时间戳
7181
example: '1414488825'
7282
- name: clientip
7383
in: query
84+
required: true
7485
type: string
7586
description: 客户端 IP
7687
example: 119.145.83.6

docs/v2/papay/partner/h5entrustweb.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
get:
2-
x-last-updated-at: 2024.11.14
2+
x-last-updated-at: 2026.01.20
33
tags:
44
- APIv2∙委托扣款
55
x-role:
@@ -13,11 +13,13 @@ get:
1313
parameters:
1414
- name: appid
1515
in: query
16+
required: true
1617
type: string
1718
description: 应用ID
1819
example: wxcbda96de0b165486
1920
- name: mch_id
2021
in: query
22+
required: true
2123
type: string
2224
description: 商户号
2325
example: '1200009811'
@@ -28,41 +30,49 @@ get:
2830
example: wxcbda96de0b165489
2931
- name: sub_mch_id
3032
in: query
33+
required: true
3134
type: string
3235
description: 子商户号
3336
example: '1900000109'
3437
- name: plan_id
3538
in: query
39+
required: true
3640
type: string
3741
description: 模板id
3842
example: '12535'
3943
- name: contract_code
4044
in: query
45+
required: true
4146
type: string
4247
description: 签约协议号
4348
example: '100000'
4449
- name: request_serial
4550
in: query
51+
required: true
4652
type: integer
4753
description: 请求序列号
4854
example: 1000
4955
- name: contract_display_account
5056
in: query
57+
required: true
5158
type: string
5259
description: 用户账户展示名称
5360
example: 微信代扣
5461
- name: notify_url
5562
in: query
63+
required: true
5664
type: string
5765
description: 回调通知url
5866
example: https://weixin.qq.com
5967
- name: version
6068
in: query
69+
required: true
6170
type: string
6271
description: 版本号
6372
example: '1.0'
6473
- name: sign
6574
in: query
75+
required: true
6676
type: string
6777
description: 签名
6878
example: C380BEC2BFD727A4B6845133519F3AD6
@@ -78,11 +88,13 @@ get:
7888
- MD5
7989
- name: timestamp
8090
in: query
91+
required: true
8192
type: string
8293
description: 时间戳
8394
example: '1414488825'
8495
- name: clientip
8596
in: query
97+
required: true
8698
type: string
8799
description: 客户端 IP
88100
example: 119.145.83.6

docs/v2/secapi/mch/addInstitutionsub.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
post:
22
x-api-cert-required: true
3-
x-last-updated-at: 2024.03.07
3+
x-last-updated-at: 2026.01.14
44
tags:
55
- 跨境∙进件
66
summary: 进件子商户
7-
description: 机构提交子商户资料,微信支付系统会为每个子商户创建子商户号。[官方文档](https://pay.weixin.qq.com/wiki/doc/api/wxpay/ch/sub_merchant_entry/chapter3_1.shtml)
7+
description: 机构提交子商户资料,微信支付系统会为每个子商户创建子商户号。
88
consumes:
99
- application/xml
1010
produces:
@@ -213,9 +213,12 @@ post:
213213
description: 域名列表
214214
items:
215215
type: string
216+
attach:
217+
type: string
218+
description: 附加信息
219+
example: '555588889999'
216220
responses:
217221
'200':
218-
description: ''
219222
schema:
220223
allOf:
221224
- type: object

docs/v2/secapi/mch/modifyInstitutionsub.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
post:
22
x-api-cert-required: true
3-
x-last-updated-at: 2024.03.07
3+
x-last-updated-at: 2026.01.14
44
tags:
55
- 跨境∙进件
66
summary: 修改子商户API
7-
description: 用于机构子商户创建成功后,接口提供子商户信息修改。[官方文档](https://pay.weixin.qq.com/wiki/doc/api/wxpay/ch/sub_merchant_entry/chapter3_3.shtml)
7+
description: 用于机构子商户创建成功后,接口提供子商户信息修改。
88
consumes:
99
- application/xml
1010
produces:
@@ -215,7 +215,6 @@ post:
215215
type: string
216216
responses:
217217
'200':
218-
description: ''
219218
schema:
220219
allOf:
221220
- type: object

docs/v2/secapi/mch/queryInstitutionsub.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
post:
22
x-api-cert-required: true
3-
x-last-updated-at: 2024.03.27
3+
x-last-updated-at: 2026.01.14
44
tags:
55
- 跨境∙进件
66
summary: 查询子商户
7-
description: 用于机构查询子商户创建是否成功,接口只提供单个子商户信息查询。[官方文档](https://pay.weixin.qq.com/wiki/doc/api/wxpay/ch/sub_merchant_entry/chapter3_2.shtml)
7+
description: 用于机构查询子商户创建是否成功,接口只提供单个子商户信息查询。
88
consumes:
99
- application/xml
1010
produces:
@@ -41,7 +41,6 @@ post:
4141
example: C380BEC2BFD727A4B6845133519F3AD6
4242
responses:
4343
'200':
44-
description: ''
4544
schema:
4645
allOf:
4746
- type: object
@@ -284,3 +283,7 @@ post:
284283
reason:
285284
type: string
286285
description: 原因
286+
attach:
287+
type: string
288+
description: 附加信息
289+
example: '555588889999'

docs/v3/abnormal-fund-processing/receipts/{receipt_id}/transfer-instructions.yaml

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,21 @@ post:
2727
type: string
2828
description: 商户侧指令编号
2929
example: '1200002'
30-
appid:
31-
type: array
32-
description: 商户AppID
33-
items:
34-
type: string
35-
example: 'wxf636efh567hg4356'
3630
transfer_mode:
3731
type: string
3832
description: 付款方式
3933
enum:
4034
- TRANSFER_TO_ORIGINAL_RECEIVE_USER
35+
- TRANSFER_MODE_TO_ORIGINAL_RECEIVE_MERCHANT
36+
- TRANSFER_MODE_TO_SPECIFIED_RECEIVE_MERCHANT
37+
receiver:
38+
type: object
39+
description: 收款方
40+
properties:
41+
mchid:
42+
type: string
43+
description: 入账商户号
44+
example: '1900001108'
4145
notify_url:
4246
type: string
4347
description: 回调通知地址
@@ -128,16 +132,32 @@ post:
128132
description: 付款方式
129133
enum:
130134
- TRANSFER_TO_ORIGINAL_RECEIVE_USER
135+
- TRANSFER_MODE_TO_ORIGINAL_RECEIVE_MERCHANT
136+
- TRANSFER_MODE_TO_SPECIFIED_RECEIVE_MERCHANT
137+
receiver:
138+
type: object
139+
description: 收款方
140+
properties:
141+
mchid:
142+
type: string
143+
description: 入账商户号
144+
example: '1900001108'
145+
instruction_state:
146+
type: string
147+
description: 在途异常资金付款指令状态
148+
enum:
149+
- INSTRUCTION_STATE_PENDING
150+
- INSTRUCTION_STATE_IN_PROGRESS
151+
- INSTRUCTION_STATE_CLOSED
152+
- INSTRUCTION_STATE_SUCCESS
153+
create_time:
154+
type: string
155+
description: 在途异常资金付款单据创建时间
156+
example: '2018-06-08T10:34:56+08:00'
131157
success_time:
132158
type: string
133159
description: 入账成功时间
134160
example: '2018-06-08T10:34:56+08:00'
135-
appid:
136-
type: array
137-
description: 商户AppID
138-
items:
139-
type: string
140-
example: 'wxf636efh567hg4356'
141161
notify_url:
142162
type: string
143163
description: 回调通知地址

0 commit comments

Comments
 (0)