Skip to main content

Logout from AIV

/aivlogout

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

info

This service is to allow the submission of ekyc web app to log out from the apiKey’s session.

Request Parameters

Field NameRequiredTypeLengthDescriptionExample
sourceInfoYesObjectSource information.Refer to explanation below.
interactionModeYesObjectInteraction mode.Refer to explanation below.

Object: sourceInfo

Field NameRequiredTypeLengthDescriptionExample
sourceYesString16Source."FNXCRDS"
partnerIdYesString128Partner ID."BSSS"
productTypeOptionalString128Partner type."appTest"
referenceYesString64Reference."ID00000213132"
apiVersionYesString8API version."1.6"
apiKeyConditionalString64API key."1233214HSC"
userIdOptionalString32User ID."mkchan"
userTokenOptionalString64User token."APPOKJSID8J1234"

Object: interactionMode

Field NameRequiredTypeLengthDescriptionExample
modeYesString8Mode."SYNC",
"ASYNC"
callbackUrlOptionalString256Callback URL.

Example Message

/aivlogout POST Response
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"
}
}'