Skip to main content

Login to AIV

/aivlogin

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

info
  • This method allows the submission of a request from eKYC’s web app for an apiKey to Log into the AIV system using encrypted message that have been signed by the Host.
  • licenseKey to be provided by Finexus.

Request Parameters

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

Object: contextInfo

Field NameRequiredTypeDescriptionExample
ctxSourceInfoYesObjectContext source information.Refer to explanation below.
licenseKeyYesStringLicense key."ASJ123412"
ctxDateTimeYesStringContext date time."2203161000699"
purposeYesStringPurpose."Test"
signatureYesStringSignature."4C3ACE806CD5F"

Object: ctxSourceInfo

Field NameRequiredTypeDescriptionExample
sourceYesStringSource."FNXCRDS"
partnerIdYesStringPartner ID."BSSS"

Example Message

/aivlogin POST Request
curl -X POST "https://xxx.finexusgroup.com/AIV/rest/clientauth/aivlogin" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{
"sourceInfo": {
"source": "test",
"partnerId": "test",
"apiVersion": "1.6",
"reference": "e19342b2e6074364bb51af270db71fa6Vc38TdFyPHcCEqg9",
},
"interactionMode": {
"mode": "async"
},
"contextInfo": {
"licenseKey": "ASJ123412",
"ctxDateTime": "20211201083010",
"purpose": "Test",
"ctxSourceInfo": {
"source": "FNXCRDS",
"partnerId": "PR"
},
"signature": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
}'