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 NameRequiredTypeDescriptionExample
sourceInfoYesObjectSource information.Refer to explanation below.
interactionModeYesObjectInteraction mode.Refer to explanation below.

Object: sourceInfo

Field NameRequiredTypeDescriptionExample
sourceYesStringSource."FNXCRDS"
partnerIdYesStringPartner ID."BSSS"
productTypeOptionalStringPartner type."appTest"
referenceYesStringReference."2003160192931"
apiVersionYesStringAPI version."1.6"
apiKeyConditionalStringAPI key."123-KEJRU-001"
userIdOptionalStringUser ID."mkchan"
userTokenOptionalStringUser token."APPOKJSID8J1234"

Object: interactionMode

Field NameRequiredTypeDescriptionExample
modeYesStringMode."ASYNC"
callbackUrlOptionalStringCallback URL.

Example Message

/aivlogout POST Request
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": "e19342b2e6074364bb51af270db71fa6Vc38TdFyPHcCEqg9",
"apiKey": "1F4ABF0D68F49A43A21C6C5F163CAB5"
},
"interactionMode": {
"mode": "async"
}
}'