diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/cloudauth/2022-11-25/api-docs.php | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/cloudauth/2022-11-25/api-docs.php')
| -rw-r--r-- | data/zh_cn/cloudauth/2022-11-25/api-docs.php | 1360 |
1 files changed, 502 insertions, 858 deletions
diff --git a/data/zh_cn/cloudauth/2022-11-25/api-docs.php b/data/zh_cn/cloudauth/2022-11-25/api-docs.php index b4c7548..14cdcbb 100644 --- a/data/zh_cn/cloudauth/2022-11-25/api-docs.php +++ b/data/zh_cn/cloudauth/2022-11-25/api-docs.php @@ -1,45 +1,22 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Cloudauth', - 'version' => '2022-11-25', - ], + 'info' => ['style' => 'RPC', 'product' => 'Cloudauth', 'version' => '2022-11-25'], 'directories' => [ [ - 'id' => 178446, - 'title' => '其他', - 'type' => 'directory', - 'children' => [ - 'EntVerify', - 'EntElementVerify', - 'EntRiskQuery', - 'EntElementVerifyV2', - ], - ], - [ - 'id' => 0, - 'title' => '其它', + 'children' => ['EntVerify', 'EntElementVerify', 'EntRiskQuery', 'EntElementVerifyV2', 'EntElementVerifyPRO'], 'type' => 'directory', - 'children' => [ - 'EntElementVerifyPRO', - ], + 'title' => '其他', + 'id' => 237773, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'EntVerify' => [ - 'summary' => '企业注册信息真实性及经营真实性验证服务。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'EntElementVerify' => [ + 'summary' => '企业二三四要素认证服务基于权威数据源的工商信息数据,用于校验企业本身身份的真实性,输出企业认证结果。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -51,148 +28,64 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREcloudauthXA9M4C', - ], + 'abilityTreeNodes' => ['FEATUREcloudauthKKY1LP'], ], 'parameters' => [ [ 'name' => 'SceneCode', 'in' => 'query', - 'schema' => [ - 'description' => '场景码。', - 'type' => 'string', - 'required' => false, - 'example' => 'withdraw', - ], + 'schema' => ['description' => '场景码。支持字母、数字、下划线的组合,最长32位。', 'type' => 'string', 'required' => false, 'example' => 'withdraw'], ], [ 'name' => 'MerchantBizId', 'in' => 'query', - 'schema' => [ - 'description' => '商户侧自定义的业务唯一标识,用于后续定位排查问题使用。支持字母和数字的组合,长度最长32位,请确保唯一。', - 'type' => 'string', - 'required' => false, - 'example' => '32198****193000', - ], + 'schema' => ['description' => '商户侧自定义的业务唯一标识,用于后续定位排查问题使用。支持字母和数字的组合,长度最长32位,请确保唯一。', 'type' => 'string', 'required' => false, 'example' => '32198****193000'], ], [ 'name' => 'MerchantUserId', 'in' => 'query', - 'schema' => [ - 'description' => '商户侧用户ID。支持字母和数字的组合,长度最长32位。', - 'type' => 'string', - 'required' => false, - 'example' => '432***421', - ], + 'schema' => ['description' => '商户侧用户ID。支持字母和数字的组合,长度最长32位。', 'type' => 'string', 'required' => false, 'example' => '432***421'], ], [ 'name' => 'UserAuthorization', 'in' => 'query', - 'schema' => [ - 'description' => '是否获得得用户授权。'."\n" - ."\n" - .'- 1:获得授权'."\n" - ."\n" - .'- 0:未获得授权', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '是否获得得用户授权。'."\n" + .'- 1:获得授权'."\n" + .'- 0:未获得授权', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'InfoVerifyType', 'in' => 'query', 'schema' => [ - 'description' => '企业要素核验类型,当前暂不支持。', - 'type' => 'string', - 'required' => false, - 'example' => '无', - ], - ], - [ - 'name' => 'RiskVerifyType', - 'in' => 'query', - 'schema' => [ - 'description' => '企业风险核验类型,与InfoVerifyType 至少选一个,目前支持:'."\n" - ."\n" - .'- BUSINESS_ANTIFRAUD', - 'type' => 'string', - 'required' => false, - 'example' => 'BUSINESS_ANTIFRAUD', - ], - ], - [ - 'name' => 'RiskModelVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '企业风险核验模型版本,RiskVerifyType 不为空时必传,目前支持:'."\n" - ."\n" - .'- BASIC:基础版', + 'description' => '企业要素核验类型。'."\n" + .'- ENT_2META:二要素'."\n" + .'- ENT_3META:三要素'."\n" + .'- ENT_4META:四要素', 'type' => 'string', 'required' => false, - 'example' => 'BASIC', + 'enumValueTitles' => ['ENT_4META' => '四要素', 'ENT_2META' => '二要素', 'ENT_3META' => '三要素'], + 'example' => 'ENT_2META', ], ], [ 'name' => 'LicenseNo', 'in' => 'query', - 'schema' => [ - 'description' => '营业执照号。', - 'type' => 'string', - 'required' => false, - 'example' => '32132***328932', - ], + 'schema' => ['description' => '营业执照号。', 'type' => 'string', 'required' => false, 'example' => '32132***328932'], ], [ 'name' => 'EntName', 'in' => 'query', - 'schema' => [ - 'description' => '企业名称。', - 'type' => 'string', - 'required' => false, - 'example' => '***有限公司', - ], + 'schema' => ['description' => '企业名称。', 'type' => 'string', 'required' => false, 'example' => '***有限公司'], ], [ 'name' => 'LegalPersonName', 'in' => 'query', - 'schema' => [ - 'description' => '法人姓名。', - 'type' => 'string', - 'required' => false, - 'example' => '张**', - ], + 'schema' => ['description' => '法人姓名。三要素、四要素场景必传。', 'type' => 'string', 'required' => false, 'example' => '张**'], ], [ 'name' => 'LegalPersonCertNo', 'in' => 'query', - 'schema' => [ - 'description' => '法人身份证号。', - 'type' => 'string', - 'required' => false, - 'example' => '370105*****3892', - ], - ], - [ - 'name' => 'LegalPersonMobile', - 'in' => 'query', - 'schema' => [ - 'description' => '法人手机号。', - 'type' => 'string', - 'required' => false, - 'example' => '1300***53', - ], - ], - [ - 'name' => 'AccountNo', - 'in' => 'query', - 'schema' => [ - 'description' => '收款账户,辅助提升风险评估效果。', - 'type' => 'string', - 'required' => false, - 'example' => '321324***38293', - ], + 'schema' => ['description' => '法人身份证号。四要素场景必传。', 'type' => 'string', 'required' => false, 'example' => '370105*****3892'], ], ], 'responses' => [ @@ -202,76 +95,74 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '473469C7-A***B-A3DC0DE3C83E', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'Success', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => '成功', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '473469C7***B-A3DC0DE3C83E'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'Success'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'success'], 'Result' => [ 'description' => '结果', 'type' => 'object', 'properties' => [ - 'RiskVerifyResult' => [ - 'description' => '企业风险核验结果', - 'type' => 'object', - 'properties' => [ - 'ModelResults' => [ - 'description' => '企业风险核验模型返回结果列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ModelName' => [ - 'description' => '模型名称', - 'type' => 'string', - 'example' => 'model_1', - ], - 'Result' => [ - 'description' => '模型结果', - 'type' => 'string', - 'example' => '5', - ], - ], - ], - ], - 'Found' => [ - 'description' => '是否查得', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], + 'BizCode' => ['description' => '核验结果码。'."\n" + .'- 1:核验一致'."\n" + .'- 2:核验不一致'."\n" + .'- 3:未查得', 'type' => 'string', 'example' => '1'], + 'Status' => ['description' => '企业经营状态。'."\n" + .'- 1:在营(开业)'."\n" + .'- 2:迁出'."\n" + .'- 3:注销'."\n" + .'- 4:吊销'."\n" + .'- 5:撤销'."\n" + .'- 6:停业'."\n" + .'- 0:其他', 'type' => 'string', 'example' => '1'], + 'ReasonCode' => ['description' => 'ReasonCode说明:'."\n" + ."\n" + .'- 100:核验一致'."\n" + ."\n" + .'- 201:人企核验不一致'."\n" + ."\n" + .'- 202:企业二要素核验不一致'."\n" + ."\n" + .'- 301:查无企业,无法校验'."\n" + ."\n" + .'- 302:法人在库中不存在'."\n" + .'><warning>此字段于2023年6月15日停止使用,已接入老客户不受影响。></warning>', 'type' => 'string', 'example' => '100'], + 'ReasonDetail' => ['description' => '不一致详情,出现多项不一致会以英文逗号隔开。'."\n" + .'- LegalPersonNameFlag:法人名称不一致'."\n" + .'- LegalPersonCertNoFlag:法人证件号码不一致'."\n" + .'- EntNameFlag:企业名称不一致'."\n" + .'- LicenseNoFlag:营业执照号不一致', 'type' => 'string', 'example' => 'LegalPersonNameFlag,LegalPersonCertNoFlag'], + 'OpenTime' => ['description' => '营业期限:营业开始时间和结束时间。'."\n" + .'- 格式:yyyy-MM-dd/yyyy-MM-dd。'."\n" + .'- 返回示例:2018-09-25/9999-09-09。', 'type' => 'string', 'example' => '2018-09-25/9999-09-09'], ], ], ], ], ], ], - 'staticInfo' => [], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-A***B-A3DC0DE3C83E\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"成功\\",\\n \\"Result\\": {\\n \\"RiskVerifyResult\\": {\\n \\"ModelResults\\": [\\n {\\n \\"ModelName\\": \\"model_1\\",\\n \\"Result\\": \\"5\\"\\n }\\n ],\\n \\"Found\\": true\\n }\\n }\\n}","type":"json"}]', - 'title' => '企业风险核验', - ], - 'EntElementVerify' => [ - 'summary' => '企业二三四要素认证服务基于权威数据源的工商信息数据,用于校验企业本身身份的真实性,输出企业认证结果。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7***B-A3DC0DE3C83E\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"success\\",\\n \\"Result\\": {\\n \\"BizCode\\": \\"1\\",\\n \\"Status\\": \\"1\\",\\n \\"ReasonCode\\": \\"100\\",\\n \\"ReasonDetail\\": \\"LegalPersonNameFlag,LegalPersonCertNoFlag\\",\\n \\"OpenTime\\": \\"2018-09-25/9999-09-09\\"\\n }\\n}","type":"json"}]', + 'title' => '企业要素核验', + 'description' => '仅支持企业和个体工商户。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'yundun-cloudauth:EntElementVerify', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Cloudauth', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'EntElementVerifyPRO' => [ + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -283,110 +174,57 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREcloudauthKKY1LP', - ], + 'abilityTreeNodes' => ['FEATUREcloudauthKKY1LP'], ], 'parameters' => [ [ 'name' => 'SceneCode', 'in' => 'query', - 'schema' => [ - 'description' => '场景码。支持字母、数字、下划线的组合,最长32位。', - 'type' => 'string', - 'required' => false, - 'example' => 'withdraw', - ], + 'schema' => ['description' => '场景码。支持字母、数字、下划线的组合,最长32位。', 'type' => 'string', 'required' => false, 'example' => '1000000006'], ], [ 'name' => 'MerchantBizId', 'in' => 'query', - 'schema' => [ - 'description' => '商户侧自定义的业务唯一标识,用于后续定位排查问题使用。支持字母和数字的组合,长度最长32位,请确保唯一。', - 'type' => 'string', - 'required' => false, - 'example' => '32198****193000', - ], + 'schema' => ['description' => '商户侧自定义的业务唯一标识,用于后续定位排查问题使用。支持字母和数字的组合,长度最长32位,请确保唯一。', 'type' => 'string', 'required' => false, 'example' => 'e0c34a77f5ac40a5aa5e6ed20c35****'], ], [ 'name' => 'MerchantUserId', 'in' => 'query', - 'schema' => [ - 'description' => '商户侧用户ID。支持字母和数字的组合,长度最长32位。', - 'type' => 'string', - 'required' => false, - 'example' => '432***421', - ], + 'schema' => ['description' => '商户侧用户 ID。支持字母和数字的组合,长度最长 32 位。', 'type' => 'string', 'required' => false, 'example' => 'mch7x9a2b4c8d3e5f6g1h2i3j4k5****'."\n"], ], [ 'name' => 'UserAuthorization', 'in' => 'query', - 'schema' => [ - 'description' => '是否获得得用户授权。'."\n" - .'- 1:获得授权'."\n" - .'- 0:未获得授权', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '是否获得得用户授权。'."\n" + ."\n" + .'- **1**:获得授权'."\n" + .'- **0**:未获得授权', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'InfoVerifyType', 'in' => 'query', - 'schema' => [ - 'description' => '企业要素核验类型。'."\n" - .'- ENT_2META:二要素'."\n" - .'- ENT_3META:三要素'."\n" - .'- ENT_4META:四要素', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'ENT_4META' => '四要素', - 'ENT_2META' => '二要素', - 'ENT_3META' => '三要素', - ], - 'example' => 'ENT_2META', - ], + 'schema' => ['description' => '企业要素核验类型,仅支持如下类型'."\n" + .'- **ENT_4META**:四要素', 'type' => 'string', 'required' => false, 'example' => 'ENT_4META'], ], [ 'name' => 'LicenseNo', 'in' => 'query', - 'schema' => [ - 'description' => '营业执照号。', - 'type' => 'string', - 'required' => false, - 'example' => '32132***328932', - ], + 'schema' => ['description' => '统一社会信用代码。', 'type' => 'string', 'required' => false, 'example' => '91330106673959****'], ], [ 'name' => 'EntName', 'in' => 'query', - 'schema' => [ - 'description' => '企业名称。', - 'type' => 'string', - 'required' => false, - 'example' => '***有限公司', - ], + 'schema' => ['description' => '企业名称。', 'type' => 'string', 'required' => false, 'example' => '***有限公司'], ], [ 'name' => 'LegalPersonName', 'in' => 'query', - 'schema' => [ - 'description' => '法人姓名。三要素、四要素场景必传。', - 'type' => 'string', - 'required' => false, - 'example' => '张**', - ], + 'schema' => ['description' => '法人姓名。四要素场景必传。', 'type' => 'string', 'required' => false, 'example' => '张**'], ], [ 'name' => 'LegalPersonCertNo', 'in' => 'query', - 'schema' => [ - 'description' => '法人身份证号。四要素场景必传。', - 'type' => 'string', - 'required' => false, - 'example' => '370105*****3892', - ], + 'schema' => ['description' => '法人身份证号。四要素场景必传。', 'type' => 'string', 'required' => false, 'example' => '370105*****3892'], ], ], 'responses' => [ @@ -396,100 +234,54 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '473469C7***B-A3DC0DE3C83E', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'Success', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '返回信息。', 'type' => 'string', 'example' => 'success'], 'Result' => [ 'description' => '结果', 'type' => 'object', 'properties' => [ - 'BizCode' => [ - 'description' => '核验结果码。'."\n" - .'- 1:核验一致'."\n" - .'- 2:核验不一致'."\n" - .'- 3:未查得', - 'type' => 'string', - 'example' => '1', - ], - 'Status' => [ - 'description' => '企业经营状态。'."\n" - .'- 1:在营(开业)'."\n" - .'- 2:迁出'."\n" - .'- 3:注销'."\n" - .'- 4:吊销'."\n" - .'- 5:撤销'."\n" - .'- 6:停业'."\n" - .'- 0:其他', - 'type' => 'string', - 'example' => '1', - ], - 'ReasonCode' => [ - 'description' => 'ReasonCode说明:'."\n" - ."\n" - .'- 100:核验一致'."\n" - ."\n" - .'- 201:人企核验不一致'."\n" - ."\n" - .'- 202:企业二要素核验不一致'."\n" - ."\n" - .'- 301:查无企业,无法校验'."\n" - ."\n" - .'- 302:法人在库中不存在'."\n" - .'><warning>此字段于2023年6月15日停止使用,已接入老客户不受影响。></warning>', - 'type' => 'string', - 'example' => '100', - ], - 'ReasonDetail' => [ - 'description' => '不一致详情,出现多项不一致会以英文逗号隔开。'."\n" - .'- LegalPersonNameFlag:法人名称不一致'."\n" - .'- LegalPersonCertNoFlag:法人证件号码不一致'."\n" - .'- EntNameFlag:企业名称不一致'."\n" - .'- LicenseNoFlag:营业执照号不一致', - 'type' => 'string', - 'example' => 'LegalPersonNameFlag,LegalPersonCertNoFlag', - ], - 'OpenTime' => [ - 'description' => '营业期限:营业开始时间和结束时间。'."\n" - .'- 格式:yyyy-MM-dd/yyyy-MM-dd。'."\n" - .'- 返回示例:2018-09-25/9999-09-09。', - 'type' => 'string', - 'example' => '2018-09-25/9999-09-09', - ], + 'BizCode' => ['description' => '核验结果码。'."\n" + .'- 1:核验一致'."\n" + .'- 2:核验不一致'."\n" + .'- 3:未查得', 'type' => 'string', 'example' => '1'], + 'Status' => ['description' => '企业经营状态。'."\n" + .'- 1:在营(开业)'."\n" + .'- 2:迁出'."\n" + .'- 3:注销'."\n" + .'- 4:吊销'."\n" + .'- 5:撤销'."\n" + .'- 6:停业'."\n" + .'- 0:其他', 'type' => 'string', 'example' => '1'], + 'ReasonDetail' => ['description' => '不一致详情,出现多项不一致会以英文逗号隔开。'."\n" + .'- LegalPersonNameFlag:法人名称不一致'."\n" + .'- LegalPersonCertNoFlag:法人证件号码不一致'."\n" + .'- EntNameFlag:企业名称不一致'."\n" + .'- LicenseNoFlag:营业执照号不一致'."\n" + .'- LicenseNoNotFound:企业标识号无法核查'."\n" + .'- EntNameNotFound:企业名称无法核查'."\n" + .'- LegalPersonNameNotFound:法人名称无法核查'."\n" + .'- LegalPersonCertNoNotFound:法人证件号无法核查', 'type' => 'string', 'example' => 'LegalPersonNameFlag,LegalPersonCertNoFlag'], + 'OpenTime' => ['description' => '营业期限:营业开始时间和结束时间。'."\n" + .'- 格式:yyyy-MM-dd/yyyy-MM-dd。'."\n" + .'- 返回示例:2018-09-25/9999-09-09。', 'type' => 'string', 'example' => '2018-09-25/9999-09-09'], ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7***B-A3DC0DE3C83E\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"success\\",\\n \\"Result\\": {\\n \\"BizCode\\": \\"1\\",\\n \\"Status\\": \\"1\\",\\n \\"ReasonCode\\": \\"100\\",\\n \\"ReasonDetail\\": \\"LegalPersonNameFlag,LegalPersonCertNoFlag\\",\\n \\"OpenTime\\": \\"2018-09-25/9999-09-09\\"\\n }\\n}","type":"json"}]', - 'title' => '企业要素核验', - 'description' => '仅支持企业和个体工商户。', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '企业要素核验PRO', + 'summary' => '企业要素验证V2。', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Result\\": {\\n \\"BizCode\\": \\"1\\",\\n \\"Status\\": \\"1\\",\\n \\"ReasonDetail\\": \\"LegalPersonNameFlag,LegalPersonCertNoFlag\\",\\n \\"OpenTime\\": \\"2018-09-25/9999-09-09\\"\\n }\\n}","type":"json"}]', ], - 'EntRiskQuery' => [ - 'summary' => '查询企业经营异常情况。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'EntElementVerifyV2' => [ + 'summary' => '企业要素验证V2。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -501,203 +293,128 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREcloudauthKKY1LP', - ], + 'abilityTreeCode' => '264853', + 'abilityTreeNodes' => ['FEATUREcloudauthKKY1LP'], ], 'parameters' => [ [ 'name' => 'SceneCode', 'in' => 'query', - 'schema' => [ - 'description' => '自定义场景code,用于区分业务场景,长度为10位的数字。', - 'type' => 'string', - 'required' => false, - 'example' => '1000000086', - ], + 'schema' => ['description' => '自定义场景code,用户自定义取值,用于区分业务场景。支持字母、数字、下划线的组合,最长32位。', 'type' => 'string', 'required' => true, 'example' => '1000000006'], ], [ 'name' => 'MerchantBizId', 'in' => 'query', - 'schema' => [ - 'description' => '商户侧自定义的业务唯一标识,用于后续定位排查问题使用。支持长度为32位的字母和数字的组合,请确保唯一。', - 'type' => 'string', - 'required' => false, - 'example' => '32198****193000', - ], + 'schema' => ['description' => '商户侧自定义的业务唯一标识,用于后续定位排查问题。支持字母和数字的组合,长度最长32位,请确保唯一。', 'type' => 'string', 'required' => true, 'example' => 'e0c34a77f5ac40a5aa5e6ed20c35****'], ], [ 'name' => 'MerchantUserId', 'in' => 'query', - 'schema' => [ - 'description' => '您业务中自定义用户ID,用于后续定位排查问题使用', - 'type' => 'string', - 'required' => false, - 'example' => '无', - ], + 'schema' => ['description' => '商户侧用户ID。支持字母和数字的组合,长度最长32位。', 'type' => 'string', 'required' => true, 'example' => 'mch7x9a2b4c8d3e5f6g1h2i3j4k5****'], ], [ 'name' => 'UserAuthorization', 'in' => 'query', - 'schema' => [ - 'description' => '是否获得得用户授权。'."\n" - .'1:获得授权'."\n" - .'0:未获得授权', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '是否获得得用户授权。'."\n" + .'- 1:获得授权'."\n" + .'- 0:未获得授权', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'ParamType', + 'name' => 'InfoVerifyType', 'in' => 'query', - 'schema' => [ - 'description' => '参数类型。'."\n" - .'00:企业名称;'."\n" - .'01:工商注册号;'."\n" - .'02:统一社会信用代码;'."\n" - .'03:组织机构代码;', - 'type' => 'string', - 'required' => false, - 'example' => '00', - ], + 'schema' => ['description' => '企业要素核验类型。'."\n" + .'- ENT_2META:二要素企业名称 + 企业统一社会信用代码'."\n" + .'- ENT_3META:三要素企业名称 + 企业统一社会信用代码 + 法人姓名或组织负责人'."\n" + .'- ENT_4META:四要素企业名称 + 企业统一社会信用代码 + 法人姓名或组织负责人 + 法人证件号码', 'type' => 'string', 'required' => true, 'example' => 'ENT_2META'], ], [ - 'name' => 'ParamValue', + 'name' => 'LicenseNo', 'in' => 'query', - 'schema' => [ - 'description' => '根据ParamType参数类型输入企业名称、工商注册号、统一社会信用代码、组织机构代码其中一种。', - 'type' => 'string', - 'required' => false, - 'example' => '91330106673959****', - ], + 'schema' => ['description' => '统一社会信用代码。', 'type' => 'string', 'required' => true, 'example' => '91330106673959****'], + ], + [ + 'name' => 'EntName', + 'in' => 'query', + 'schema' => ['description' => '企业名称。', 'type' => 'string', 'required' => true, 'example' => '****有限公司'], + ], + [ + 'name' => 'LegalPersonName', + 'in' => 'query', + 'schema' => ['description' => '法人姓名。三要素、四要素场景必传。', 'type' => 'string', 'required' => false, 'example' => '张**'], + ], + [ + 'name' => 'LegalPersonCertNo', + 'in' => 'query', + 'schema' => ['description' => '法人身份证号。四要素场景必传。', 'type' => 'string', 'required' => false, 'example' => '1******************9'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '接口响应', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID', - 'type' => 'string', - 'example' => '8FC3D6AC-9FED-4311-8DA7-C4BF47D9F260', - ], - 'Code' => [ - 'description' => '错误码。关于错误码的详情,请参见**[错误码](~~215420~~)**。', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '请求信息的响应消息。', - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '473469C7***B-A3DC0DE3C83E'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'Success'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'success'], 'Result' => [ 'description' => '结果', 'type' => 'object', 'properties' => [ - 'BizCode' => [ - 'description' => '查询结果'."\n" - .'0:企业经营正常'."\n" - .'1:企业经营异常'."\n" - .'2:未查得', - 'type' => 'string', - 'example' => '1', - ], - 'Status' => [ - 'description' => '企业经营状态。'."\n" - .'- 1:在营(开业)'."\n" - .'- 2:迁出'."\n" - .'- 3:注销'."\n" - .'- 4:吊销'."\n" - .'- 5:撤销'."\n" - .'- 6:停业'."\n" - .'- 0:其他', - 'type' => 'string', - 'example' => '1', - ], - 'RiskList' => [ - 'description' => '异常信息列表', - 'type' => 'array', - 'items' => [ - 'description' => '异常详情信息', - 'type' => 'object', - 'properties' => [ - 'CreditCode' => [ - 'description' => '统一社会信用代码', - 'type' => 'string', - 'example' => '92500112MA5UHU****', - ], - 'EntName' => [ - 'description' => '企业名称。', - 'type' => 'string', - 'example' => '杭州****', - ], - 'RegNo' => [ - 'description' => '工商注册号', - 'type' => 'string', - 'example' => '50011260996****', - ], - 'ListedReason' => [ - 'description' => '被列入异常名单原因', - 'type' => 'string', - 'example' => '未按照《个体工商户年度报告暂行办法》***', - ], - 'ListedDate' => [ - 'description' => '被列入异常名单日期'."\n" - .'示例:2023-02-03', - 'type' => 'string', - 'example' => '2023-02-03', - ], - 'RemovedReason' => [ - 'description' => '被移出异常名单原因', - 'type' => 'string', - 'example' => '根据《个体工商户年度报告暂行办法》第十三条的规定******', - ], - 'RemovedDate' => [ - 'description' => '被移出异常名单日期'."\n" - .'示例:2023-02-03', - 'type' => 'string', - 'example' => '2023-02-06', - ], - 'OperationOrg' => [ - 'description' => '移入处理机关', - 'type' => 'string', - 'example' => '***市场监督***', - ], - 'RemovedOrg' => [ - 'description' => '移出处理机关', - 'type' => 'string', - 'example' => '***市场监督***', - ], - ], - ], - ], + 'BizCode' => ['description' => '核验结果码。'."\n" + .'- 1:核验一致'."\n" + .'- 2:核验不一致'."\n" + .'- 3:未查得', 'type' => 'string', 'example' => '1'], + 'Status' => ['description' => '企业经营状态。'."\n" + .'- 1:在营(开业)'."\n" + .'- 2:迁出'."\n" + .'- 3:注销'."\n" + .'- 4:吊销'."\n" + .'- 5:撤销'."\n" + .'- 6:停业'."\n" + .'- 0:其他', 'type' => 'string', 'example' => '1'], + 'ReasonDetail' => ['description' => '不一致详情,出现多项不一致会以英文逗号隔开。'."\n" + .'- LegalPersonNameFlag:法人名称不一致'."\n" + .'- LegalPersonCertNoFlag:法人证件号码不一致'."\n" + .'- EntNameFlag:企业名称不一致'."\n" + .'- LicenseNoFlag:营业执照号不一致', 'type' => 'string', 'example' => 'LegalPersonNameFlag,LegalPersonCertNoFlag'], + 'OpenTime' => ['description' => '营业期限:营业开始时间和结束时间。'."\n" + .'- 格式:yyyy-MM-dd/yyyy-MM-dd。'."\n" + .'- 返回示例:2018-09-25/9999-09-09。', 'type' => 'string', 'example' => '2018-09-25/9999-09-09'], ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7***B-A3DC0DE3C83E\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"success\\",\\n \\"Result\\": {\\n \\"BizCode\\": \\"1\\",\\n \\"Status\\": \\"1\\",\\n \\"ReasonDetail\\": \\"LegalPersonNameFlag,LegalPersonCertNoFlag\\",\\n \\"OpenTime\\": \\"2018-09-25/9999-09-09\\"\\n }\\n}","type":"json"}]', + 'title' => '企业要素验证V2', + 'description' => '企业要素验证接口为您提供企业要素信息一致性验证服务,用于识别企业信息的真实性。'."\n" + ."\n" + .'其中企业二、三要素支持企业、个体工商户、农民专业合作社、机关、事业单位、社会团体、律师职业机构、业主大会等各类机构;'."\n" + ."\n" + .'企业四要素支持企业、个体工商户、农民专业合作社、律师职业等机构。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudauth:EntElementVerifyV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Cloudauth', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8FC3D6AC-9FED-4311-8DA7-C4BF47D9F260\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Result\\": {\\n \\"BizCode\\": \\"1\\",\\n \\"Status\\": \\"1\\",\\n \\"RiskList\\": [\\n {\\n \\"CreditCode\\": \\"92500112MA5UHU****\\",\\n \\"EntName\\": \\"杭州****\\",\\n \\"RegNo\\": \\"50011260996****\\",\\n \\"ListedReason\\": \\"未按照《个体工商户年度报告暂行办法》***\\",\\n \\"ListedDate\\": \\"2023-02-03\\",\\n \\"RemovedReason\\": \\"根据《个体工商户年度报告暂行办法》第十三条的规定******\\",\\n \\"RemovedDate\\": \\"2023-02-06\\",\\n \\"OperationOrg\\": \\"***市场监督***\\",\\n \\"RemovedOrg\\": \\"***市场监督***\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '企业经营异常状况查询', ], - 'EntElementVerifyV2' => [ - 'summary' => '企业要素验证V2。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'EntRiskQuery' => [ + 'summary' => '查询企业经营异常情况。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -709,170 +426,92 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeCode' => '264853', - 'abilityTreeNodes' => [ - 'FEATUREcloudauthKKY1LP', - ], + 'abilityTreeNodes' => ['FEATUREcloudauthKKY1LP'], ], 'parameters' => [ [ 'name' => 'SceneCode', 'in' => 'query', - 'schema' => [ - 'description' => '自定义场景code,用户自定义取值,用于区分业务场景。支持字母、数字、下划线的组合,最长32位。', - 'type' => 'string', - 'required' => true, - 'example' => '1000000006', - ], + 'schema' => ['description' => '自定义场景code,用于区分业务场景,长度为10位的数字。', 'type' => 'string', 'required' => false, 'example' => '1000000086'], ], [ 'name' => 'MerchantBizId', 'in' => 'query', - 'schema' => [ - 'description' => '商户侧自定义的业务唯一标识,用于后续定位排查问题。支持字母和数字的组合,长度最长32位,请确保唯一。', - 'type' => 'string', - 'required' => true, - 'example' => 'e0c34a77f5ac40a5aa5e6ed20c35****', - ], + 'schema' => ['description' => '商户侧自定义的业务唯一标识,用于后续定位排查问题使用。支持长度为32位的字母和数字的组合,请确保唯一。', 'type' => 'string', 'required' => false, 'example' => '32198****193000'], ], [ 'name' => 'MerchantUserId', 'in' => 'query', - 'schema' => [ - 'description' => '商户侧用户ID。支持字母和数字的组合,长度最长32位。', - 'type' => 'string', - 'required' => true, - 'example' => 'mch7x9a2b4c8d3e5f6g1h2i3j4k5****', - ], + 'schema' => ['description' => '您业务中自定义用户ID,用于后续定位排查问题使用', 'type' => 'string', 'required' => false, 'example' => '无'], ], [ 'name' => 'UserAuthorization', 'in' => 'query', - 'schema' => [ - 'description' => '是否获得得用户授权。'."\n" - .'- 1:获得授权'."\n" - .'- 0:未获得授权', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '是否获得得用户授权。'."\n" + .'1:获得授权'."\n" + .'0:未获得授权', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'InfoVerifyType', - 'in' => 'query', - 'schema' => [ - 'description' => '企业要素核验类型。'."\n" - .'- ENT_2META:二要素企业名称 + 企业统一社会信用代码'."\n" - .'- ENT_3META:三要素企业名称 + 企业统一社会信用代码 + 法人姓名或组织负责人'."\n" - .'- ENT_4META:四要素企业名称 + 企业统一社会信用代码 + 法人姓名或组织负责人 + 法人证件号码', - 'type' => 'string', - 'required' => true, - 'example' => 'ENT_2META', - ], - ], - [ - 'name' => 'LicenseNo', - 'in' => 'query', - 'schema' => [ - 'description' => '统一社会信用代码。', - 'type' => 'string', - 'required' => true, - 'example' => '91330106673959****', - ], - ], - [ - 'name' => 'EntName', + 'name' => 'ParamType', 'in' => 'query', - 'schema' => [ - 'description' => '企业名称。', - 'type' => 'string', - 'required' => true, - 'example' => '****有限公司', - ], + 'schema' => ['description' => '参数类型。'."\n" + .'00:企业名称;'."\n" + .'01:工商注册号;'."\n" + .'02:统一社会信用代码;'."\n" + .'03:组织机构代码;', 'type' => 'string', 'required' => false, 'example' => '00'], ], [ - 'name' => 'LegalPersonName', - 'in' => 'query', - 'schema' => [ - 'description' => '法人姓名。三要素、四要素场景必传。', - 'type' => 'string', - 'required' => false, - 'example' => '张**', - ], - ], - [ - 'name' => 'LegalPersonCertNo', + 'name' => 'ParamValue', 'in' => 'query', - 'schema' => [ - 'description' => '法人身份证号。四要素场景必传。', - 'type' => 'string', - 'required' => false, - 'example' => '1******************9', - ], + 'schema' => ['description' => '根据ParamType参数类型输入企业名称、工商注册号、统一社会信用代码、组织机构代码其中一种。', 'type' => 'string', 'required' => false, 'example' => '91330106673959****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => '接口响应', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '473469C7***B-A3DC0DE3C83E', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => 'Success', - ], - 'Message' => [ - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => '8FC3D6AC-9FED-4311-8DA7-C4BF47D9F260'], + 'Code' => ['description' => '错误码。关于错误码的详情,请参见**[错误码](~~215420~~)**。', 'type' => 'string', 'example' => '200'], + 'Message' => ['description' => '请求信息的响应消息。', 'type' => 'string', 'example' => 'success'], 'Result' => [ 'description' => '结果', 'type' => 'object', 'properties' => [ - 'BizCode' => [ - 'description' => '核验结果码。'."\n" - .'- 1:核验一致'."\n" - .'- 2:核验不一致'."\n" - .'- 3:未查得', - 'type' => 'string', - 'example' => '1', - ], - 'Status' => [ - 'description' => '企业经营状态。'."\n" - .'- 1:在营(开业)'."\n" - .'- 2:迁出'."\n" - .'- 3:注销'."\n" - .'- 4:吊销'."\n" - .'- 5:撤销'."\n" - .'- 6:停业'."\n" - .'- 0:其他', - 'type' => 'string', - 'example' => '1', - ], - 'ReasonDetail' => [ - 'description' => '不一致详情,出现多项不一致会以英文逗号隔开。'."\n" - .'- LegalPersonNameFlag:法人名称不一致'."\n" - .'- LegalPersonCertNoFlag:法人证件号码不一致'."\n" - .'- EntNameFlag:企业名称不一致'."\n" - .'- LicenseNoFlag:营业执照号不一致', - 'type' => 'string', - 'example' => 'LegalPersonNameFlag,LegalPersonCertNoFlag', - ], - 'OpenTime' => [ - 'description' => '营业期限:营业开始时间和结束时间。'."\n" - .'- 格式:yyyy-MM-dd/yyyy-MM-dd。'."\n" - .'- 返回示例:2018-09-25/9999-09-09。', - 'type' => 'string', - 'example' => '2018-09-25/9999-09-09', + 'BizCode' => ['description' => '查询结果'."\n" + .'0:企业经营正常'."\n" + .'1:企业经营异常'."\n" + .'2:未查得', 'type' => 'string', 'example' => '1'], + 'Status' => ['description' => '企业经营状态。'."\n" + .'- 1:在营(开业)'."\n" + .'- 2:迁出'."\n" + .'- 3:注销'."\n" + .'- 4:吊销'."\n" + .'- 5:撤销'."\n" + .'- 6:停业'."\n" + .'- 0:其他', 'type' => 'string', 'example' => '1'], + 'RiskList' => [ + 'description' => '异常信息列表', + 'type' => 'array', + 'items' => [ + 'description' => '异常详情信息', + 'type' => 'object', + 'properties' => [ + 'CreditCode' => ['description' => '统一社会信用代码', 'type' => 'string', 'example' => '92500112MA5UHU****'], + 'EntName' => ['description' => '企业名称。', 'type' => 'string', 'example' => '杭州****'], + 'RegNo' => ['description' => '工商注册号', 'type' => 'string', 'example' => '50011260996****'], + 'ListedReason' => ['description' => '被列入异常名单原因', 'type' => 'string', 'example' => '未按照《个体工商户年度报告暂行办法》***'], + 'ListedDate' => ['description' => '被列入异常名单日期'."\n" + .'示例:2023-02-03', 'type' => 'string', 'example' => '2023-02-03'], + 'RemovedReason' => ['description' => '被移出异常名单原因', 'type' => 'string', 'example' => '根据《个体工商户年度报告暂行办法》第十三条的规定******'], + 'RemovedDate' => ['description' => '被移出异常名单日期'."\n" + .'示例:2023-02-03', 'type' => 'string', 'example' => '2023-02-06'], + 'OperationOrg' => ['description' => '移入处理机关', 'type' => 'string', 'example' => '***市场监督***'], + 'RemovedOrg' => ['description' => '移出处理机关', 'type' => 'string', 'example' => '***市场监督***'], + ], + ], ], ], ], @@ -880,27 +519,27 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"8FC3D6AC-9FED-4311-8DA7-C4BF47D9F260\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Result\\": {\\n \\"BizCode\\": \\"1\\",\\n \\"Status\\": \\"1\\",\\n \\"RiskList\\": [\\n {\\n \\"CreditCode\\": \\"92500112MA5UHU****\\",\\n \\"EntName\\": \\"杭州****\\",\\n \\"RegNo\\": \\"50011260996****\\",\\n \\"ListedReason\\": \\"未按照《个体工商户年度报告暂行办法》***\\",\\n \\"ListedDate\\": \\"2023-02-03\\",\\n \\"RemovedReason\\": \\"根据《个体工商户年度报告暂行办法》第十三条的规定******\\",\\n \\"RemovedDate\\": \\"2023-02-06\\",\\n \\"OperationOrg\\": \\"***市场监督***\\",\\n \\"RemovedOrg\\": \\"***市场监督***\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => '企业经营异常状况查询', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudauth:EntRiskQuery', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Cloudauth', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7***B-A3DC0DE3C83E\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"success\\",\\n \\"Result\\": {\\n \\"BizCode\\": \\"1\\",\\n \\"Status\\": \\"1\\",\\n \\"ReasonDetail\\": \\"LegalPersonNameFlag,LegalPersonCertNoFlag\\",\\n \\"OpenTime\\": \\"2018-09-25/9999-09-09\\"\\n }\\n}","type":"json"}]', - 'title' => '企业要素验证V2', - 'description' => '企业要素验证接口为您提供企业要素信息一致性验证服务,用于识别企业信息的真实性。'."\n" - ."\n" - .'其中企业二、三要素支持企业、个体工商户、农民专业合作社、机关、事业单位、社会团体、律师职业机构、业主大会等各类机构;'."\n" - ."\n" - .'企业四要素支持企业、个体工商户、农民专业合作社、律师职业等机构。', ], - 'EntElementVerifyPRO' => [ - 'summary' => '企业要素验证V2。', - 'path' => '', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'EntVerify' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -912,104 +551,81 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'paid', - 'abilityTreeNodes' => [ - 'FEATUREcloudauthKKY1LP', - ], + 'abilityTreeNodes' => ['FEATUREcloudauthXA9M4C'], ], 'parameters' => [ [ 'name' => 'SceneCode', 'in' => 'query', - 'schema' => [ - 'description' => '场景码。支持字母、数字、下划线的组合,最长32位。', - 'type' => 'string', - 'required' => false, - 'example' => '1000000006', - ], + 'schema' => ['description' => '场景码。', 'type' => 'string', 'required' => false, 'example' => 'withdraw'], ], [ 'name' => 'MerchantBizId', 'in' => 'query', - 'schema' => [ - 'description' => '商户侧自定义的业务唯一标识,用于后续定位排查问题使用。支持字母和数字的组合,长度最长32位,请确保唯一。', - 'type' => 'string', - 'required' => false, - 'example' => 'e0c34a77f5ac40a5aa5e6ed20c35****', - ], + 'schema' => ['description' => '商户侧自定义的业务唯一标识,用于后续定位排查问题使用。支持字母和数字的组合,长度最长32位,请确保唯一。', 'type' => 'string', 'required' => false, 'example' => '32198****193000'], ], [ 'name' => 'MerchantUserId', 'in' => 'query', - 'schema' => [ - 'description' => '商户侧用户 ID。支持字母和数字的组合,长度最长 32 位。', - 'type' => 'string', - 'required' => false, - 'example' => 'mch7x9a2b4c8d3e5f6g1h2i3j4k5****'."\n", - ], + 'schema' => ['description' => '商户侧用户ID。支持字母和数字的组合,长度最长32位。', 'type' => 'string', 'required' => false, 'example' => '432***421'], ], [ 'name' => 'UserAuthorization', 'in' => 'query', - 'schema' => [ - 'description' => '是否获得得用户授权。'."\n" - ."\n" - .'- **1**:获得授权'."\n" - .'- **0**:未获得授权', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '是否获得得用户授权。'."\n" + ."\n" + .'- 1:获得授权'."\n" + ."\n" + .'- 0:未获得授权', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'InfoVerifyType', 'in' => 'query', - 'schema' => [ - 'description' => '企业要素核验类型,仅支持如下类型'."\n" - .'- **ENT_4META**:四要素', - 'type' => 'string', - 'required' => false, - 'example' => 'ENT_4META', - ], + 'schema' => ['description' => '企业要素核验类型,当前暂不支持。', 'type' => 'string', 'required' => false, 'example' => '无'], + ], + [ + 'name' => 'RiskVerifyType', + 'in' => 'query', + 'schema' => ['description' => '企业风险核验类型,与InfoVerifyType 至少选一个,目前支持:'."\n" + ."\n" + .'- BUSINESS_ANTIFRAUD', 'type' => 'string', 'required' => false, 'example' => 'BUSINESS_ANTIFRAUD'], + ], + [ + 'name' => 'RiskModelVersion', + 'in' => 'query', + 'schema' => ['description' => '企业风险核验模型版本,RiskVerifyType 不为空时必传,目前支持:'."\n" + ."\n" + .'- BASIC:基础版', 'type' => 'string', 'required' => false, 'example' => 'BASIC'], ], [ 'name' => 'LicenseNo', 'in' => 'query', - 'schema' => [ - 'description' => '统一社会信用代码。', - 'type' => 'string', - 'required' => false, - 'example' => '91330106673959****', - ], + 'schema' => ['description' => '营业执照号。', 'type' => 'string', 'required' => false, 'example' => '32132***328932'], ], [ 'name' => 'EntName', 'in' => 'query', - 'schema' => [ - 'description' => '企业名称。', - 'type' => 'string', - 'required' => false, - 'example' => '***有限公司', - ], + 'schema' => ['description' => '企业名称。', 'type' => 'string', 'required' => false, 'example' => '***有限公司'], ], [ 'name' => 'LegalPersonName', 'in' => 'query', - 'schema' => [ - 'description' => '法人姓名。四要素场景必传。', - 'type' => 'string', - 'required' => false, - 'example' => '张**', - ], + 'schema' => ['description' => '法人姓名。', 'type' => 'string', 'required' => false, 'example' => '张**'], ], [ 'name' => 'LegalPersonCertNo', 'in' => 'query', - 'schema' => [ - 'description' => '法人身份证号。四要素场景必传。', - 'type' => 'string', - 'required' => false, - 'example' => '370105*****3892', - ], + 'schema' => ['description' => '法人身份证号。', 'type' => 'string', 'required' => false, 'example' => '370105*****3892'], + ], + [ + 'name' => 'LegalPersonMobile', + 'in' => 'query', + 'schema' => ['description' => '法人手机号。', 'type' => 'string', 'required' => false, 'example' => '1300***53'], + ], + [ + 'name' => 'AccountNo', + 'in' => 'query', + 'schema' => ['description' => '收款账户,辅助提升风险评估效果。', 'type' => 'string', 'required' => false, 'example' => '321324***38293'], ], ], 'responses' => [ @@ -1019,65 +635,30 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E', - ], - 'Code' => [ - 'description' => '返回码', - 'type' => 'string', - 'example' => '200', - ], - 'Message' => [ - 'description' => '返回信息。', - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '473469C7-A***B-A3DC0DE3C83E'], + 'Code' => ['description' => '返回码', 'type' => 'string', 'example' => 'Success'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => '成功'], 'Result' => [ 'description' => '结果', 'type' => 'object', 'properties' => [ - 'BizCode' => [ - 'description' => '核验结果码。'."\n" - .'- 1:核验一致'."\n" - .'- 2:核验不一致'."\n" - .'- 3:未查得', - 'type' => 'string', - 'example' => '1', - ], - 'Status' => [ - 'description' => '企业经营状态。'."\n" - .'- 1:在营(开业)'."\n" - .'- 2:迁出'."\n" - .'- 3:注销'."\n" - .'- 4:吊销'."\n" - .'- 5:撤销'."\n" - .'- 6:停业'."\n" - .'- 0:其他', - 'type' => 'string', - 'example' => '1', - ], - 'ReasonDetail' => [ - 'description' => '不一致详情,出现多项不一致会以英文逗号隔开。'."\n" - .'- LegalPersonNameFlag:法人名称不一致'."\n" - .'- LegalPersonCertNoFlag:法人证件号码不一致'."\n" - .'- EntNameFlag:企业名称不一致'."\n" - .'- LicenseNoFlag:营业执照号不一致'."\n" - .'- LicenseNoNotFound:企业标识号无法核查'."\n" - .'- EntNameNotFound:企业名称无法核查'."\n" - .'- LegalPersonNameNotFound:法人名称无法核查'."\n" - .'- LegalPersonCertNoNotFound:法人证件号无法核查', - 'type' => 'string', - 'example' => 'LegalPersonNameFlag,LegalPersonCertNoFlag', - ], - 'OpenTime' => [ - 'description' => '营业期限:营业开始时间和结束时间。'."\n" - .'- 格式:yyyy-MM-dd/yyyy-MM-dd。'."\n" - .'- 返回示例:2018-09-25/9999-09-09。', - 'type' => 'string', - 'example' => '2018-09-25/9999-09-09', + 'RiskVerifyResult' => [ + 'description' => '企业风险核验结果', + 'type' => 'object', + 'properties' => [ + 'ModelResults' => [ + 'description' => '企业风险核验模型返回结果列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ModelName' => ['description' => '模型名称', 'type' => 'string', 'example' => 'model_1'], + 'Result' => ['description' => '模型结果', 'type' => 'string', 'example' => '5'], + ], + ], + ], + 'Found' => ['description' => '是否查得', 'type' => 'boolean', 'example' => 'true'], + ], ], ], ], @@ -1085,109 +666,172 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => [], + 'title' => '企业风险核验', + 'summary' => '企业注册信息真实性及经营真实性验证服务。', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'yundun-cloudauth:EntVerify', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Cloudauth', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Result\\": {\\n \\"BizCode\\": \\"1\\",\\n \\"Status\\": \\"1\\",\\n \\"ReasonDetail\\": \\"LegalPersonNameFlag,LegalPersonCertNoFlag\\",\\n \\"OpenTime\\": \\"2018-09-25/9999-09-09\\"\\n }\\n}","type":"json"}]', - 'title' => '企业要素核验PRO', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"473469C7-A***B-A3DC0DE3C83E\\",\\n \\"Code\\": \\"Success\\",\\n \\"Message\\": \\"成功\\",\\n \\"Result\\": {\\n \\"RiskVerifyResult\\": {\\n \\"ModelResults\\": [\\n {\\n \\"ModelName\\": \\"model_1\\",\\n \\"Result\\": \\"5\\"\\n }\\n ],\\n \\"Found\\": true\\n }\\n }\\n}","type":"json"}]', ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'cloudauth.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'cloudauth.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'cloudauth.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'cloudauth.aliyuncs.com', + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => 'cloudauth-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.cn-beijing.aliyuncs.com', 'endpoint' => 'cloudauth.cn-beijing.aliyuncs.com', 'vpc' => 'cloudauth-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => 'cloudauth-vpc.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => 'cloudauth-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.cn-qingdao.aliyuncs.com', 'endpoint' => 'cloudauth.cn-qingdao.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => 'cloudauth-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => 'cloudauth-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => 'cloudauth-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => 'cloudauth-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-south-1', 'regionName' => '印度(孟买)已关停', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cloudauth.aliyuncs.com', 'endpoint' => 'cloudauth.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => '10001', 'message' => 'The current operation is not authorized, please contact the main account to authorize the operation on the RAM console.', 'http_code' => 403, 'description' => '当前操作未被授权,请联系主账号在RAM控制台进行授权后再执行操作。'], + ['code' => '400', 'message' => 'BizType already exist.', 'http_code' => 400, 'description' => 'BizType已经存在。'], + ['code' => '404', 'message' => 'ID_NOT_EXISTS', 'http_code' => 404, 'description' => 'id不存在'], + ['code' => '409', 'message' => 'The scene name already exists', 'http_code' => 400, 'description' => '该场景名称已存在'], + ['code' => '500', 'message' => 'system error', 'http_code' => 500, 'description' => '系统错误'], + ['code' => '700', 'message' => 'Please complete OSS activation and authorization before enabling photo storage.', 'http_code' => 400, 'description' => '请您先完成oss开通和授权操作后再开启照片存储。'], + ['code' => '701', 'message' => 'Please continue to complete the OSS authorization operation before enabling photo storage.', 'http_code' => 400, 'description' => '请您继续完成oss授权操作后再开启照片存储。'], + ['code' => 'Abnormal.Repeated.Call', 'message' => 'Exceptionally repeated calls.', 'http_code' => 200, 'description' => '异常重复调用'], + ['code' => 'CertifyId.Invalid', 'message' => 'invalid certifyId.', 'http_code' => 200, 'description' => '无效的认证id'], + ['code' => 'ConsoleSystemError_1001', 'message' => 'There was an error with your request, please try again later.', 'http_code' => 500, 'description' => '您的请求发生错误,请稍后重试!'], + ['code' => 'ConsoleSystemError_1009', 'message' => 'console system error', 'http_code' => 500, 'description' => '控制台系统错误'], + ['code' => 'Data.Duplication', 'message' => 'Data duplication.', 'http_code' => 200, 'description' => '数据重复'], + ['code' => 'DataExpired', 'message' => 'The data has expired and the records have been deleted.', 'http_code' => 410, 'description' => '数据过期,已删除记录(根据合规要求,数据默认存储180天,过期数据将删除,可自行在控制台设置保存期限)。'], + ['code' => 'DATA_EXPIRED', 'message' => 'The data has expired.', 'http_code' => 200, 'description' => '数据过期'], + ['code' => 'DownloadTimedOut', 'message' => 'Downloading resource timed out.', 'http_code' => 422, 'description' => '下载资源超时(3秒)。'], + ['code' => 'InDebt', 'message' => 'You have an outstanding payment. Please add funds first and try again.', 'http_code' => 200, 'description' => '实人认证存在欠费,请充值后再进行操作。'], + ['code' => 'InnerNoSupported', 'message' => 'Login-free operation is not supported.', 'http_code' => 403, 'description' => '不支持免登操作.'], + ['code' => 'Invalid.Input.Image', 'message' => 'Incoming picture not available.', 'http_code' => 200, 'description' => '传入图片不可用'], + ['code' => 'InvalidAction.NotFound', 'message' => 'Specified api is not found, please check your url and method.', 'http_code' => 404, 'description' => '未找到指定的api,请检查您的url和方法。'], + ['code' => 'InvalidApi.NotFound', 'message' => 'Specified api is not found, please check your url and method.', 'http_code' => 404, 'description' => '找不到指定的 API。请检查调用的 URL 和方法。您调用的 API 不存在。请检查 API 的名称是否正确,请注意确认大小写。'], + ['code' => 'InvalidParam.ImageValuePatternError', 'message' => 'The image address format is invalid.', 'http_code' => 400, 'description' => '图片地址格式错误,请检查 ImageValue 是否符合图片地址格式的要求。'], + ['code' => 'InvalidParam.MaterialsEmpty', 'message' => 'The materials list is empty.', 'http_code' => null, 'description' => 'Materials 列表为空。'], + ['code' => 'InvalidParameter', 'message' => 'The specified parameter is invalid.', 'http_code' => 200, 'description' => '非法参数。'], + ['code' => 'InvalidParameter.Format', 'message' => 'Specified parameter format is not valid.', 'http_code' => 400, 'description' => '无效的参数'], + ['code' => 'InvalidSecurityToken.Expired', 'message' => 'Specified SecurityToken is expired.', 'http_code' => 400, 'description' => '指定的 SecurityToken 已过期。'], + ['code' => 'INVALID_PARAMETER', 'message' => 'The request parameters are invalid.', 'http_code' => 200, 'description' => '非法参数。传入的姓名、身份证号码必须符合国家标准。'], + ['code' => 'MissingIds', 'message' => 'Ids is mandatory for this action.', 'http_code' => 400, 'description' => '对于此操作,ID 是必需的。'], + ['code' => 'MissingParameter', 'message' => 'Bad request. The parameter is missing.', 'http_code' => 200, 'description' => '错误的请求缺少参数'], + ['code' => 'MissingProcessType', 'message' => 'MissingProcessType', 'http_code' => 400, 'description' => '缺少进程类型'], + ['code' => 'MissingSolution', 'message' => 'Solution is mandatory for this action.', 'http_code' => 400, 'description' => '此操作必须存在解决方案。'], + ['code' => 'MissingStartDate', 'message' => 'StartDate is mandatory for this action', 'http_code' => 400, 'description' => 'startDate参数必须输入'], + ['code' => 'NoFaceDetected', 'message' => 'No face is detected in either the image or the video.', 'http_code' => 435, 'description' => '图片或者视频中检测不到人脸信息。'], + ['code' => 'NoPermission', 'message' => 'This RAM user has no permissions to access API.', 'http_code' => 403, 'description' => '该RAM用户无权访问API。'], + ['code' => 'NoSubscribeService', 'message' => 'OSS is not activated or you have not granted OSS the read write permission.', 'http_code' => 410, 'description' => '未开通OSS产品或未完成OSS读写授权,请登录控制台完成授权。'], + ['code' => 'Not.Open.Service', 'message' => 'Service not opened.', 'http_code' => 200, 'description' => '未开通服务'], + ['code' => 'ParameterIsNull', 'message' => 'The parameter must not be empty.', 'http_code' => 400, 'description' => '参数不能为空。'], + ['code' => 'PARAMETER_FORMAT_ERROR', 'message' => 'The parameter format is wrong.', 'http_code' => 200, 'description' => '格式校验错误'], + ['code' => 'Ram.No.Permission', 'message' => 'RAM has no permissions.', 'http_code' => 200, 'description' => 'RAM无权限'], + ['code' => 'ResourcesTooLarge', 'message' => 'The size of the incoming resources are too large.', 'http_code' => 421, 'description' => '传入资源超过了最大限制。'], + ['code' => 'ServerError', 'message' => 'server error.', 'http_code' => 500, 'description' => '服务发生错误。'], + ['code' => 'ServiceUnavailable', 'message' => 'The request has failed due to a temporary failure of the server.', 'http_code' => 503, 'description' => '由于服务器临时故障,请求失败。'], + ['code' => 'STATUS_ERROR', 'message' => 'Status Error.', 'http_code' => 200, 'description' => '状态错误'], + ['code' => 'SystemError', 'message' => 'A system error occurred.', 'http_code' => 500, 'description' => '系统内部错误。'], + ['code' => 'Throttling.User', 'message' => 'Request was denied due to user flow control.', 'http_code' => 400, 'description' => '对于被限制的用户,请求拒绝访问。'], + ], + 'changeSet' => [], + 'ram' => [ + 'productCode' => 'Cloudauth', + 'productName' => '实人认证', + 'ramCodes' => ['yundun-cloudauth', 'antcloudauth'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'EntRiskQuery', + 'description' => '企业经营异常状况查询', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudauth:EntRiskQuery', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Cloudauth', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EntElementVerifyV2', + 'description' => '企业要素验证V2', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudauth:EntElementVerifyV2', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Cloudauth', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EntElementVerifyPRO', + 'description' => '企业要素核验PRO', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudauth:EntElementVerifyPRO', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Cloudauth', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EntElementVerify', + 'description' => '企业要素核验', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudauth:EntElementVerify', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Cloudauth', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'EntVerify', + 'description' => '企业风险核验', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudauth:EntVerify', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'Cloudauth', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; |
