跳到主要内容

从 AIV 注销

/aivlogout

Method : POST
URL : https://xxx.finexusgroup.com/AIV/rest/v1/aivlogout

信息

该服务允许 eKYC Web 应用程序提交以从 apiKey 的会话中注销。

请求参数

字段名必填类型长度描述示例
sourceInfo对象源信息。参阅下文说明
interactionMode对象交互模式。参阅下文说明

对象:sourceInfo

字段名必填类型长度描述示例
source字符串16源。"FNXCRDS"
partnerId字符串128合作伙伴ID。"BSSS"
productType可选字符串128产品类型。"appTest"
reference字符串64参考。"ID00000213132"
apiVersion字符串8API版本。"1.6"
apiKey有条件字符串64API密钥。"1233214HSC"
userId可选字符串32用户ID。"mkchan"
userToken可选字符串64用户令牌。"APPOKJSID8J1234"

对象:interactionMode

字段名必填类型长度描述示例
mode字符串8模式。"SYNC",
"ASYNC"
callbackUrl可选字符串256回调URL。

示例消息

/aivlogout POST 响应
curl -X POST "https://xxx.finexusgroup.com/AIV/rest/clientauth/aivlogout" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"sourceInfo": {
"source": "test",
"partnerId": "test",
"apiVersion": "1.6",
"reference": "ID00000213132",
"apiKey": "1233214HSC"
},
"interactionMode": {
"mode": "async"
}
}'