# Проверка реестра

После создания реестра необходимо произветси его проверку. В тело запроса передается массив, с идентификаторами реестра {[id](https://sergey-bedihin.gitbook.io/rabota-s-api/rabota-s-reestrami/sozdanie-reestra-vyplat)}, которые необходимо проверить.&#x20;

**Проверка реестра**

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

```bash
curl --location --request POST 'https://business.selfwork.ru/selfemployed/business/v1/payouts/check' \
--header 'X-Login: example' \
--header 'X-Password: 591c0bcd4a41137fe9fce94dfba74e24' \
--header 'Content-Type: application/json' \
--data-raw '[
    1234
]'
```

{% endtab %}

{% tab title="JS" %}

```javascript
var axios = require('axios');
var data = JSON.stringify([
  1234
]);

var config = {
  method: 'post',
  url: 'https://business.selfwork.ru/selfemployed/business/v1/payouts/check',
  headers: { 
    'X-Login': 'example', 
    'X-Password': '591c0bcd4a41137fe9fce94dfba74e24', 
    'Content-Type': 'application/json'
  },
  data : data
};

axios(config)
.then(function (response) {
  console.log(JSON.stringify(response.data));
})
.catch(function (error) {
  console.log(error);
});

```

{% endtab %}
{% endtabs %}

**Асинхронная проверка реестра**

При асинхронной проверке реестра в ответе вернется true либо false.&#x20;


---

# 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://sergey-bedihin.gitbook.io/rabota-s-api/rabota-s-reestrami/proverka-reestra.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.
