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

Object: contextInfo

Field NameRequiredTypeLengthDescriptionExample
ctxSourceInfoYesObjectContext source information.Refer to explanation below.
licenseKeyYesString27License key."ASJ123412"
ctxDateTimeYesString14Context date time."2203161000699"
purposeYesString50Purpose."Test"
signatureYesString999Signature. Appendix 1"4C3ACE806CD5F"
note

ctxSourceInfo, licenseKey, ctxDateTime and purpose fields are required for signing.

Object: ctxSourceInfo

Field NameRequiredTypeLengthDescriptionExample
sourceYesString16Source."FNXCRDS"
partnerIdYesString128Partner 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": "ID00000213132",
},
"interactionMode": {
"mode": "async"
},
"contextInfo": {
"licenseKey": "ASJ123412",
"ctxDateTime": "20211201083010",
"purpose": "Test",
"ctxSourceInfo": {
"source": "FNXCRDS",
"partnerId": "PR"
},
"signature": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
}
}'