# Добавление карты

## Добавление карты

<mark style="color:orange;">`POST`</mark> `/verify/`

**Permissions**

Нужно чтобы пользователь [<mark style="color:blue;">**активировал**</mark>](/lichnyi-kabinet/informaciya-o-polzovatele.md) свой аккаунт

**Headers**

| Name          | Value               |
| ------------- | ------------------- |
| Content-Type  | `application/json`  |
| Authorization | `Bearer <jwttoken>` |

**Body**

<table><thead><tr><th width="194">Name</th><th width="79">Type</th><th width="296">Description</th><th data-type="checkbox">Обязательное</th></tr></thead><tbody><tr><td>name</td><td>string</td><td>Название карты</td><td>false</td></tr><tr><td>ps</td><td>int</td><td>ID платежной системы</td><td>true</td></tr><tr><td>requisites</td><td>object</td><td>Реквизиты клиента (заполняются по ключам <code>name</code> из типа <a href="/pages/j1yyO7iyOcGynoVpX1ZL">платежные системы</a> в ключе <code>inputs</code>)</td><td>true</td></tr><tr><td>isLinkedToAccount</td><td>bool</td><td>Привязана ли карта к личному кабинету, по дефолту <code>true</code></td><td>false</td></tr><tr><td>saveRequisites</td><td>bool</td><td>Сохранятся ли реквизиты для заполнения заявки, по дефолту <code>false</code></td><td>false</td></tr></tbody></table>

#### Пример объекта `requisites`

```json
"requisites": {
        "fio": "DD DD",
        "card": "9034567890123456"
}
```

**Response**

{% tabs %}
{% tab title="200" %}

```json
{
    "verification": "7a4a7b23-4a16-4637-9f93-55a7ff1438d1"
}
```

{% endtab %}

{% tab title="400 (Верификация существует)" %}

```json
{
    "nonFieldErrors": [
        "Верификация по данной карте уже существует"
    ]
}
```

{% endtab %}

{% tab title="400 (Неправильные реквизиты)" %}

```json
{
    "requisites": {
        "fio": "Введите ФИО отправителя",
        "card": "Введите карту Тинькофф, от 16 до 18 цифр без пробелов"
    }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://exchangerretp4lrpg6lp2.mikroservis.one/lichnyi-kabinet/verifikaciya-kart/dobavlenie-karty.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
