Аресты по счетам
OpenAPI 0.0.1
API для работы с данными об арестах.
Варианты
- Паблик
Операции API
POST /v1/query — Получить аресты пользователя
Возвращает страницу арестов, доступных текущему пользователю
{
"description": "Возвращает страницу арестов, доступных текущему пользователю",
"operationId": "queryArrests",
"parameters": [
{
"$ref": "#/components/parameters/AuthorizationHeader"
},
{
"$ref": "#/components/parameters/IdTokenHeader"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"filter": {
"cnums": [
"QATA3B"
],
"status": "ARREST"
},
"paging": {
"limit": 10,
"offset": 0
}
},
"schema": {
"$ref": "#/components/schemas/ArrestQueryRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"example": {
"arrests": [
{
"accounts": [
{
"accountCurrency": "643",
"accountCurrencyCode": "RUB",
"accountNumber": "40702810900000000001",
"addedAt": "2026-11-30",
"amount": 1500.25,
"canceledAt": null
}
],
"blockType": "SUM",
"cnum": "QATA3B",
"date": "2026-11-30",
"id": "8ad369c0-68b4-4cd2-b78b-413d53ad1e82",
"institution": "ФССП России",
"institutionCode": "77001",
"number": "12345/26/77001-ИП",
"reasonDetails": "Исполнительное производство №12345/26/77001-ИП",
"reorganizationInfo": {
"isReorganized": false,
"previousArrestNumber": null
},
"status": "ARREST",
"totalAmount": 1500.25
}
],
"paging": {
"limit": 10,
"offset": 0
}
},
"schema": {
"$ref": "#/components/schemas/ArrestQueryResponse"
}
}
},
"description": "Страница арестов успешно получена"
},
"400": {
"$ref": "#/components/responses/BadRequest"
},
"401": {
"$ref": "#/components/responses/Unauthorized_1"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
},
"security": [
{
"RaifApiAuthorization": [],
"RaifApiIdToken": []
}
],
"servers": [
{
"url": "https://api.raiffeisen.ru/arrests"
}
],
"summary": "Получить аресты пользователя",
"tags": [
"Arrests API v1"
]
}POST /v1/sum — Получить суммы арестов
Возвращает суммы арестов по счетам, доступным текущему пользователю
{
"description": "Возвращает суммы арестов по счетам, доступным текущему пользователю",
"operationId": "getArrestSums",
"parameters": [
{
"$ref": "#/components/parameters/AuthorizationHeader"
},
{
"$ref": "#/components/parameters/IdTokenHeader"
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"accounts": [
"40702810900000000001"
],
"arrestStatus": "ARREST",
"cnums": [
"QATA3B"
]
},
"schema": {
"$ref": "#/components/schemas/ArrestSumsRequest"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"example": {
"arrests": [
{
"accountNumber": "40702810900000000001",
"blockType": "SUM",
"status": "ARREST",
"totalDebtAmount": 1500.25
}
]
},
"schema": {
"$ref": "#/components/schemas/ArrestSumsResponse"
}
}
},
"description": "Суммы арестов успешно получены"
},
"400": {
"$ref": "#/components/responses/BadRequest"
},
"401": {
"$ref": "#/components/responses/Unauthorized_1"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
},
"security": [
{
"RaifApiAuthorization": [],
"RaifApiIdToken": []
}
],
"servers": [
{
"url": "https://api.raiffeisen.ru/arrests"
}
],
"summary": "Получить суммы арестов",
"tags": [
"Arrests API v1"
]
}Схемы и примеры
{
"parameters": {
"AuthorizationHeader": {
"description": "Токен доступа",
"in": "header",
"name": "Authorization",
"required": true,
"schema": {
"example": "Bearer QXV0aG9yaXphdGlvbiBIZWFkZXIgRm9yIFRlc3Rpbmc=",
"format": "byte",
"type": "string"
}
},
"IdTokenHeader": {
"description": "Идентификационный токен пользователя",
"in": "header",
"name": "Id-Token",
"required": true,
"schema": {
"example": "SUQgVE9LRU4gRk9SIFRFU1RJTkc=",
"format": "byte",
"type": "string"
}
}
},
"responses": {
"BadRequest": {
"content": {
"application/json": {
"example": {
"error": {
"code": "VALIDATION_ERROR",
"details": [
{
"code": "MIN_VALUE",
"message": "Значение должно быть больше нуля",
"param": "body.paging.limit"
}
],
"message": "Переданы некорректные данные"
}
},
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
},
"description": "Переданы некорректные данные"
},
"InternalError": {
"description": "Внутренняя ошибка"
},
"Unauthorized_1": {
"description": "Аутентификация не пройдена"
}
},
"schemas": {
"ApiError": {
"description": "Информация об ошибке",
"example": {
"code": "VALIDATION_ERROR",
"details": [
{
"code": "MIN_VALUE",
"message": "Значение должно быть больше нуля",
"param": "body.paging.limit"
}
],
"message": "Переданы некорректные данные"
},
"properties": {
"code": {
"description": "Машиночитаемый код ошибки",
"example": "VALIDATION_ERROR",
"type": "string"
},
"details": {
"description": "Детали ошибок валидации",
"example": [
{
"code": "MIN_VALUE",
"message": "Значение должно быть больше нуля",
"param": "body.paging.limit"
}
],
"items": {
"$ref": "#/components/schemas/ErrorDetail"
},
"nullable": true,
"type": "array"
},
"message": {
"description": "Человекочитаемое описание ошибки",
"example": "Переданы некорректные данные",
"type": "string"
}
},
"required": [
"code",
"message"
],
"type": "object"
},
"ArrestAccountResponse": {
"description": "Счет, по которому был исполнен арест или отмена",
"example": {
"accountCurrency": "643",
"accountCurrencyCode": "RUB",
"accountNumber": "40702810900000000001",
"addedAt": "2026-11-30",
"amount": 1500.25,
"canceledAt": null
},
"properties": {
"accountCurrency": {
"description": "Валюта счета в цифровом представлении",
"example": "643",
"type": "string"
},
"accountCurrencyCode": {
"description": "Код валюты счета ISO 4217",
"example": "RUB",
"nullable": true,
"pattern": "^[A-Z]{3}$",
"type": "string"
},
"accountNumber": {
"description": "Номер счета",
"example": "40702810900000000001",
"type": "string"
},
"addedAt": {
"description": "Дата добавления блокировки",
"example": "2026-11-30",
"format": "date",
"nullable": true,
"type": "string"
},
"amount": {
"description": "Сумма ареста",
"example": 1500.25,
"nullable": true,
"type": "number"
},
"canceledAt": {
"description": "Дата снятия блокировки",
"example": "2026-12-01",
"format": "date",
"nullable": true,
"type": "string"
}
},
"required": [
"accountNumber",
"accountCurrency"
],
"type": "object"
},
"ArrestBlockType": {
"description": "Тип ареста",
"enum": [
"SUM",
"DEBIT",
"CREDIT",
"DEBIT_CREDIT"
],
"example": "SUM",
"type": "string"
},
"ArrestFilterRequest": {
"description": "Фильтр списка арестов",
"example": {
"cnums": [
"QATA3B"
],
"status": "ARREST"
},
"properties": {
"cnums": {
"description": "CNUM клиентов",
"example": [
"QATA3B"
],
"items": {
"example": "QATA3B",
"format": "cnum",
"type": "string"
},
"type": "array"
},
"status": {
"$ref": "#/components/schemas/ArrestStatus"
}
},
"type": "object"
},
"ArrestQueryRequest": {
"description": "Запрос страницы арестов",
"example": {
"filter": {
"cnums": [
"QATA3B"
],
"status": "ARREST"
},
"paging": {
"limit": 10,
"offset": 0
}
},
"properties": {
"filter": {
"$ref": "#/components/schemas/ArrestFilterRequest"
},
"paging": {
"$ref": "#/components/schemas/PagingRequest"
}
},
"required": [
"paging"
],
"type": "object"
},
"ArrestQueryResponse": {
"description": "Ответ со страницей арестов",
"example": {
"arrests": [
{
"accounts": [
{
"accountCurrency": "643",
"accountCurrencyCode": "RUB",
"accountNumber": "40702810900000000001",
"addedAt": "2026-11-30",
"amount": 1500.25,
"canceledAt": null
}
],
"blockType": "SUM",
"cnum": "QATA3B",
"date": "2026-11-30",
"id": "8ad369c0-68b4-4cd2-b78b-413d53ad1e82",
"institution": "ФССП России",
"institutionCode": "77001",
"number": "12345/26/77001-ИП",
"reasonDetails": "Исполнительное производство №12345/26/77001-ИП",
"reorganizationInfo": {
"isReorganized": false,
"previousArrestNumber": null
},
"status": "ARREST",
"totalAmount": 1500.25
}
],
"paging": {
"limit": 10,
"offset": 0
}
},
"properties": {
"arrests": {
"description": "Аресты",
"example": [
{
"accounts": [
{
"accountCurrency": "643",
"accountCurrencyCode": "RUB",
"accountNumber": "40702810900000000001",
"addedAt": "2026-11-30",
"amount": 1500.25,
"canceledAt": null
}
],
"blockType": "SUM",
"cnum": "QATA3B",
"date": "2026-11-30",
"id": "8ad369c0-68b4-4cd2-b78b-413d53ad1e82",
"institution": "ФССП России",
"institutionCode": "77001",
"number": "12345/26/77001-ИП",
"reasonDetails": "Исполнительное производство №12345/26/77001-ИП",
"reorganizationInfo": {
"isReorganized": false,
"previousArrestNumber": null
},
"status": "ARREST",
"totalAmount": 1500.25
}
],
"items": {
"$ref": "#/components/schemas/ArrestResponse"
},
"type": "array"
},
"paging": {
"$ref": "#/components/schemas/PagingResponse"
}
},
"required": [
"arrests",
"paging"
],
"type": "object"
},
"ArrestReorganizationResponse": {
"description": "Информация по реорганизации ареста",
"example": {
"isReorganized": false,
"previousArrestNumber": null
},
"properties": {
"isReorganized": {
"description": "Признак реорганизации",
"example": false,
"type": "boolean"
},
"previousArrestNumber": {
"description": "Номер ареста до реорганизации",
"example": "12344/26/77001-ИП",
"nullable": true,
"type": "string"
}
},
"required": [
"isReorganized"
],
"type": "object"
},
"ArrestResponse": {
"description": "Арест",
"example": {
"accounts": [
{
"accountCurrency": "643",
"accountCurrencyCode": "RUB",
"accountNumber": "40702810900000000001",
"addedAt": "2026-11-30",
"amount": 1500.25,
"canceledAt": null
}
],
"blockType": "SUM",
"cnum": "QATA3B",
"date": "2026-11-30",
"id": "8ad369c0-68b4-4cd2-b78b-413d53ad1e82",
"institution": "ФССП России",
"institutionCode": "77001",
"number": "12345/26/77001-ИП",
"reasonDetails": "Исполнительное производство №12345/26/77001-ИП",
"reorganizationInfo": {
"isReorganized": false,
"previousArrestNumber": null
},
"status": "ARREST",
"totalAmount": 1500.25
},
"properties": {
"accounts": {
"description": "Счета, по которым был исполнен арест или отмена",
"items": {
"$ref": "#/components/schemas/ArrestAccountResponse"
},
"type": "array"
},
"blockType": {
"$ref": "#/components/schemas/ArrestBlockType"
},
"cnum": {
"description": "CNUM клиента",
"example": "QATA3B",
"format": "cnum",
"type": "string"
},
"date": {
"description": "Дата документа, по причине которого поставлен арест",
"example": "2026-11-30",
"format": "date",
"type": "string"
},
"id": {
"description": "ID ареста",
"example": "8ad369c0-68b4-4cd2-b78b-413d53ad1e82",
"format": "uuid",
"type": "string"
},
"institution": {
"description": "Наименование органа, поставившего арест",
"example": "ФССП России",
"type": "string"
},
"institutionCode": {
"description": "Код органа, поставившего арест",
"example": "77001",
"nullable": true,
"type": "string"
},
"number": {
"description": "Номер документа, по причине которого поставлен арест",
"example": "12345/26/77001-ИП",
"type": "string"
},
"reasonDetails": {
"description": "Детальное обоснование ареста",
"example": "Исполнительное производство №12345/26/77001-ИП",
"type": "string"
},
"reorganizationInfo": {
"$ref": "#/components/schemas/ArrestReorganizationResponse"
},
"status": {
"$ref": "#/components/schemas/ArrestStatus"
},
"totalAmount": {
"description": "Полная сумма ареста",
"example": 1500.25,
"nullable": true,
"type": "number"
}
},
"required": [
"id",
"number",
"date",
"blockType",
"institution",
"reasonDetails",
"status",
"cnum",
"accounts",
"reorganizationInfo"
],
"type": "object"
},
"ArrestStatus": {
"description": "Статус ареста",
"enum": [
"CANCEL",
"ARREST",
"DELETE"
],
"example": "ARREST",
"type": "string"
},
"ArrestSumItemResponse": {
"description": "Сумма арестов по счету",
"example": {
"accountNumber": "40702810900000000001",
"blockType": "SUM",
"status": "ARREST",
"totalDebtAmount": 1500.25
},
"properties": {
"accountNumber": {
"description": "Номер счета",
"example": "40702810900000000001",
"type": "string"
},
"blockType": {
"$ref": "#/components/schemas/ArrestBlockType"
},
"status": {
"$ref": "#/components/schemas/ArrestStatus"
},
"totalDebtAmount": {
"description": "Общая сумма всех арестов по счету",
"example": 1500.25,
"nullable": true,
"type": "number"
}
},
"required": [
"accountNumber",
"status",
"blockType"
],
"type": "object"
},
"ArrestSumsRequest": {
"description": "Запрос сумм арестов по счетам",
"example": {
"accounts": [
"40702810900000000001"
],
"arrestStatus": "ARREST",
"cnums": [
"QATA3B"
]
},
"properties": {
"accounts": {
"description": "Номера счетов",
"example": [
"40702810900000000001"
],
"items": {
"example": "40702810900000000001",
"type": "string"
},
"type": "array",
"uniqueItems": true
},
"arrestStatus": {
"$ref": "#/components/schemas/ArrestStatus"
},
"cnums": {
"description": "CNUM клиентов",
"example": [
"QATA3B"
],
"items": {
"example": "QATA3B",
"format": "cnum",
"type": "string"
},
"type": "array",
"uniqueItems": true
}
},
"type": "object"
},
"ArrestSumsResponse": {
"description": "Ответ с суммами арестов по счетам",
"example": {
"arrests": [
{
"accountNumber": "40702810900000000001",
"blockType": "SUM",
"status": "ARREST",
"totalDebtAmount": 1500.25
}
]
},
"properties": {
"arrests": {
"description": "Суммы арестов по счетам",
"example": [
{
"accountNumber": "40702810900000000001",
"blockType": "SUM",
"status": "ARREST",
"totalDebtAmount": 1500.25
}
],
"items": {
"$ref": "#/components/schemas/ArrestSumItemResponse"
},
"type": "array"
}
},
"required": [
"arrests"
],
"type": "object"
},
"ErrorDetail": {
"description": "Детальная информация об ошибке валидации",
"example": {
"code": "MIN_VALUE",
"message": "Значение должно быть больше нуля",
"param": "body.paging.limit"
},
"properties": {
"code": {
"description": "Уточняющий код ошибки",
"example": "MIN_VALUE",
"nullable": true,
"type": "string"
},
"message": {
"description": "Описание ошибки",
"example": "Значение должно быть больше нуля",
"type": "string"
},
"param": {
"description": "Путь к некорректному параметру",
"example": "body.paging.limit",
"type": "string"
}
},
"required": [
"param",
"message"
],
"type": "object"
},
"ErrorResponse": {
"description": "Ответ с ошибкой",
"example": {
"error": {
"code": "VALIDATION_ERROR",
"details": [
{
"code": "MIN_VALUE",
"message": "Значение должно быть больше нуля",
"param": "body.paging.limit"
}
],
"message": "Переданы некорректные данные"
}
},
"properties": {
"error": {
"$ref": "#/components/schemas/ApiError"
}
},
"required": [
"error"
],
"type": "object"
},
"PagingRequest": {
"description": "Параметры offset-пагинации",
"example": {
"limit": 10,
"offset": 0
},
"properties": {
"limit": {
"default": 10,
"description": "Максимальное количество элементов",
"example": 10,
"format": "int32",
"minimum": 1,
"type": "integer"
},
"offset": {
"default": 0,
"description": "Смещение от начала списка",
"example": 0,
"format": "int32",
"minimum": 0,
"type": "integer"
}
},
"required": [
"offset",
"limit"
],
"type": "object"
},
"PagingResponse": {
"description": "Метаданные offset-пагинации",
"example": {
"limit": 10,
"offset": 0
},
"properties": {
"limit": {
"description": "Запрошенное максимальное количество элементов",
"example": 10,
"format": "int32",
"minimum": 1,
"type": "integer"
},
"offset": {
"description": "Смещение от начала списка",
"example": 0,
"format": "int32",
"minimum": 0,
"type": "integer"
}
},
"required": [
"offset",
"limit"
],
"type": "object"
}
},
"securitySchemes": {
"RaifApiAuthorization": {
"scheme": "bearer",
"type": "http"
},
"RaifApiIdToken": {
"in": "header",
"name": "Id-Token",
"type": "apiKey"
}
}
}