File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - 基础支付∙服务商模式
88 - 收付通∙支付
99 summary : 微信支付订单号查询
10- description : 商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。查询订单状态可通过微信支付订单号或商户订单号两种方式查询 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter5_5.shtml)
10+ description : 商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。查询订单状态可通过微信支付订单号或商户订单号两种方式查询
1111 parameters :
1212 - name : transaction_id
1313 in : path
1414 type : string
1515 required : true
1616 description : 微信支付订单号
17+ example : ' 1217752501201407033233368018'
1718 - name : sp_mchid
1819 in : query
1920 type : string
2021 required : true
2122 description : 服务商户号
23+ example : ' 1230000109'
2224 - name : sub_mchid
2325 in : query
2426 type : string
2527 required : true
2628 description : 子商户号
29+ example : ' 1900000109'
2730 responses :
2831 200 :
2932 schema :
Original file line number Diff line number Diff line change 77 - 基础支付∙服务商模式
88 - 收付通∙支付
99 summary : 商户订单号查询
10- description : 商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。查询订单状态可通过微信支付订单号或商户订单号两种方式查询 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter5_5.shtml)
10+ description : 商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。查询订单状态可通过微信支付订单号或商户订单号两种方式查询
1111 parameters :
1212 - name : out_trade_no
1313 in : path
1414 type : string
1515 required : true
1616 description : 商户订单号
17+ example : ' 1217752501201407033233368018'
1718 - name : sp_mchid
1819 in : query
1920 type : string
2021 required : true
2122 description : 服务商户号
23+ example : ' 1230000109'
2224 - name : sub_mchid
2325 in : query
2426 type : string
2527 required : true
2628 description : 子商户号
29+ example : ' 1900000109'
2730 responses :
2831 200 :
2932 schema :
Original file line number Diff line number Diff line change 77 - 基础支付∙服务商模式
88 - 收付通∙支付
99 summary : 关单API
10- description : 以下情况需要调用关单接口:商户订单支付失败需要生成新单号重新发起支付,要对原订单号调用关单,避免重复支付;系统下单后,用户支付超时,系统退出不再受理,避免用户继续,请调用关单接口。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter5_6.shtml)
10+ description : 以下情况需要调用关单接口:商户订单支付失败需要生成新单号重新发起支付,要对原订单号调用关单,避免重复支付;系统下单后,用户支付超时,系统退出不再受理,避免用户继续,请调用关单接口。
1111 parameters :
1212 - name : out_trade_no
1313 in : path
1414 type : string
1515 required : true
1616 description : 商户订单号
17+ example : ' 1217752501201407033233368018'
1718 - name : _
1819 in : body
1920 required : true
Original file line number Diff line number Diff line change 44 tags :
55 - 基础支付
66 summary : 微信支付订单号查询
7- description : 商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。查询订单状态可通过微信支付订单号或商户订单号两种方式查询 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_5.shtml)
7+ description : 商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。查询订单状态可通过微信支付订单号或商户订单号两种方式查询
88 parameters :
99 - name : transaction_id
1010 in : path
1111 type : string
1212 required : true
1313 description : 微信支付订单号
14+ example : ' 1217752501201407033233368018'
1415 - name : mchid
1516 in : query
1617 type : string
1718 required : true
1819 description : 直连商户号
20+ example : ' 1230000109'
1921 responses :
2022 200 :
2123 schema :
Original file line number Diff line number Diff line change 44 tags :
55 - 基础支付
66 summary : 商户订单号查询
7- description : 商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。查询订单状态可通过微信支付订单号或商户订单号两种方式查询 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_5.shtml)
7+ description : 商户可以通过查询订单接口主动查询订单状态,完成下一步的业务逻辑。查询订单状态可通过微信支付订单号或商户订单号两种方式查询
88 parameters :
99 - name : out_trade_no
1010 in : path
1111 type : string
1212 required : true
1313 description : 商户订单号
14+ example : ' 1217752501201407033233368018'
1415 - name : mchid
1516 in : query
1617 type : string
1718 required : true
1819 description : 直连商户号
20+ example : ' 1230000109'
1921 responses :
2022 200 :
2123 schema :
Original file line number Diff line number Diff line change 44 tags :
55 - 基础支付
66 summary : 关单API
7- description : 以下情况需要调用关单接口:商户订单支付失败需要生成新单号重新发起支付,要对原订单号调用关单,避免重复支付;系统下单后,用户支付超时,系统退出不再受理,避免用户继续,请调用关单接口。 [官方文档](https://pay.weixin.qq.com/wiki/doc/apiv3/wxpay/pay/transactions/chapter3_6.shtml)
7+ description : 以下情况需要调用关单接口:商户订单支付失败需要生成新单号重新发起支付,要对原订单号调用关单,避免重复支付;系统下单后,用户支付超时,系统退出不再受理,避免用户继续,请调用关单接口。
88 parameters :
99 - name : out_trade_no
1010 in : path
1111 type : string
1212 required : true
1313 description : 商户订单号
14+ example : ' 1217752501201407033233368018'
1415 - name : _
1516 in : body
1617 required : true
Original file line number Diff line number Diff line change @@ -15,10 +15,10 @@ interface _transaction_id_
1515 * @link https://wechatpay.im/openapi/v3/pay/partner/transactions/id/%7Btransaction_id%7D
1616 */
1717 public function get (array $ options = [
18- 'transaction_id ' => '' ,
18+ 'transaction_id ' => '1217752501201407033233368018 ' ,
1919 'query ' => [
20- 'sp_mchid ' => '' ,
21- 'sub_mchid ' => '' ,
20+ 'sp_mchid ' => '1230000109 ' ,
21+ 'sub_mchid ' => '1900000109 ' ,
2222 ],
2323 ]): ResponseInterface ;
2424
@@ -28,10 +28,10 @@ public function get(array $options = [
2828 * @link https://wechatpay.im/openapi/v3/pay/partner/transactions/id/%7Btransaction_id%7D
2929 */
3030 public function getAsync (array $ options = [
31- 'transaction_id ' => '' ,
31+ 'transaction_id ' => '1217752501201407033233368018 ' ,
3232 'query ' => [
33- 'sp_mchid ' => '' ,
34- 'sub_mchid ' => '' ,
33+ 'sp_mchid ' => '1230000109 ' ,
34+ 'sub_mchid ' => '1900000109 ' ,
3535 ],
3636 ]): PromiseInterface ;
3737}
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ interface _out_trade_no_
1717 * @link https://wechatpay.im/openapi/v3/pay/partner/transactions/out-trade-no/%7Bout_trade_no%7D
1818 */
1919 public function get (array $ options = [
20- 'out_trade_no ' => '' ,
20+ 'out_trade_no ' => '1217752501201407033233368018 ' ,
2121 'query ' => [
22- 'sp_mchid ' => '' ,
23- 'sub_mchid ' => '' ,
22+ 'sp_mchid ' => '1230000109 ' ,
23+ 'sub_mchid ' => '1900000109 ' ,
2424 ],
2525 ]): ResponseInterface ;
2626
@@ -30,10 +30,10 @@ public function get(array $options = [
3030 * @link https://wechatpay.im/openapi/v3/pay/partner/transactions/out-trade-no/%7Bout_trade_no%7D
3131 */
3232 public function getAsync (array $ options = [
33- 'out_trade_no ' => '' ,
33+ 'out_trade_no ' => '1217752501201407033233368018 ' ,
3434 'query ' => [
35- 'sp_mchid ' => '' ,
36- 'sub_mchid ' => '' ,
35+ 'sp_mchid ' => '1230000109 ' ,
36+ 'sub_mchid ' => '1900000109 ' ,
3737 ],
3838 ]): PromiseInterface ;
3939}
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ interface Close
1515 * @link https://wechatpay.im/openapi/v3/pay/partner/transactions/out-trade-no/%7Bout_trade_no%7D/close
1616 */
1717 public function post (array $ options = [
18- 'out_trade_no ' => '' ,
18+ 'out_trade_no ' => '1217752501201407033233368018 ' ,
1919 'json ' => [
2020 'sp_mchid ' => '1230000109 ' ,
2121 'sub_mchid ' => '1900000109 ' ,
@@ -28,7 +28,7 @@ public function post(array $options = [
2828 * @link https://wechatpay.im/openapi/v3/pay/partner/transactions/out-trade-no/%7Bout_trade_no%7D/close
2929 */
3030 public function postAsync (array $ options = [
31- 'out_trade_no ' => '' ,
31+ 'out_trade_no ' => '1217752501201407033233368018 ' ,
3232 'json ' => [
3333 'sp_mchid ' => '1230000109 ' ,
3434 'sub_mchid ' => '1900000109 ' ,
Original file line number Diff line number Diff line change @@ -15,9 +15,9 @@ interface _transaction_id_
1515 * @link https://wechatpay.im/openapi/v3/pay/transactions/id/%7Btransaction_id%7D
1616 */
1717 public function get (array $ options = [
18- 'transaction_id ' => '' ,
18+ 'transaction_id ' => '1217752501201407033233368018 ' ,
1919 'query ' => [
20- 'mchid ' => '' ,
20+ 'mchid ' => '1230000109 ' ,
2121 ],
2222 ]): ResponseInterface ;
2323
@@ -27,9 +27,9 @@ public function get(array $options = [
2727 * @link https://wechatpay.im/openapi/v3/pay/transactions/id/%7Btransaction_id%7D
2828 */
2929 public function getAsync (array $ options = [
30- 'transaction_id ' => '' ,
30+ 'transaction_id ' => '1217752501201407033233368018 ' ,
3131 'query ' => [
32- 'mchid ' => '' ,
32+ 'mchid ' => '1230000109 ' ,
3333 ],
3434 ]): PromiseInterface ;
3535}
You can’t perform that action at this time.
0 commit comments