Validate Customer
Validate Customer
application/json
Request Body
manufacturerId Manufacturerid required
The unique identifier for the manufacturer
customerPan Customerpan required
Possible values: Value must match regular expression [A-Z]{5}[0-9]{4}[A-Z]{1}
The PAN number of the customer in the format AAAAA9999A
customerDob Customerdob required
Possible values: Value must match regular expression (0[1-9]|[12]\d|3[01])-(0[1-9]|1[0-2])-\d{4}
The date of birth of the customer in the format DD-MM-YYYY
customerName Customername
The name of the customer
consentType Consenttype required
The type of consent provided by the customer (ckyc or pan)
consentAcceptance Consentacceptance required
The customer's acceptance of the consent (y or on)
consentAcceptanceDt Consentacceptancedt required
Possible values: Value must match regular expression (0[1-9]|[12]\d|3[01])-(0[1-9]|1[0-2])-\d{4}-(0[0-9]|1[0-9]|2[0-3])-(0[0-9]|[1-5][0-9])-(0[0-9]|[1-5][0-9])
The date and time of consent acceptance in the format DD-MM-YYYY-HH-MM-SS
Responses
- 200
- 422
Successful Response
application/json
Schema
Schema
- any
Validation Error
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
detail object[]
loc string[] required
msg Message required
type Error Type required
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
Loading...