人脸系统
  1. 用户接口
人脸系统
  • 用户接口
    • 提交实名接口
      POST
    • 查询结果接口
      POST
    • notifyurl结果回调(post)
      POST
    • returnurl结果回调(get)
      GET
    • H5权威源实人认证提交接口
      POST
    • 获取接口列表
      POST
  • 管理员接口
    • 充值额度
      POST
  1. 用户接口

H5权威源实人认证提交接口

POST
/api/initialize/{接口ID}

请求参数

Path 参数

Header 参数

Body 参数application/x-www-form-urlencoded

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/initialize/' \
--header 'Authorization: KEYCODE 123456789' \
--data-urlencode 'name=张三' \
--data-urlencode 'idcard=123456789123456789' \
--data-urlencode 'type=1' \
--data-urlencode 'returnurl=https://face.ojwyun.cn/returnurl' \
--data-urlencode 'notifyurl=https://face.ojwyun.cn/notifyurl' \
--data-urlencode 'txtBgColor=#cccccc' \
--data-urlencode 'pageBgColor=#eeeeee' \
--data-urlencode 'pageTitle=xxx实人认证' \
--data-urlencode 'livingType=26'

返回响应

🟢200成功
application/json
Body

示例
{
    "code": "200",
    "msg": "提交成功",
    "token": "850452bbfe85c94d4771d194afb46a91",
    "url": "https://face.ojwyun.cn/index/face"
}
修改于 2025-08-06 10:07:25
上一页
returnurl结果回调(get)
下一页
获取接口列表
Built with