Skip to content

Commit 094adf4

Browse files
A: `docs/v3/[med-ins|transaction-block|mch-manage-records|individual-contracts]*, ref 1d92892, baee052, d90e817
1 parent 24e4546 commit 094adf4

18 files changed

Lines changed: 3608 additions & 0 deletions

File tree

docs/swagger.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,10 @@ paths:
521521
$ref: ./v3/brand/partner/card-member/user-cards/import-by-phone.yaml
522522
/v3/brand/partner/card-member/user-feeds:
523523
$ref: ./v3/brand/partner/card-member/user-feeds.yaml
524+
/v3/brand/partner/card-member/user-points/exchange-coupon/confirm:
525+
$ref: ./v3/brand/partner/card-member/user-points/exchange-coupon/confirm.yaml
526+
/v3/brand/partner/card-member/user-points/sync:
527+
$ref: ./v3/brand/partner/card-member/user-points/sync.yaml
524528
/v3/brand/profitsharing/brand-configs/{brand_mchid}:
525529
$ref: ./v3/brand/profitsharing/brand-configs/{brand_mchid}.yaml
526530
/v3/brand/profitsharing/finish-order:
@@ -653,6 +657,10 @@ paths:
653657
$ref: ./v3/ecommerce/fund/withdraw/out-request-no/{out_request_no}.yaml
654658
/v3/ecommerce/individual-contracts/{openid}:
655659
$ref: ./v3/ecommerce/individual-contracts/{openid}.yaml
660+
/v3/ecommerce/individual-contracts/out-contract-code/{out_contract_code}:
661+
$ref: ./v3/ecommerce/individual-contracts/out-contract-code/{out_contract_code}.yaml
662+
/v3/ecommerce/individual-contracts/pre-entrust-sign/app:
663+
$ref: ./v3/ecommerce/individual-contracts/pre-entrust-sign/app.yaml
656664
/v3/ecommerce/mch-transfer/authorizations:
657665
$ref: ./v3/ecommerce/mch-transfer/authorizations.yaml
658666
/v3/ecommerce/mch-transfer/authorizations/{sub_mchid}:
@@ -793,6 +801,8 @@ paths:
793801
$ref: ./v3/fund-app/mch-transfer/transfer-to-qq-wallet-bills/{out_bill_no}.yaml
794802
/v3/fund-app/mch-transfer/transfer-to-qq-wallet-bills/{out_bill_no}/cancel:
795803
$ref: ./v3/fund-app/mch-transfer/transfer-to-qq-wallet-bills/{out_bill_no}/cancel.yaml
804+
/v3/fund-app/mch-transfer/user-confirm-authorization:
805+
$ref: ./v3/fund-app/mch-transfer/user-confirm-authorization.yaml
796806
/v3/fund-app/mch-transfer/user-confirm-authorization/out-authorization-no/{out_authorization_no}:
797807
$ref: ./v3/fund-app/mch-transfer/user-confirm-authorization/out-authorization-no/{out_authorization_no}.yaml
798808
/v3/fund-app/mch-transfer/user-confirm-authorization/out-authorization-no/{out_authorization_no}/close:
@@ -1195,6 +1205,14 @@ paths:
11951205
$ref: ./v3/mch_operate/risk/withdrawl-apply/applyment-id/{applyment_id}.yaml
11961206
/v3/mch_operate/risk/withdrawl-apply/out-request-no/{out_request_no}:
11971207
$ref: ./v3/mch_operate/risk/withdrawl-apply/out-request-no/{out_request_no}.yaml
1208+
/v3/mch-manage/mch-manage-records/{manage_record_id}:
1209+
$ref: ./v3/mch-manage/mch-manage-records/{manage_record_id}.yaml
1210+
/v3/mch-manage/mch-manage-records/{manage_record_id}/mch-manage-submissions:
1211+
$ref: ./v3/mch-manage/mch-manage-records/{manage_record_id}/mch-manage-submissions.yaml
1212+
/v3/mch-manage/mch-manage-records/sub-mchid/{sub_mchid}:
1213+
$ref: ./v3/mch-manage/mch-manage-records/sub-mchid/{sub_mchid}.yaml
1214+
/v3/mch-manage/submission-files/sub-mchid/{sub_mchid}/upload:
1215+
$ref: ./v3/mch-manage/submission-files/sub-mchid/{sub_mchid}/upload.yaml
11981216
/v3/mch-operation-manage/enhanced-due-diligence/{due_diligence_id}:
11991217
$ref: ./v3/mch-operation-manage/enhanced-due-diligence/{due_diligence_id}.yaml
12001218
/v3/mch-operation-manage/enhanced-due-diligence/{due_diligence_id}/submit:
@@ -1219,6 +1237,14 @@ paths:
12191237
$ref: ./v3/mchalterapply/mchsubjectalterapplyment/{apply_id}/revoke.yaml
12201238
/v3/mchalterapply/mchsubjectalterapplyment/merchant/{merchant_code}/out-request-no/{out_request_no}:
12211239
$ref: ./v3/mchalterapply/mchsubjectalterapplyment/merchant/{merchant_code}/out-request-no/{out_request_no}.yaml
1240+
/v3/med-ins/orders:
1241+
$ref: ./v3/med-ins/orders.yaml
1242+
/v3/med-ins/orders/mix-trade-no/{mix_trade_no}:
1243+
$ref: ./v3/med-ins/orders/mix-trade-no/{mix_trade_no}.yaml
1244+
/v3/med-ins/orders/out-trade-no/{out_trade_no}:
1245+
$ref: ./v3/med-ins/orders/out-trade-no/{out_trade_no}.yaml
1246+
/v3/med-ins/refunds/notify:
1247+
$ref: ./v3/med-ins/refunds/notify.yaml
12221248
/v3/merchant-risk-manage/ec-trade-risk/query-risk-trades:
12231249
$ref: ./v3/merchant-risk-manage/ec-trade-risk/query-risk-trades.yaml
12241250
/v3/merchant-risk-manage/ec-trade-risk/recv-dispose-result:
@@ -1871,6 +1897,14 @@ paths:
18711897
$ref: ./v3/taxi-invoice/user-taxi-order/find-by-token.yaml
18721898
/v3/taxi-invoice/user-taxi-orders:
18731899
$ref: ./v3/taxi-invoice/user-taxi-orders.yaml
1900+
/v3/transaction-block/transaction-block-records/{block_record_id}:
1901+
$ref: ./v3/transaction-block/transaction-block-records/{block_record_id}.yaml
1902+
/v3/transaction-block/transaction-block-records/sub-mchid/{sub_mchid}:
1903+
$ref: ./v3/transaction-block/transaction-block-records/sub-mchid/{sub_mchid}.yaml
1904+
/v3/transaction-block/transaction-block-submissions/{block_submission_id}:
1905+
$ref: ./v3/transaction-block/transaction-block-submissions/{block_submission_id}.yaml
1906+
/v3/transaction-block/transaction-block-submissions/sub-mchid/{sub_mchid}:
1907+
$ref: ./v3/transaction-block/transaction-block-submissions/sub-mchid/{sub_mchid}.yaml
18741908
/v3/transfer-detail/electronic-receipts:
18751909
$ref: ./v3/transfer-detail/electronic-receipts.yaml
18761910
/v3/transfer/batches:
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
post:
2+
x-last-updated-at: 2025.08.20
3+
x-role:
4+
- 服务商
5+
tags:
6+
- 商家名片会员
7+
summary: 同步积分兑券结果
8+
description: 当用户触发积分兑券后,微信支付将通过用户积分兑券事件通知接口回调给商家。商家处理完成后,必须把积分兑券处理结果同步给微信支付侧。接口限频:按服务商商户号维度 5次/秒
9+
parameters:
10+
- name: _
11+
in: body
12+
required: true
13+
schema:
14+
type: object
15+
required:
16+
- record_id
17+
- exchange_coupon_template_id
18+
- brand_id
19+
- card_id
20+
- openid
21+
- user_card_code
22+
- state
23+
properties:
24+
record_id:
25+
type: string
26+
description: 积分兑券ID
27+
example: pbLatjvWOibDc5-TBnbUk1pD12o0
28+
exchange_coupon_template_id:
29+
type: string
30+
description: 积分兑券模板ID
31+
example: 0Flpo7FqTQ
32+
brand_id:
33+
type: string
34+
description: 品牌ID
35+
example: '1004'
36+
card_id:
37+
type: string
38+
description: 会员卡模板ID
39+
example: pbLatjvWOibDc5-TBnbUk1pD12o0
40+
openid:
41+
type: string
42+
description: 用户标识
43+
example: obLatjnx9gnqzS4myYGmLZ7LgLBA
44+
user_card_code:
45+
type: string
46+
description: 会员卡code
47+
example: '478515832665'
48+
state:
49+
type: string
50+
description: 积分兑券状态
51+
example: POINT_EXCHANGE_COUPON_SUCCESS
52+
enum:
53+
- POINT_EXCHANGE_COUPON_SUCCESS
54+
- POINT_EXCHANGE_COUPON_FAIL
55+
coupon_code:
56+
type: string
57+
description: 兑券成功的券code
58+
example: '123446565767'
59+
fail_reason:
60+
type: string
61+
description: 兑券失败原因
62+
example: 积分不足
63+
responses:
64+
'200':
65+
schema:
66+
type: object
67+
required:
68+
- record_id
69+
- exchange_coupon_template_id
70+
- brand_id
71+
- card_id
72+
- openid
73+
- user_card_code
74+
- state
75+
properties:
76+
record_id:
77+
type: string
78+
description: 积分兑券ID
79+
example: pbLatjvWOibDc5-TBnbUk1pD12o0
80+
exchange_coupon_template_id:
81+
type: string
82+
description: 积分兑券模板ID
83+
example: 0Flpo7FqTQ
84+
brand_id:
85+
type: string
86+
description: 品牌ID
87+
example: '1004'
88+
card_id:
89+
type: string
90+
description: 会员卡模板ID
91+
example: pbLatjvWOibDc5-TBnbUk1pD12o0
92+
openid:
93+
type: string
94+
description: 用户标识
95+
example: obLatjnx9gnqzS4myYGmLZ7LgLBA
96+
user_card_code:
97+
type: string
98+
description: 会员卡code
99+
example: '478515832665'
100+
state:
101+
type: string
102+
description: 积分兑券状态
103+
example: POINT_EXCHANGE_COUPON_SUCCESS
104+
enum:
105+
- POINT_EXCHANGE_COUPON_SUCCESS
106+
- POINT_EXCHANGE_COUPON_FAIL
107+
coupon_code:
108+
type: string
109+
description: 兑券成功的券code
110+
example: '123446565767'
111+
fail_reason:
112+
type: string
113+
description: 兑券失败原因
114+
example: 积分不足
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
post:
2+
x-last-updated-at: 2025.08.20
3+
x-role:
4+
- 服务商
5+
tags:
6+
- 商家名片会员
7+
summary: 同步积分余额
8+
description: 通过此接口可同步指定用户的会员卡积分余额。接口限频:按服务商商户号维度 5次/秒
9+
parameters:
10+
- name: _
11+
in: body
12+
required: true
13+
schema:
14+
type: object
15+
required:
16+
- out_request_no
17+
- brand_id
18+
- card_id
19+
- openid
20+
- user_card_code
21+
- point_balance
22+
properties:
23+
out_request_no:
24+
type: string
25+
description: 商家请求单号
26+
example: '100002322019090134234sfdf'
27+
brand_id:
28+
type: string
29+
description: 品牌ID
30+
example: '1004'
31+
card_id:
32+
type: string
33+
description: 会员卡模板ID
34+
example: pbLatjvWOibDc5-TBnbUk1pD12o0
35+
openid:
36+
type: string
37+
description: 用户标识
38+
example: obLatjnx9gnqzS4myYGmLZ7LgLBA
39+
user_card_code:
40+
type: string
41+
description: 会员卡code
42+
example: '478515832665'
43+
point_balance:
44+
type: integer
45+
description: 积分余额
46+
example: 1000
47+
responses:
48+
'200':
49+
schema:
50+
type: object
51+
required:
52+
- out_request_no
53+
- brand_id
54+
- card_id
55+
- openid
56+
- user_card_code
57+
- point_balance
58+
properties:
59+
out_request_no:
60+
type: string
61+
description: 商家请求单号
62+
example: '100002322019090134234sfdf'
63+
brand_id:
64+
type: string
65+
description: 品牌ID
66+
example: '1004'
67+
card_id:
68+
type: string
69+
description: 会员卡模板ID
70+
example: pbLatjvWOibDc5-TBnbUk1pD12o0
71+
openid:
72+
type: string
73+
description: 用户标识
74+
example: obLatjnx9gnqzS4myYGmLZ7LgLBA
75+
user_card_code:
76+
type: string
77+
description: 会员卡code
78+
example: '478515832665'
79+
point_balance:
80+
type: integer
81+
description: 积分余额
82+
example: 1000
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
get:
2+
x-last-updated-at: 2025.08.13
3+
x-role:
4+
- 电商平台
5+
tags:
6+
- 收付通∙个人收款
7+
summary: 根据业务申请单号查签约信息
8+
description: 商户通过预签约接口生成预签约id,当用户通过微信SDK拉起微信支付客户端的签约页面并完成签约后,可以通过预签约id查询到对应的签约信息和用户openid
9+
parameters:
10+
- name: out_contract_code
11+
in: path
12+
required: true
13+
type: string
14+
description: 业务申请单号
15+
example: APPLYMENT_00000000001
16+
- name: appid
17+
in: query
18+
required: true
19+
type: string
20+
description: 签约和付款的微信小程序AppID
21+
example: wxd678efh567h23787
22+
responses:
23+
'200':
24+
schema:
25+
type: object
26+
required:
27+
- signed_time
28+
- auth_state
29+
properties:
30+
individual_auth_id:
31+
type: string
32+
description: 授权ID
33+
example: '1900000109'
34+
signed_time:
35+
type: string
36+
format: rfc3339
37+
description: 签约时间
38+
example: '2018-06-08T10:34:56+08:00'
39+
auth_state:
40+
type: string
41+
description: 授权状态
42+
example: AUTHORIZED
43+
enum:
44+
- AUTHORIZED
45+
- UNAUTHORIZED
46+
individual_openid:
47+
type: string
48+
description: 用户OpenID
49+
example: oUpF8uMuAJO_M2pxb1Q9zNjWeS6o
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
post:
2+
x-last-updated-at: 2025.08.14
3+
x-role:
4+
- 电商平台
5+
tags:
6+
- 收付通∙个人收款
7+
summary: APP场景预签约
8+
description: 商户可调用本接口预先指定签约,生成预签约会话及对应的预签约ID,再携带预签约ID(pre_entrustweb_id)参数,通过微信SDK拉起微信支付客户端的签约页面。
9+
parameters:
10+
- name: _
11+
in: body
12+
required: true
13+
schema:
14+
type: object
15+
required:
16+
- sub_mchid
17+
- agreement_list
18+
properties:
19+
appid:
20+
type: string
21+
description: 签约和付款的AppID
22+
example: wxd678efh567h23787
23+
out_contract_code:
24+
type: string
25+
description: 业务申请单号
26+
example: APPLYMENT_00000000001
27+
responses:
28+
'200':
29+
schema:
30+
type: object
31+
required:
32+
- pre_entrustweb_id
33+
properties:
34+
pre_entrustweb_id:
35+
type: string
36+
description: 预签约id
37+
example: 1121_9f3cec22a2d367737674d08d98e5e07b8388495fafedc0eba83c327e8ad720ed_12bfdd59b387c4bff8543de4719a886a

0 commit comments

Comments
 (0)