About this endpoint
What it does
Validates an Indian PIN code by sending a postcode string in the request body and returning a boolean result. The response indicates whether the postcode exists in the lookup table.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| postcode | String | Yes | Postcode or PIN code; spaces are ignored for matching. |
Response
Returns a JSON object with a data boolean field. true when the postcode exists in the lookup table, false otherwise.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| data | Boolean | Yes | true when the postcode exists in the lookup table. |