About this endpoint
What it does
Checks a CNH number and returns a validation result for the supplied value. The response includes whether the input is valid, the original input value, the document type, and an optional formatted value.
Path Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| number | String | CNH number to validate. |
Response
Returns a JSON object with is_valid boolean, input_value string, document_type string, and formatted_value string or null fields. The output schema describes a validation result object; the required fields are document_type, input_value, and is_valid.
| Attribute | Type | Description |
|---|---|---|
| is_valid | Boolean | Indicates whether the provided CNH number is valid. |
| input_value | String | The input value that was validated. |
| document_type | String | The document type returned by the validation result. |
| formatted_value | String | Null | Formatted version of the input value, if provided by the service. |



