Description: This API enables businesses to create new customer profiles by collecting essential information. |
Base URL: https://apidev.iserveu.online/{EndPoint} |
Endpoint: /common/dmt-lite/unified/customer/process-customer-registration |
Headers
Content-Type: application/JSON |
client_id: To be shared during integration |
client_secret: To be shared during integration |
Request Body Parameters
Parameters | Description | Data Type | Validation with Sample | Mandatory/ Optional |
mobileNumber | Mobile Number | String | 10 digit mobile number E.g.8249638187 |
Mandatory |
name | Customer name | String | Swagatika | Mandatory |
address | Address | String | Bhubaneswar | Optional |
pincode | Pin Code | String | 6 digit pin code E.g-751002 |
Optional |
ovdType | OVD Type | String | BioAuth | Optional |
ovdData | OVD Data | String | 12 digit Aadhaar number E.g-671211352822 |
Optional |
otp | OTP (One Time Password) | String | 123456 | Mandatory |
username | User name | String | isutestapi1 | Mandatory |
latlong | Latitude Longitude | String | 123.23.24_123.43.5 | Mandatory |
publicIP | Public IP | String | 192.168.1.1 | Mandatory |
paramA | To be used as per client requirement | String | to be used as per descretion | Optional |
paramB | To be used as per client requirement | String | to be used as per descretion | Optional |
paramC | To be used as per client requirement | String | to be used as per descretion | Optional |
Sample Request Body
Note:
The default OTP for staging is set to '123456' and will be used for validating OTP Type 1 during the process customer flow. |
Response Body Parameters
Parameters | Description | Data Type |
status | Status of transaction | String |
statusDesc | Status Description | String |
statusCode | Status Code | String |
name | Customer Name | String |
mobileNumber | Customer Mobile Number | String |
KYCTypeFlag | KYC Type Flag | Boolean |
paramA | To be used as per the client requirement | String |
paramB | To be used as per the client requirement | String |
paramC | To be used as per the client requirement | String |
Sample Response Body
Success:
{
"kyctypeFlag": true, "mobileNumber": "8249638187", "name": "Swagatika", "status": "SUCCESS", "statusCode": "0", "statusDesc": "Customer verified successfully and Data Updated." } |
Failed:
Response1:
{
"name": "Sonali Nayak", "mobileNumber": "", "statusCode": "-1", "statusDesc": "Customer Mobile Number Must Not Be EMPTY Or Should be 10 Digits Start between 6 to 9", "status": "FAILED", "KYCTypeFlag": false } |
Response2:
{
"name": "Sonali Nayak", "mobileNumber": "8658480625", "statusCode": "4", "statusDesc": "Internal Server Issue", "status": "FAILED", "kyctypeFlag": false } |
Response Codes
Status Code | Response Type | Description | HTTP Status Code |
2 | SUCCESS | Customer verified successfully and Ovd Data Updated | 200 |
4 | FAILED | Internal Server Issue | 200 |
-1 | FAILED | Customer Mobile Number Must Not Be EMPTY Or Should be 10 Digits Start between 6 to 9 | 200 |