Skip to main content

Customer Legal Status

GET

Go To Customer Registration(Business)

GEThttp://host/ewallet/api/v1/customerLegalStatus/getByCustomerTypeCode/{customerTypeCode}

The Customer Type API is used to fetch the legal status of the customer.

ParametersInput TypeLengthRequirementDescription
customerTypeCodeNumeric06MThe unique code of the customer type, for Business:100002

Requirement legend: M = Mandatory · O = Optional · C = Conditional

GET /services HTTP/1.0
HOST: XXX.XXX.XXX.XXX:Port
Content-Type: application/json; charset=utf-8
GET -
http://host/ewallet/api/v1/customerLegalStatus/getByCustomerTypeCode/100002
ParametersData TypeRequirementDescription
transactionIdStringM
requestTimeStringMThis is the requested date and time in the Day Mmm DD HH:MM:SS TIMEZONE YYYY.
responseTimeStringMThis is the response date and time in the Day Mmm DD HH:MM:SS TIMEZONE YYYY.
resultCodeStringMUnique code of the status of the transaction.
resultDescriptionStringMDescription of the status of the transaction.
customerLegalStatusList
idStringMThe serial number of the record.
codeStringMThe unique code of the record, which needs to be passed while customer registration process.
customerTypeCodeStringMThe unique code of the customer type.
nameStringMThe name of the legal status.
statusStringMThe status of the customer. note: Only records with status "Active" needs to be used
creationDateStringMThe creation date of the customer in the YYYY-MM-DD <Delimiter> HH:MM:SS.MS TIMEZONE

Requirement legend: M = Mandatory · O = Optional · C = Conditional

Note: The response may include records with "status": "Inactive". These should be ignored. Only the data with "status": "Active" must be filtered and used.

{
"transactionId": "8301030",
"requestTime": "Wed Apr 17 21:06:35 IST 2024",
"responseTime": "Wed Apr 17 21:06:36 IST 2024",
"resultCode": "0",
"resultDescription": "Transaction successful",
"customerLegalStatusList": [
{
"id": 6,
"code": "RHB001",
"customerTypeCode": "100002",
"name": "Partnership",
"status": "Active",
"creationDate": "2024-04-15T00:00:00.000+0530"
},
{
"id": 13,
"code": "RHB002",
"customerTypeCode": "100002",
"name": "Corporation",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},
{
"id": 7,
"code": "RHB003",
"customerTypeCode": "100002",
"name": "Proprietorship",
"status": "Active",
"creationDate": "2024-04-15T00:00:00.000+0530"
},
{
"id": 8,
"code": "RHB004",
"customerTypeCode": "100002",
"name": "Govt. Entity",
"status": "Active",
"creationDate": "2024-04-15T00:00:00.000+0530"
},
{
"id": 9,
"code": "RHB005",
"customerTypeCode": "100002",
"name": "Private ltd",
"status": "Active",
"creationDate": "2024-04-15T00:00:00.000+0530"
},
{
"id": 11,
"code": "RHB006",
"customerTypeCode": "100002",
"name": "WLL",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
},
{
"id": 12,
"code": "RHB007",
"customerTypeCode": "100002",
"name": "BSC",
"status": "Active",
"creationDate": "2025-03-19T17:23:54.415+0530"
}]
}