KYC Configuration
🛂 KYC Endpoint Configuration
🧾 Overview
The KYC (Know Your Customer) endpoint configuration enables REL-ID’s IdvWebServer to call an enterprise-hosted API for validating scanned identity document data. This is typically done after selfie verification and before storing identity data (Opt-In).
The KYC API acts as a validation layer to ensure that the identity details match those in the enterprise's internal systems.
⚙️ Configuration Steps
To enable or configure the KYC endpoint, follow these steps in the GM Portal.
✅ Enable KYC
- Login to the GM Portal
- Navigate to
Module Config Management
- Select the module:
IDV Web Server
- Search for config key:
kyc.enable
- Set value to:
true
- Click Restart to apply changes
Setting this tofalse
will disable KYC check. The KYC step will be skipped entirely.
🔗 Configure KYC API URL
- In
Module Config Management
, select the module:IDV Server
- Search for config key:
kyc.service.api.config
- Set the full KYC endpoint URL and any required request headers or payload structure.
- Click Restart
Example KYC API settings:
{
"method": "POST",
"url": "https://enterprise.com/api/validateKYC",
"headers": [
{
"headerName": "Authorization",
"headerValue": "Bearer __ACCESS_TOKEN_PLACEHOLDER__"
},
{
"headerName": "Content-Type",
"headerValue": "application/json"
}
],
"requestBody": {
"name": "${name}",
"dob": "${dob}",
"documentNumber": "${doc_no}"
}
}
🛠️ Replace ${...}
with macros supported by REL-ID to inject scanned data fields.
🔐 Dynamic Access Token
If Authorization
header uses Bearer __ACCESS_TOKEN_PLACEHOLDER__
, then you must also configure the accessTokenEndpoint
like below:
"accessTokenEndpoint": {
"url": "https://enterprise.com/token",
"method": "POST",
"headers": [
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
}
],
"postParameters": [
{
"name": "client_id",
"value": "your_client_id"
},
{
"name": "client_secret",
"value": "your_client_secret"
},
{
"name": "grant_type",
"value": "client_credentials"
}
]
}
REL-ID will dynamically fetch the access token and use it when calling the KYC API.
🔁 When Is This API Called?
- After selfie verification is complete (Step 3)
- Before presenting the Opt-In screen
- Only if
kyc.enable
istrue
🧪 Expected Response
The enterprise KYC endpoint should return a success/failure indication. The exact format depends on enterprise implementation, but ideally:
{
"kycStatus": "SUCCESS",
"referenceId": "KYC123456789"
}
REL-ID can store the KYC result and optionally use referenceId
in reporting or callbacks.
🚫 Disable KYC (Optional)
To turn off KYC checks entirely:
- In GM Portal →
Module Config Management
- Module:
IDV Web Server
- Set
kyc.enable
=false
- Click Restart
✅ Completion
Once configured, IdvWebServer will call your KYC API during identity verification, allowing real-time validation of user identity data before enrollment completion.
Updated 3 months ago