> ## Documentation Index
> Fetch the complete documentation index at: https://exchanger-api.iexexchanger.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Отправить данные проверки по заявке

> Передайте данные для проверки по заявке текущего клиента.

[English version](https://exchanger-api.iexexchanger.com/en/api-reference/verifications/post-private-exchange-orders-by-order-verifications-submit.md)

[Подпишите запрос HMAC v2](https://exchanger-api.iexexchanger.com/start/authentication.md). Требуется право `public-api:verifications:write`. Принимает заголовок `Idempotency-Key`.

Передайте хотя бы один заполненный объект `identity` или `card`. Объект `card` требует `card_number` и `file_intent`. Дополнительные фото можно передать только если это разрешено настройками проверки карты.

HTTP-пример содержит тестовые значения. Подставьте идентификаторы вашей тестовой установки и подпишите фактически отправляемые данные.

### Связанные методы

* [Проверить требования по заявке](https://exchanger-api.iexexchanger.com/api-reference/проверки/get-private-exchange-orders-by-order-verifications.md)
* [Загрузить файл для проверки](https://exchanger-api.iexexchanger.com/api-reference/файлы/post-private-files-upload-intents-by-intent-commit.md)

```http Шаблон HTTP-запроса
POST /api/v3/private/exchange/orders/{order}/verifications/submit HTTP/1.1
Host: your-exchange
Accept: application/json
Authorization: Bearer <token>
X-Api-Signature-Version: v2
X-Api-Timestamp: <unix_timestamp>
X-Api-Nonce: <nonce>
X-Api-Signature: sha256=<hex_digest>
Idempotency-Key: <idempotency_key>
Content-Type: application/json

{
    "identity": {
        "fields": {
            "full_name": "Synthetic applicant"
        },
        "file_intents_by_field": {
            "proof": [
                "00000000-0000-4000-8000-000000000001"
            ]
        }
    }
}
```


## OpenAPI

````yaml /openapi/openapi.ru.yaml post /private/exchange/orders/{order}/verifications/submit
openapi: 3.1.0
info:
  title: Публичный API iEXExchanger
  version: 4.0.0
  description: >-
    API для работы с данными клиента, направлениями обмена, заявками, вебхуками
    и партнёрскими выплатами.


    Начните с GET /ping для проверки доступности и GET /private/scopes для

    просмотра каталога прав API. Для приватных операций нужны токен Sanctum в

    Authorization: Bearer <token> и подпись HMAC v2. Передавайте

    X-Api-Signature-Version со значением v2 вместе с X-Api-Timestamp,

    X-Api-Nonce и X-Api-Signature. Для создания партнёрской выплаты также нужен

    Idempotency-Key. Если операция перечисляет права в x-required-scopes,

    достаточно одного из этих прав.


    Непустое тело HMAC-запроса передавайте как application/json или
    application/*+json. Multipart поддерживается операциями загрузки файлов
    верификации, файлов полей заявки и чеков. Передавайте ровно одно поле-файл
    file. Лимит JSON по умолчанию составляет 1 MiB. При превышении лимита
    установки API возвращает HTTP 413. URL-encoded тела подписанного запроса и
    неоднозначные типы содержимого возвращают invalid_signature.


    Все ответы JSON имеют общую оболочку: state=0 означает успех, state=1 —
    ошибку. Поле error.code содержит стабильный код ошибки для программы. Списки
    поддерживают постраничную навигацию, а некоторые — курсор для больших
    выборок. При повторе изменяющего запроса с тем же телом используйте прежний
    Idempotency-Key.

    Повтор операции управления вебхуком с сохранённым результатом снятого

    протокола возвращает HTTP 409 с protocol_retired в error.details.reason.

    Запрос с неподдерживаемой версией тела вебхука возвращает HTTP 422.


    Английский контракт находится в openapi.yaml, русская версия в
    openapi.ru.yaml.

    Пути, имена полей, значения enum и коды ошибок одинаковы в обоих файлах.

    Тела примеров используют одни и те же данные песочницы. Сервер переводит
    текст сообщений по локали запроса.

    Код 401 указывает на отсутствие или недействительность проверки токена или
    подписи. Код 403 указывает на запрет доступа. Код 429 сообщает о частотном
    лимите или квоте. Код 503 сообщает о недоступности API или сайта.
servers:
  - url: /api/v3
security:
  - sanctumBearer: []
    apiTimestamp: []
    apiNonce: []
    apiSignature: []
tags:
  - name: Система
    description: Проверка доступности.
  - name: Клиент
    description: Профиль и заявки авторизованного клиента.
  - name: Заявки
    description: Списки заявок, статусы, доступные действия и подтверждение оплаты.
  - name: Обмен
    description: Платёжные системы, направления, расчёты и заявки на обмен.
  - name: Файлы
    description: Одноразовые разрешения на загрузку файлов для проверки.
  - name: Проверки
    description: Требования и отправка данных для проверки личности и карты.
  - name: Песочница
    description: Проверка сценария создания заявки без её сохранения.
  - name: Отзывы
    description: Просмотр опубликованных отзывов и отправка отзыва по своей заявке.
  - name: Партнёр
    description: Партнёрская статистика, привлечённые клиенты, обмены и выплаты.
  - name: Платформа
    description: Версии контрактов, JSON-схемы и использование API.
  - name: Вебхуки
    description: Регистрация адресов вебхуков, просмотр событий и попыток доставки.
  - name: Безопасность
    description: Права ключей и требования безопасности запросов.
paths:
  /private/exchange/orders/{order}/verifications/submit:
    post:
      tags:
        - Проверки
      summary: Отправить данные проверки по заявке
      description: Передайте данные для проверки по заявке текущего клиента.
      operationId: postPrivateExchangeOrdersByOrderVerificationsSubmit
      parameters:
        - $ref: '#/components/parameters/SignatureVersion'
        - name: order
          in: path
          required: true
          schema:
            type: string
          description: >-
            Идентификатор заявки текущего клиента. Возьмите его из ответа о
            создании или списка заявок.
        - $ref: '#/components/parameters/IdempotencyKey'
        - $ref: '#/components/parameters/CorrelationId'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrderVerificationSubmitRequest'
            examples:
              testInput:
                summary: Тестовые данные
                value:
                  identity:
                    fields:
                      full_name: Synthetic applicant
                    file_intents_by_field:
                      proof:
                        - 00000000-0000-4000-8000-000000000001
      responses:
        '200':
          $ref: '#/components/responses/OrderVerificationSubmitResult'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/Error'
        '422':
          $ref: '#/components/responses/Error'
        default:
          $ref: '#/components/responses/Error'
      security:
        - sanctumBearer: []
          apiTimestamp: []
          apiNonce: []
          apiSignature: []
components:
  parameters:
    SignatureVersion:
      name: X-Api-Signature-Version
      in: header
      required: true
      description: >-
        Обязательная версия подписи запроса. Укажите v2 первой строкой
        канонического представления. Восьмой строкой добавьте Idempotency-Key
        без крайних пробелов или пустую строку при отсутствии ключа.
        Подписывайте исходные значения разобранного query.
      schema:
        type: string
        const: v2
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      schema:
        type: string
        minLength: 8
        maxLength: 191
        pattern: ^[A-Za-z0-9._:-]{8,191}$
      description: >-
        Обычное окно повторов по умолчанию составляет 24 часа. Для успешного
        создания заявки, загрузки чека и партнёрской выплаты сохраняется
        долговечная квитанция.
    CorrelationId:
      name: X-Correlation-Id
      in: header
      required: false
      schema:
        type: string
        maxLength: 128
      description: Идентификатор клиента для связи API-запроса с событиями вебхуков.
  schemas:
    OrderVerificationSubmitRequest:
      type: object
      properties:
        identity:
          anyOf:
            - $ref: '#/components/schemas/IdentityVerificationCreateRequest'
            - type: 'null'
        card:
          anyOf:
            - $ref: '#/components/schemas/CardVerificationCreateRequest'
            - type: 'null'
      anyOf:
        - required:
            - identity
          properties:
            identity:
              type: object
              minProperties: 1
        - required:
            - card
          properties:
            card:
              type: object
              minProperties: 1
    IdentityVerificationCreateRequest:
      type: object
      description: >-
        Передайте значения и намерения загрузки по ключам опубликованной формы.
        Прежние поля full_name и file_intents принимаются, когда соответствуют
        форме.
      properties:
        fields:
          type: object
          maxProperties: 80
          additionalProperties:
            type:
              - string
              - number
              - boolean
              - array
              - 'null'
        file_intents_by_field:
          type: object
          maxProperties: 30
          additionalProperties:
            type: array
            maxItems: 10
            uniqueItems: true
            items:
              type: string
              format: uuid
        full_name:
          type:
            - string
            - 'null'
          maxLength: 255
        file_intents:
          type: array
          minItems: 1
          maxItems: 2
          uniqueItems: true
          items:
            type: string
            format: uuid
    CardVerificationCreateRequest:
      type: object
      required:
        - card_number
        - file_intent
      properties:
        order:
          type:
            - string
            - 'null'
          maxLength: 128
        order_id:
          type:
            - string
            - 'null'
          maxLength: 128
        currency_id:
          type:
            - integer
            - 'null'
        card_number:
          type: string
          maxLength: 255
        name:
          type:
            - string
            - 'null'
          maxLength: 255
        file_intent:
          type: string
          format: uuid
        additional_file_intents:
          type: array
          description: >-
            Дополнительные фото карты; принимаются только если включены в
            настройках проверки.
          maxItems: 5
          uniqueItems: true
          items:
            type: string
            format: uuid
    SuccessEnvelope:
      type: object
      required:
        - state
        - message
        - result
        - meta
      properties:
        state:
          type: integer
          enum:
            - 0
        message:
          type: string
        result: {}
        meta:
          $ref: '#/components/schemas/Meta'
    IdentityVerification:
      type: object
      required:
        - id
        - uuid
        - purpose
        - status
        - review
        - created_at
        - updated_at
      properties:
        id:
          type: integer
        uuid:
          type:
            - string
            - 'null'
          description: Непрозрачный публичный идентификатор проверки.
        source:
          const: manual_kyc
        purpose:
          type: string
        full_name:
          type:
            - string
            - 'null'
        files:
          type: array
          items:
            type: string
        status:
          $ref: '#/components/schemas/VerificationStatus'
        review:
          type: object
          required:
            - reason
            - comment
            - reviewed_at
          properties:
            reason:
              type:
                - string
                - 'null'
            comment:
              type:
                - string
                - 'null'
            reviewed_at:
              type:
                - string
                - 'null'
              format: date-time
        created_at:
          type:
            - string
            - 'null'
          format: date-time
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
    CardVerification:
      type: object
      required:
        - id
        - card_mask
        - status
        - file
        - additional_files
      properties:
        id:
          type: integer
        uuid:
          type:
            - string
            - 'null'
        order_id:
          type:
            - integer
            - 'null'
        currency_id:
          type:
            - integer
            - 'null'
        name:
          type:
            - string
            - 'null'
        card_mask:
          type: string
        status:
          $ref: '#/components/schemas/VerificationStatus'
        file:
          $ref: '#/components/schemas/CardVerificationFile'
        additional_files:
          type: array
          items:
            $ref: '#/components/schemas/CardVerificationAdditionalFile'
        message:
          type:
            - string
            - 'null'
        created_at:
          type:
            - string
            - 'null'
          format: date-time
        updated_at:
          type:
            - string
            - 'null'
          format: date-time
    VerificationRequirements:
      type: object
      properties:
        route_id:
          type:
            - integer
            - 'null'
        order:
          type:
            - object
            - 'null'
          additionalProperties: true
        identity:
          type: object
          properties:
            required:
              type: boolean
            mode:
              type:
                - string
                - 'null'
            description:
              type:
                - string
                - 'null'
            current:
              $ref: '#/components/schemas/VerificationStatus'
            create_endpoint:
              type: string
            blocks_payment:
              type: boolean
            can_submit:
              type: boolean
            flow:
              type: string
        card:
          type: object
          properties:
            required:
              type: boolean
            mode:
              type:
                - integer
                - 'null'
            description:
              type:
                - string
                - 'null'
            settings:
              type:
                - object
                - 'null'
              additionalProperties: true
            additional_photos:
              $ref: '#/components/schemas/CardVerificationAdditionalPhotos'
            current:
              $ref: '#/components/schemas/VerificationStatus'
            create_endpoint:
              type: string
            blocks_payment:
              type: boolean
            can_submit:
              type: boolean
        files:
          type:
            - object
            - 'null'
          additionalProperties: true
    ErrorEnvelope:
      type: object
      required:
        - state
        - message
        - code
        - error
        - meta
      properties:
        state:
          type: integer
          enum:
            - 1
        message:
          type: string
        code:
          type: integer
          description: Код состояния HTTP.
        error:
          type: object
          required:
            - code
            - type
            - details
          properties:
            code:
              $ref: '#/components/schemas/ApiErrorCode'
              description: Стабильный машинный код ошибки API.
            type:
              $ref: '#/components/schemas/ApiErrorCode'
              deprecated: true
              description: Совместимый псевдоним поля `error.code`.
            details:
              $ref: '#/components/schemas/ApiErrorDetails'
        meta:
          $ref: '#/components/schemas/Meta'
    Meta:
      type: object
      required:
        - request_id
        - correlation_id
        - timestamp
      properties:
        request_id:
          type: string
        correlation_id:
          type: string
        timestamp:
          type: string
          format: date-time
        pagination:
          $ref: '#/components/schemas/Pagination'
        filters:
          oneOf:
            - type: object
            - type: array
              maxItems: 0
              items: {}
        sort:
          type: array
          items:
            type: string
        summary:
          anyOf:
            - $ref: '#/components/schemas/PartnerExchangeListSummary'
            - $ref: '#/components/schemas/PartnerPayoutListSummary'
    VerificationStatus:
      type: object
      required:
        - key
        - label
        - is_final_approved
      properties:
        id:
          type:
            - integer
            - 'null'
        key:
          type: string
          enum:
            - not_submitted
            - pending
            - approved
            - rejected
        label:
          type: string
        is_final_approved:
          type: boolean
        verification_id:
          type:
            - integer
            - 'null'
        verification_uuid:
          type: string
          description: Непрозрачный публичный идентификатор проверки.
    CardVerificationFile:
      type: object
      required:
        - image
        - preview
      properties:
        image:
          type:
            - string
            - 'null'
        preview:
          type:
            - string
            - 'null'
    CardVerificationAdditionalFile:
      allOf:
        - $ref: '#/components/schemas/CardVerificationFile'
        - type: object
          properties:
            original_name:
              type:
                - string
                - 'null'
            mime:
              type:
                - string
                - 'null'
            size:
              type:
                - integer
                - 'null'
              minimum: 0
    CardVerificationAdditionalPhotos:
      type: object
      required:
        - enabled
        - max_count
        - max_file_size_mb
        - accepted_mime_types
      properties:
        enabled:
          type: boolean
        max_count:
          type: integer
          minimum: 1
          maximum: 5
        max_file_size_mb:
          type: integer
          minimum: 1
          maximum: 10
        accepted_mime_types:
          type: array
          items:
            type: string
            enum:
              - image/jpeg
              - image/png
    ApiErrorCode:
      type: string
      enum:
        - authentication_required
        - api_token_required
        - api_disabled
        - site_maintenance
        - api_user_disabled
        - account_banned
        - verification_protection
        - api_admin_account_denied
        - ip_not_allowed
        - scope_denied
        - rate_limit_exceeded
        - signature_required
        - invalid_signature
        - signature_expired
        - signature_replay
        - not_found
        - method_not_allowed
        - validation_failed
        - invalid_filter
        - invalid_cursor
        - invalid_scope
        - token_not_found
        - token_inactive
        - quota_exceeded
        - idempotency_conflict
        - idempotency_in_progress
        - invalid_idempotency_key
        - webhook_endpoint_limit_exceeded
        - webhook_endpoint_not_found
        - http_error
        - server_error
    ApiErrorDetails:
      type:
        - object
        - array
        - 'null'
      maxItems: 0
      items: {}
      properties:
        fields:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
        issues:
          type: array
          items:
            $ref: '#/components/schemas/ApiIssue'
        required_scopes:
          type: array
          items:
            type: string
        retry_after:
          type:
            - integer
            - 'null'
          minimum: 0
        period:
          enum:
            - day
            - month
        limit:
          type:
            - integer
            - 'null'
        used:
          type: integer
        remaining:
          type:
            - integer
            - 'null'
        resets_at:
          type:
            - string
            - 'null'
          format: date-time
        reason:
          type:
            - string
            - 'null'
        is_banned:
          type: boolean
        ends_at:
          type:
            - string
            - 'null'
          format: date-time
        idempotency_key:
          type: string
        message:
          type: string
        cost:
          type:
            - object
            - 'null'
        headers:
          type: array
          items:
            type: string
          description: >-
            Заголовки, нужные для проверки подписи. При ошибке подписи v2 список
            включает X-Api-Signature-Version.
        algorithm:
          type: string
        ip:
          type:
            - string
            - 'null'
        max:
          type: integer
        locked_until:
          type:
            - string
            - 'null'
          format: date-time
        exceeded:
          type: boolean
    Pagination:
      oneOf:
        - $ref: '#/components/schemas/PagePagination'
        - $ref: '#/components/schemas/CursorPagination'
      discriminator:
        propertyName: mode
        mapping:
          page: '#/components/schemas/PagePagination'
          cursor: '#/components/schemas/CursorPagination'
    PartnerExchangeListSummary:
      type: object
      required:
        - total
        - bonus_sum
        - currency
        - confirmed_accruals
        - by_currency
      properties:
        total:
          type: integer
        bonus_sum:
          type: string
        currency:
          type:
            - string
            - 'null'
        confirmed_accruals:
          type: integer
        by_currency:
          type: array
          items:
            $ref: '#/components/schemas/PartnerBonusCurrencySummary'
    PartnerPayoutListSummary:
      type: object
      required:
        - total
        - paid
        - pending
        - rejected
      properties:
        total:
          type: integer
        paid:
          type: integer
        pending:
          type: integer
        rejected:
          type: integer
    ApiIssue:
      type: object
      required:
        - field
        - code
        - message
      properties:
        field:
          type:
            - string
            - 'null'
        code:
          type: string
        message:
          type: string
        severity:
          enum:
            - error
            - warning
            - info
        meta:
          type:
            - object
            - array
    PagePagination:
      type: object
      required:
        - mode
        - current_page
        - per_page
        - total
        - last_page
        - from
        - to
        - has_more
      properties:
        mode:
          const: page
        current_page:
          type: integer
          minimum: 1
        per_page:
          type: integer
          minimum: 1
        total:
          type: integer
          minimum: 0
        last_page:
          type: integer
          minimum: 1
        from:
          type:
            - integer
            - 'null'
        to:
          type:
            - integer
            - 'null'
        has_more:
          type: boolean
    CursorPagination:
      type: object
      required:
        - mode
        - per_page
        - cursor
        - next_cursor
        - has_more
        - sort
      properties:
        mode:
          const: cursor
        per_page:
          type: integer
          minimum: 1
        cursor:
          type:
            - string
            - 'null'
        next_cursor:
          type:
            - string
            - 'null'
        has_more:
          type: boolean
        sort:
          type: array
          items:
            enum:
              - id
              - '-id'
    PartnerBonusCurrencySummary:
      type: object
      required:
        - currency
        - bonus_sum
        - confirmed_accruals
      properties:
        currency:
          type:
            - string
            - 'null'
        bonus_sum:
          type: string
        confirmed_accruals:
          type: integer
  responses:
    OrderVerificationSubmitResult:
      description: Отправленные верификации и актуальные требования.
      content:
        application/json:
          schema:
            allOf:
              - $ref: '#/components/schemas/SuccessEnvelope'
              - type: object
                properties:
                  result:
                    type: object
                    required:
                      - submitted
                      - requirements
                    properties:
                      submitted:
                        type:
                          - object
                          - array
                        properties:
                          identity:
                            $ref: '#/components/schemas/IdentityVerification'
                          card:
                            $ref: '#/components/schemas/CardVerification'
                      requirements:
                        $ref: '#/components/schemas/VerificationRequirements'
    Unauthorized:
      description: >-
        Требуется действительная авторизация для API. Если токен действителен,
        пропуск версии подписи возвращает signature_required, а недопустимая
        версия возвращает invalid_signature.
      headers:
        WWW-Authenticate:
          required: true
          schema:
            type: string
            example: Bearer realm="exchanger-api"
      content:
        application/json:
          examples:
            signatureRequired:
              $ref: '#/components/examples/QuickstartSignatureRequired'
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Error:
      description: Стандартная оболочка ошибки.
      headers:
        Retry-After:
          schema:
            type: string
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  examples:
    QuickstartSignatureRequired:
      summary: Действительный Bearer-токен без обязательных заголовков HMAC
      value:
        state: 1
        message: HMAC signature is required for this API token.
        code: 401
        meta:
          request_id: 1b2e3571-013b-4305-bdcf-1d53bb1cdaee
          correlation_id: 1b2e3571-013b-4305-bdcf-1d53bb1cdaee
          timestamp: '2026-11-21T18:40:40.675585Z'
        error:
          code: signature_required
          type: signature_required
          details:
            headers:
              - X-Api-Timestamp
              - X-Api-Nonce
              - X-Api-Signature
              - X-Api-Signature-Version
            algorithm: hmac-sha256-v2
  securitySchemes:
    sanctumBearer:
      type: http
      scheme: bearer
      bearerFormat: Sanctum
      description: 'Токен Sanctum в заголовке `Authorization: Bearer <token>`.'
    apiTimestamp:
      type: apiKey
      in: header
      name: X-Api-Timestamp
      description: >-
        Положительное число секунд Unix или абсолютное время ISO 8601 с
        секундами, смещением или Z. Допустимо до шести знаков дробной части
        секунды.
    apiNonce:
      type: apiKey
      in: header
      name: X-Api-Nonce
      description: >-
        Одноразовое значение для каждого ключа в пределах окна подписи.
        Используйте от 8 до 128 символов A–Z, a–z, 0–9, точки, подчёркивания,
        двоеточия и дефиса.
    apiSignature:
      type: apiKey
      in: header
      name: X-Api-Signature
      description: >-
        Подпись HMAC-SHA256 в шестнадцатеричном виде; допустим префикс
        `sha256=`.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.