-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
62c0d22
commit 71f42e5
Showing
12 changed files
with
223 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
docs/v3/compliance/inactive-merchant-identity-verification/merchants.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
post: | ||
x-last-updated-at: 2023.12.18 | ||
x-role: | ||
- 服务商 | ||
tags: | ||
- 风险合规∙不活跃商户身份核实 | ||
summary: 发起不活跃商户身份核实 | ||
description: 服务商可以通过该接口,代特约商户发起不活跃商户身份核实,并得到核实单单号。 此接口采用异步处理模式,即在接收到服务商请求后,优先受理请求再异步处理,最终的核实结果可以通过“查询不活跃商户身份核实结果”接口获取。 [官方文档](https://pay.weixin.qq.com/docs/partner/apis/inactive-merchant-identity-verification/inactive-mch-identity-verification/create-inactive-merchant-identity-verification.html) | ||
parameters: | ||
- name: _ | ||
in: body | ||
required: true | ||
schema: | ||
type: object | ||
required: | ||
- sub_mchid | ||
properties: | ||
sub_mchid: | ||
type: string | ||
description: 特约商户号 | ||
example: '1900009231' | ||
responses: | ||
'200': | ||
schema: {} |
24 changes: 24 additions & 0 deletions
24
...merchant-identity-verification/merchants/{sub_mchid}/verifications/{verification_id}.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
get: | ||
x-last-updated-at: 2023.12.18 | ||
x-role: | ||
- 服务商 | ||
tags: | ||
- 风险合规∙不活跃商户身份核实 | ||
summary: 查询不活跃商户身份核实结果 | ||
description: 在代特约商户发起不活跃商户身份核实后,服务商可以通过该接口,查询特定特约商户下单笔核实单的核实结果。 [官方文档](https://pay.weixin.qq.com/docs/partner/apis/inactive-merchant-identity-verification/inactive-mch-identity-verification/query-inactive-merchant-identity-verification.html) | ||
parameters: | ||
- name: sub_mchid | ||
in: path | ||
type: string | ||
description: 特约商户号 | ||
example: '1900009231' | ||
required: true | ||
- name: verification_id | ||
in: path | ||
type: string | ||
description: 核实单号 | ||
example: '28011678863778000000123124312' | ||
required: true | ||
responses: | ||
'200': | ||
schema: {} |
60 changes: 60 additions & 0 deletions
60
docs/v3/refund/domestic/refunds/{refund_id}/apply-abnormal-refund.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
post: | ||
x-last-updated-at: 2023.08.16 | ||
x-role: | ||
- 直连商户 | ||
- 服务商 | ||
tags: | ||
- 基础支付∙退款 | ||
summary: 发起异常退款 | ||
description: 提交退款申请后,查询退款确认状态为退款异常,可调用此接口发起异常退款处理。支持退款至用户、退款至交易商户银行账户两种处理方式。 [官方文档](https://pay.weixin.qq.com/docs/merchant/apis/refund/refunds/create-abnormal-refund.html) [官方文档](https://pay.weixin.qq.com/docs/partner/apis/refund/refunds/create-abnormal-refund.html) | ||
parameters: | ||
- $ref: '../../../../../definitions/Parameters.yaml#/WECHATPAY_CERTIFICATE_SERIAL' | ||
- name: _ | ||
in: body | ||
required: true | ||
schema: | ||
type: object | ||
required: | ||
- out_refund_no | ||
- amount | ||
properties: | ||
sub_mchid: | ||
type: string | ||
description: 子商户号 | ||
example: '1900000109' | ||
out_refund_no: | ||
type: string | ||
description: 商户退款单号 | ||
example: '1217752501201407033233368018' | ||
type: | ||
type: string | ||
enum: | ||
- COUPON | ||
- DISCOUNT | ||
bank_type: | ||
type: string | ||
enum: | ||
- CMB_DEBIT | ||
- COMM_DEBIT | ||
- ABC_DEBIT | ||
- CCB_DEBIT | ||
- ICBC_DEBIT | ||
- BOC_DEBIT | ||
- PAB_DEBIT | ||
- SPDB_DEBIT | ||
- CITIC_DEBIT | ||
- CEB_DEBIT | ||
- CMBC_DEBIT | ||
- CIB_DEBIT | ||
- GDB_DEBIT | ||
- PSBC_DEBIT | ||
- NBCB_DEBIT | ||
bank_account: | ||
type: string | ||
format: base64 | ||
real_name: | ||
type: string | ||
format: base64 | ||
responses: | ||
'200': | ||
schema: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3; | ||
|
||
/** | ||
* @property-read Compliance\InactiveMerchantIdentityVerification $inactiveMerchantIdentityVerification | ||
*/ | ||
interface Compliance | ||
{ | ||
} |
10 changes: 10 additions & 0 deletions
10
src/V3/Compliance/InactiveMerchantIdentityVerification.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Compliance; | ||
|
||
/** | ||
* @property-read InactiveMerchantIdentityVerification\Merchants $merchants | ||
*/ | ||
interface InactiveMerchantIdentityVerification | ||
{ | ||
} |
34 changes: 34 additions & 0 deletions
34
src/V3/Compliance/InactiveMerchantIdentityVerification/Merchants.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Compliance\InactiveMerchantIdentityVerification; | ||
|
||
use Psr\Http\Message\ResponseInterface; | ||
use GuzzleHttp\Promise\PromiseInterface; | ||
|
||
/** | ||
* @property-read Merchants\_sub_mchid_ $_sub_mchid_ | ||
*/ | ||
interface Merchants | ||
{ | ||
/** | ||
* 发起不活跃商户身份核实(同步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://pay.weixin.qq.com/docs/partner/apis/inactive-merchant-identity-verification/inactive-mch-identity-verification/create-inactive-merchant-identity-verification.html | ||
*/ | ||
public function post(array $options = [ | ||
'json' => [ | ||
'sub_mchid' => '1900009231', | ||
], | ||
]): ResponseInterface; | ||
|
||
/** | ||
* 发起不活跃商户身份核实(异步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://pay.weixin.qq.com/docs/partner/apis/inactive-merchant-identity-verification/inactive-mch-identity-verification/create-inactive-merchant-identity-verification.html#async | ||
*/ | ||
public function postAsync(array $options = [ | ||
'json' => [ | ||
'sub_mchid' => '1900009231', | ||
], | ||
]): PromiseInterface; | ||
} |
10 changes: 10 additions & 0 deletions
10
src/V3/Compliance/InactiveMerchantIdentityVerification/Merchants/_sub_mchid_.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Compliance\InactiveMerchantIdentityVerification\Merchants; | ||
|
||
/** | ||
* @property-read _sub_mchid_\Verifications $verifications | ||
*/ | ||
interface _sub_mchid_ | ||
{ | ||
} |
10 changes: 10 additions & 0 deletions
10
...3/Compliance/InactiveMerchantIdentityVerification/Merchants/_sub_mchid_/Verifications.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Compliance\InactiveMerchantIdentityVerification\Merchants\_sub_mchid_; | ||
|
||
/** | ||
* @property-read Verifications\_verification_id_ $_verification_id_ | ||
*/ | ||
interface Verifications | ||
{ | ||
} |
31 changes: 31 additions & 0 deletions
31
...iveMerchantIdentityVerification/Merchants/_sub_mchid_/Verifications/_verification_id_.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ | ||
|
||
namespace WeChatPay\OpenAPI\V3\Compliance\InactiveMerchantIdentityVerification\Merchants\_sub_mchid_\Verifications; | ||
|
||
use Psr\Http\Message\ResponseInterface; | ||
use GuzzleHttp\Promise\PromiseInterface; | ||
|
||
/** | ||
*/ | ||
interface _verification_id_ | ||
{ | ||
/** | ||
* 查询不活跃商户身份核实结果(同步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://pay.weixin.qq.com/docs/partner/apis/inactive-merchant-identity-verification/inactive-mch-identity-verification/query-inactive-merchant-identity-verification.html | ||
*/ | ||
public function get(array $options = [ | ||
'sub_mchid' => '1900009231', | ||
'verification_id' => '28011678863778000000123124312', | ||
]): ResponseInterface; | ||
|
||
/** | ||
* 查询不活跃商户身份核实结果(异步模式) | ||
* @param array<string,mixed> $options | ||
* @link https://pay.weixin.qq.com/docs/partner/apis/inactive-merchant-identity-verification/inactive-mch-identity-verification/query-inactive-merchant-identity-verification.html#async | ||
*/ | ||
public function getAsync(array $options = [ | ||
'sub_mchid' => '1900009231', | ||
'verification_id' => '28011678863778000000123124312', | ||
]): PromiseInterface; | ||
} |