> For the complete documentation index, see [llms.txt](https://docs.transactionlink.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.transactionlink.io/docs/v1/integrations/mobywatel/citizennationality.md). Agents can also search and read this documentation through its [MCP server](https://docs.transactionlink.io/docs/~gitbook/mcp).

# CitizenNationality

### Output

| Attribute                                             | Type   | Description                                                |
| ----------------------------------------------------- | ------ | ---------------------------------------------------------- |
| [*certificateCitizenData*](#certificate-citizen-data) | object | Object used to store foreigner data.                       |
| *dataSetType*                                         | number | Internal id of chosen data set. In this case it will be 7. |
| *requestId*                                           | string | Id of the request in UUID format                           |
| *recipientId*                                         | string | External id                                                |

### Certificate Citizen Data

|           |        |                                                         |
| --------- | ------ | ------------------------------------------------------- |
| *names*   | string | Names of the foreigner                                  |
| *surname* | string | Surname of the foreigner                                |
| pesel     | string | Pesel of the foreigner                                  |
| *dn*      | string | Details of foreigner's certificate used to release data |
| *country* | string | Country of the foreigner                                |

### Output Example

```
{
    "certificateCitizenData": {
        "names": "KONSTANTYILDEFONS",
        "surname": "GACZYSKI",
        "pesel": "87031394418",
        "dn": "C=UA,SERIALNUMBER=PNOPL-87031394418,SURNAME=GACZYSKI,GIVENNAME=KONSTANTYILDEFONS,CN=KONSTANTY ILDEFONS GACZYSKI",
        "country": "UA"
    },
    "dataSetType": 3000,
    "requestId": "6d3e18ba-f1cc-472e-93c8-49657c575888",
    "recipientId": "5"
}
```
