post-request

Description: This API allows to retrieve detailed information about a customer.
Base URL: https://apidev.iserveu.online/{EndPoint}
Endpoint: /common/dmt-lite/unified/customer/get-customer

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.8765432345
Mandatory
username User name String isutestapi1 Mandatory
latlong Latitude Longitude String 123.23.24_123.43.5 Mandatory
publicIP Public IP String 123.123.123.133 Mandatory

Sample Request Body


Response Body Parameters

Parameters Description Data Type
status Status of transaction String
statusDesc Status Description String
statusCode Code of the transaction status String
name Name of Customer String
mobileNumber Customer Mobile Number String
KYCTypeFlag KYC Type Flag Boolean

Sample Response Body


Success:

{
"name": "Chandan Pradhan",
"mobileNumber": "8144094480",
"statusCode": "0", //customer Not Exits,kindly onboard
"statusDesc": "customer Not Exits,kindly onboard",
"KYCTypeFlag": false,
"status":"SUCCESS"
}
………………
{
"name": "Chandan Pradhan",
"mobileNumber": "8144094480",
"statusCode": "1", //customer created but not verified
"statusDesc": "Customer created but not verified",
"KYCTypeFlag": false,
"status":"SUCCESS"
}
………………
{
"name": "Chandan Pradhan",
"mobileNumber": "8144094480",
"statusCode": "2", ////customer is created and verified, OVD is also verified. (This is for new Customer)
"statusDesc": "Customer verified successfully",
"KYCTypeFlag": true,
"status":"SUCCESS"
}
……………….
 
Notes -
  • KYCTypeFlag: true, means OVD is present.
  • KYCTypeFlag: false, means OVD data is not present.

Failed:

{
    "KYCTypeFlag": false,
    "mobileNumber": "",
    "status": "FAILED",
    "statusCode": "-1",
    "statusDesc": "Invalid mobile number"
}

{
    "KYCTypeFlag": false,
    "mobileNumber": "8249638187",
    "status": "FAILED",
    "statusCode": "-1",
    "statusDesc": "User Name Must not be Empty"
}

Response Codes

Status Code Response Type Description HTTP Status Code
0 SUCCESS customer Not onboarded 200
1 SUCCESS Customer created but not verified 200
2 SUCCESS Customer verified successfully 200
-1 FAILED Username Must not be Empty 200
-1 FAILED Invalid Mobile Number 200
4 FAILED Internal Server Issue 200