> For the complete documentation index, see [llms.txt](https://docs.patascore.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.patascore.com/mpesa-operations/check-for-user-statement.md).

# Check for User Statement

## Check for user statement

<mark style="color:blue;">`GET`</mark> `{{BASE_URL}}/api/v1/statement/check?national_id=:national_id`

This endpoint allows you to check whether a user has any past extracted and analysed statements

#### Query Parameters

| Name                                           | Type   | Description          |
| ---------------------------------------------- | ------ | -------------------- |
| national\_id<mark style="color:red;">\*</mark> | String | National id to check |

#### Headers

| Name                                             | Type   | Description          |
| ------------------------------------------------ | ------ | -------------------- |
| Authentication<mark style="color:red;">\*</mark> | String | Authentication token |

{% tabs %}
{% tab title="200 Statement check successfully retrieved." %}

```javascript
{
   "status":200,
   "message":"Statement check successful",
   "data":{
      "exists":false
   }
}
```

{% endtab %}
{% endtabs %}
