File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11post :
2- x-last-updated-at : 2022.08.04
2+ x-last-updated-at : 2025.01.07
33 x-role :
44 - 直连模式
55 - 机构模式
1313 required : true
1414 schema :
1515 type : object
16+ required :
17+ - description
18+ - notify_url
19+ - out_trade_no
20+ - merchant_category_code
21+ - contract_id
22+ - amount
1623 properties :
1724 appid :
1825 type : string
@@ -86,15 +93,11 @@ post:
8693 example : 128.0.0.1
8794 responses :
8895 ' 200 ' :
96+ schema :
8997 type : object
9098 required :
91- - mchid
92- - appid
93- - sp_mchid
94- - sub_mchid
95- - sp_appid
9699 - out_trade_no
97- - id
100+ - transaction_id
98101 - trade_type
99102 - bank_type
100103 - success_time
@@ -131,7 +134,7 @@ post:
131134 type : string
132135 description : 商户订单号
133136 example : ' 1217752501201407033233368018'
134- id :
137+ transaction_id :
135138 type : string
136139 description : 微信支付订单号
137140 example : ' 4200000000002104083200000488'
@@ -142,19 +145,29 @@ post:
142145 trade_type :
143146 type : string
144147 description : 交易类型
145- example : APP
148+ example : AUTH
149+ enum :
150+ - AUTH
146151 bank_type :
147152 type : string
148153 description : 付款银行
149154 example : CMC
150155 success_time :
151156 type : string
157+ format : rfc3339
152158 description : 支付完成时间
153159 example : ' 2018-06-08T10:34:56+08:00'
154160 trade_state :
155161 type : string
156162 description : 交易状态
157163 example : SUCCESS
164+ enum :
165+ - SUCCESS # 支付成功
166+ - REFUND # 转入退款
167+ - NOTPAY # 未支付
168+ - CLOSED # 已关闭
169+ - PAYERROR # 支付失败
170+ - USERPAYING # 用户支付中
158171 trade_state_desc :
159172 type : string
160173 description : 交易状态描述
@@ -210,6 +223,7 @@ post:
210223 example : SETTLEMENT_RATE
211224 enum :
212225 - SETTLEMENT_RATE
226+ - USERPAYMENT_RATE
213227 rate :
214228 type : integer
215229 description : 汇率值
Original file line number Diff line number Diff line change 11get :
2- x-last-updated-at : 2022.08.04
2+ x-last-updated-at : 2025.01.07
33 x-role :
44 - 直连模式
55 - 机构模式
3131 - sub_mchid
3232 - sp_appid
3333 - out_trade_no
34- - id
34+ - transaction_id
3535 - trade_type
3636 - bank_type
3737 - success_time
6868 type : string
6969 description : 商户订单号
7070 example : ' 1217752501201407033233368018'
71- id :
71+ transaction_id :
7272 type : string
7373 description : 微信支付订单号
7474 example : ' 4200000000002104083200000488'
Original file line number Diff line number Diff line change 11get :
2- x-last-updated-at : 2022.08.04
2+ x-last-updated-at : 2025.01.07
33 x-role :
44 - 直连模式
55 - 机构模式
3131 - sub_mchid
3232 - sp_appid
3333 - out_trade_no
34- - id
34+ - transaction_id
3535 - trade_type
3636 - bank_type
3737 - success_time
6868 type : string
6969 description : 商户订单号
7070 example : ' 1217752501201407033233368018'
71- id :
71+ transaction_id :
7272 type : string
7373 description : 微信支付订单号
7474 example : ' 4200000000002104083200000488'
You can’t perform that action at this time.
0 commit comments