About this endpoint
What it does
Validates whether the supplied postcode or PIN code exists in the lookup table. It returns a JSON object with a single data boolean field indicating the result.
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. |