> For the complete documentation index, see [llms.txt](https://docs.terminal.africa/tship/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.terminal.africa/tship/address/verify-address.md).

# Verify Address

Verify an existing Nigerian address with NIN.

Verify an existing Nigerian address with an 11-digit NIN.

## /addresses/:address\_id/verify-nin

<mark style="color:green;">`POST`</mark> `https://api.terminal.africa/v1/addresses/:address_id/verify-nin`

This endpoint verifies an existing address on your account. NIN verification is only available for Nigerian addresses (`country` is `NG`). The address `first_name` and `last_name` must match the name on the NIN. On success the address is marked `verified: true`. The NIN is not returned in the response.

A wallet charge applies for each verification attempt. The charge applies when an existing identity is reused, and when the name on the address does not match the NIN.

#### Testing

On the test endpoint (`https://sandbox.terminal.africa/v1`), use any 11-digit NIN that does not end in `0`. The name check uses the `first_name` and `last_name` already saved on the address, so you do not need a real person's name. The same values work when you pass `nin` on create or update.

| NIN           | Result                 |
| ------------- | ---------------------- |
| `12345678901` | Verification succeeds. |
| `12345678900` | Verification fails.    |

These values do not work on the live endpoint. Live verification uses a real NIN.

#### Path Parameters

| Name                                          | Type   | Description                       |
| --------------------------------------------- | ------ | --------------------------------- |
| address\_id<mark style="color:red;">\*</mark> | String | Unique address id of the address. |

#### Headers

| Name                                            | Type   | Description                      |
| ----------------------------------------------- | ------ | -------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | String | Set value to `Bearer SECRET_KEY` |
| Content-Type                                    | String | Set value to `application/json`  |

#### Request Body

| Name                                  | Type   | Description                                                     |
| ------------------------------------- | ------ | --------------------------------------------------------------- |
| nin<mark style="color:red;">\*</mark> | String | 11-digit Nigerian NIN. Write-only. Never returned in responses. |

{% tabs %}
{% tab title="200 Address verified successfully" %}

```javascript
{
    "status": true,
    "message": "Address verified successfully",
    "data": {
        "address_id": "AD-00632494667",
        "city": "Lagos",
        "country": "NG",
        "email": "augustus_obi@shipmonk.ng",
        "first_name": "Augustus",
        "is_residential": true,
        "last_name": "Obi",
        "line1": "1121 Allen Avenue, Ikeja",
        "line2": "",
        "name": "Augustus Obi",
        "phone": "+2348122340000",
        "state": "Lagos",
        "zip": "121006",
        "verified": true,
        "verified_at": "2026-02-28T10:00:00.000Z",
        "identity": {
            "identity_id": "AI-1234567890ABCDEF",
            "first_name": "Augustus",
            "last_name": "Obi",
            "country": "NG",
            "status": "verified"
        },
        "created_at": "2021-07-13T20:25:53.011Z",
        "updated_at": "2026-02-28T10:00:00.000Z"
    }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.terminal.africa/tship/address/verify-address.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
