聚合数据

护照核验

  • 数据类型: 生活服务
  • 接口状态: 正常
  • 已连接App的数量: 0
  • 描述:

接口地址: http://apis.juhe.cn/passport_verify/get_verify_contents

支持格式: json

请求方式: GET/POST

请求示例: http://apis.juhe.cn/passport_verify/get_verify_contents?key=您申请的appkey

请求参数:

名称 类型 必填 说明
key string 在个人中心->我的数据,接口名称上方查看
country_code string 国家/地区编码,支持国家/地区:香港(HK),日本(JP),韩国(KR),美国(US),澳大利亚(AU),英国(GB),新加坡(SG)

返回字段:

名称 类型 说明
error_code int 状态码
reason string 状态信息
result object 返回结果集
result.orderid string 流水号
result.json_schema   object 当前国家核验数据信息

JSON返回示例:

{
  "reason": "请求成功",
  "result": {
    "json_schema": {
      "title": "DataFields",
      "type": "object",
      "properties": {
        "PersonInfo": {
          "title": "PersonInfo",
          "type": "object",
          "properties": {
            "FirstGivenName": {
              "type": "string",
              "description": "First name of the individual to be verified",
              "label": "First Name"
            },
            "MiddleName": {
              "type": "string",
              "description": "Second given name of the individual to be verified",
              "label": "Middle Name"
            },
            "FirstSurName": {
              "type": "string",
              "description": "Last name of the individual to be verified",
              "label": "Last Name"
            },
            "DayOfBirth": {
              "type": "int",
              "description": "Day of birth date (e.g. 23 for a date of birth of 23/11/1975)",
              "label": "Day Of Birth"
            },
            "MonthOfBirth": {
              "type": "int",
              "description": "Month of birth date (e.g. 11 for a date of birth of 23/11/1975)",
              "label": "Month Of Birth"
            },
            "YearOfBirth": {
              "type": "int",
              "description": "Year of birth date (e.g. 1975 for a date of birth of 23/11/1975)",
              "label": "Year Of Birth"
            }
          },
          "required": [
            "FirstGivenName",
            "FirstSurName"
          ]
        },
        "Location": {
          "title": "Location",
          "type": "object",
          "properties": {
            "BuildingNumber": {
              "type": "string",
              "description": "Building number of home address",
              "label": "Building Number"
            },
            "BuildingName": {
              "type": "string",
              "description": "Building name of home address",
              "label": "Building Name"
            },
            "UnitNumber": {
              "type": "string",
              "description": "Flat/Unit/Apartment number of primary residence",
              "label": "Unit Number"
            },
            "StreetName": {
              "type": "string",
              "description": "Street name of primary residence",
              "label": "Street Name"
            },
            "County": {
              "type": "string",
              "description": "District of home address",
              "label": "District"
            },
            "StateProvinceCode": {
              "type": "string",
              "description": "State of primary residence. US sources expect 2 characters. Australian sources expect 2 or 3 characters.",
              "label": "State"
            }
          },
          "required": [
            
          ]
        },
        "Communication": {
          "title": "Communication",
          "type": "object",
          "properties": {
            "Telephone": {
              "type": "string",
              "description": "Telephone number of the individual to be verified",
              "label": "Telephone"
            }
          },
          "required": [
            
          ]
        },
        "NationalIds": {
          "title": "NationalIds",
          "type": "object",
          "properties": {
            "Number": {
              "type": "string",
              "description": "(Hong Kong identification number)",
              "label": "Hong Kong ID Number"
            },
            "Type": {
              "type": "string",
              "value": "nationalid"
            }
          },
          "required": [
            "nationalid"
          ]
        },
        "Passport": {
          "title": "Passport",
          "type": "object",
          "properties": {
            "Mrz1": {
              "type": "string",
              "description": "First line of the Machine Readable Zone (MRZ) of passport, 44 letters and digits (e.g. 'P<CZESPECIMEN<<VZOR<<<<<<<<<<<<<<<<<<<<<<<<<')",
              "label": "Passport MRZ Line 1"
            },
            "Mrz2": {
              "type": "string",
              "description": "Second line of the Machine Readable Zone (MRZ) of passport, 44 letters and digits (e.g. '99003853<1CZE1101018M1207046110101111<<<<<94')",
              "label": "Passport MRZ Line 2"
            },
            "Number": {
              "type": "string",
              "description": "Passport number of the individual to be verified",
              "label": "Passport Number"
            },
            "DayOfExpiry": {
              "type": "int",
              "description": "Day of month of expiration of passport, 2 digits (e.g. '14')",
              "label": "Passport Day Of Expiry"
            },
            "MonthOfExpiry": {
              "type": "int",
              "description": "Month of year of expiration of passport, 2 digits (e.g. '08')",
              "label": "Passport Month Of Expiry"
            },
            "YearOfExpiry": {
              "type": "int",
              "description": "Year of expiration of passport, 4 digits (e.g. '1980')",
              "label": "Passport Year Of Expiry"
            }
          },
          "required": [
            "Mrz1",
            "Mrz2"
          ]
        },
        "CountrySpecific": {
          "title": "CountrySpecific",
          "type": "object",
          "properties": {
            "HK": {
              "title": "HK",
              "type": "object",
              "properties": {
                "PassportMRZLine1": {
                  "type": "string",
                  "description": "First line of the Machine Readable Zone (MRZ) of passport, 44 letters and digits (e.g. 'P<CZESPECIMEN<<VZOR<<<<<<<<<<<<<<<<<<<<<<<<<')",
                  "label": "Passport MRZ Line 1"
                },
                "PassportMRZLine2": {
                  "type": "string",
                  "description": "Second line of the Machine Readable Zone (MRZ) of passport, 44 letters and digits (e.g. '99003853<1CZE1101018M1207046110101111<<<<<94')",
                  "label": "Passport MRZ Line 2"
                },
                "FloorNumber": {
                  "type": "string",
                  "description": "Floor number of home address",
                  "label": "Floor Number"
                },
                "PassportDayOfExpiry": {
                  "type": "string",
                  "description": "Day of month of expiration of passport, 2 digits (e.g. '14')",
                  "label": "Passport Day Of Expiry"
                },
                "PassportMonthOfExpiry": {
                  "type": "string",
                  "description": "Month of year of expiration of passport, 2 digits (e.g. '08')",
                  "label": "Passport Month Of Expiry"
                },
                "PassportNumber": {
                  "type": "string",
                  "description": "Passport number of the individual to be verified",
                  "label": "Passport Number"
                },
                "PassportYearOfExpiry": {
                  "type": "string",
                  "description": "Year of expiration of passport, 4 digits (e.g. '1980')",
                  "label": "Passport Year Of Expiry"
                }
              },
              "required": [
                "PassportMRZLine1",
                "PassportMRZLine2"
              ]
            }
          }
        }
      }
    },
    "orderid": "JH369202001161657373269"
  },
  "error_code": 0
}

XML返回示例:


          

备注:获取当前国家验证的数据内容

服务级错误码参照(error_code):

错误码 说明
253601 参数错误
253606 数据源错误
253607 数据源超时

系统级错误码参照:

错误码 说明
10001 错误的请求KEY
10002 该KEY无请求权限
10003 KEY过期
10004 错误的OPENID
10005 应用未审核超时,请提交认证
10007 未知的请求源
10008 被禁止的IP
10009 被禁止的KEY
10011 当前IP请求超过限制
10012 请求超过次数限制
10013 测试KEY超过请求限制
10014 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失)
10020 接口维护
10021 接口停用

错误码格式说明(示例:200201):

2 002 01
服务级错误(1为系统级错误) 服务模块代码(即数据ID) 具体错误代码

《护照核验》资费说明:

等级 价格(元) 请求次数

其他相关内容:

内容 详细
接口测试 API测试工具
技术支持 info@juhe.cn
联系电话 0512-62391880
QQ交流群 264591694
在线客服QQ 1794844675
商务合作QQ 603866358