Post Office Lookup
The following API endpoint can be used to locate Post Office branches closest to a supplied postcode, that can provide the In-Branch Verification (IBV) service. After the user has selected their preferred Post Office branch within your UI, the details of this branch can then be used to create the instructions for a In-Branch Verification request.
Endpoint
POST https://api.yoti.com/idverify/v1/lookup/uk-post-office
Request Body
{
"search_string": "HA5 2QW"
}
Parameter | Description |
---|---|
searchString | The searchString accepts a postcode, and will return the 10 nearest branches. |
Response Body
If the request is successful, the API will send a response in the form:
{
"branches": [
{
"type": "UK_POST_OFFICE"
"fad_code": "12345678",
"name": "St Neots",
"address": "35 High Street, St. Neots, Cambridgeshire",
"postcode": "PE19 1NL",
"location": {
"latitude": 52.22864,
"longitude": -0.26762
}
}
]
}
You will need the "fad_code" when creating the customer letter.
Was this page helpful?