> ## Documentation Index
> Fetch the complete documentation index at: https://docs.didit.me/llms.txt
> Use this file to discover all available pages before exploring further.

# API выбора VASP для виджета: поиск в каталоге Travel Rule

> Поиск VASP по токену, лежащий в основе выбора VASP в виджете кошелька Didit: кто каждый VASP и можно ли с ним связаться.



Промпт API поиска VASP для виджета
        Скопировать промпт в буфер обмена



      
      

\<pre>

\`Search VASPs from a wallet widget session: the VASP picker an end user uses to say which exchange the funds go to.

Endpoint:
GET https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/?search=<term>

Authentication:
None - the widget token in the URL path is the credential. Treat the token as a secret.

Query parameters: the same as GET /v3/travel-rule/vasps/ (search, network, jurisdiction, reachable, kind, limit, offset), answered for the widget's application.

What to read from each result:
\- id, kind, name, lei, jurisdiction, domains - who the VASP is.
\- reachable - whether the application can deliver Travel Rule data to it today.
Routes, contacts and due-diligence fields are not shown to the end user.

Failure modes:
\- 400 - an unknown network or country code.
\- 404 - unknown token.
\- 410 - the session expired.

Full guide: /transaction-monitoring/travel-rule#directory.`

\</pre>



      
      

Вставьте в



## OpenAPI

````yaml ru/openapi-25.json GET /v3/travel-rule/widget/{token}/vasps/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: >-
    API верификации личности. Аутентификация выполняется с помощью заголовка
    x-api-key.
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/travel-rule/widget/{token}/vasps/:
    get:
      tags:
        - Travel Rule
      summary: Поиск VASP через виджет кошелька
      description: >-
        Публичный endpoint на чтение с доступом по токену сессии виджета,
        API-ключ не требуется: селектор VASP для виджета конечного пользователя.
        Тот же поиск и те же фильтры, что и в GET /v3/travel-rule/vasps/ для
        приложения виджета; возвращает только информацию о том, кем является
        каждый VASP и доступен ли он.
      operationId: listTravelRuleWidgetVasps
      parameters:
        - name: token
          in: path
          required: true
          description: Непрозрачный токен сессии, возвращённый при создании сессии виджета.
          schema:
            type: string
        - name: search
          in: query
          schema:
            type: string
            maxLength: 255
          description: >-
            Фрагмент имени или псевдонима (без учёта регистра), точный LEI или
            домен (example.com или URL на нём). Участники сети Didit
            сопоставляются по юридическому наименованию, LEI или домену адреса
            электронной почты комплаенс-отдела.
        - name: network
          in: query
          schema:
            type: string
            enum:
              - GTR
              - TRUST
              - VERIFYVASP
              - SYGNA
              - TRISA
          description: >-
            Только записи справочника, которые в данный момент указаны в
            каталоге участников сети.
        - name: jurisdiction
          in: query
          schema:
            type: string
          description: >-
            Двухбуквенный (alpha-2) или трехбуквенный (alpha-3) код страны по
            стандарту ISO 3166. Для любых других значений возвращается 400.
        - name: reachable
          in: query
          schema:
            type: boolean
          description: >-
            true: только VASP, до которых у вашего приложения есть доступный
            маршрут (включая участников сети Didit). false: только записи
            справочника, недоступные в настоящее время.
        - name: kind
          in: query
          schema:
            type: string
            enum:
              - directory
              - didit
          description: Только записи справочника или только участники сети Didit.
        - name: limit
          in: query
          schema:
            type: integer
            default: 50
            minimum: 1
        - name: offset
          in: query
          schema:
            type: integer
            default: 0
            minimum: 0
      responses:
        '200':
          description: Результаты с пагинацией, отсортированные по названию.
          content:
            application/json:
              schema:
                type: object
                properties:
                  count:
                    type: integer
                  next:
                    type: string
                    nullable: true
                  previous:
                    type: string
                    nullable: true
                  results:
                    type: array
                    items:
                      $ref: '#/components/schemas/VaspDirectoryWidgetEntry'
        '400':
          description: >-
            Недопустимый фильтр: в теле запроса указано каждое поле, например
            неизвестная сеть или код страны.
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
              example:
                jurisdiction:
                  - Use an ISO 3166 alpha-2 or alpha-3 country code.
                network:
                  - '"SWIFT" is not a valid choice.'
        '404':
          description: Неизвестный token.
        '410':
          description: Срок действия сессии истек.
      security:
        - {}
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl
            'https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/?search=counterparty'
components:
  schemas:
    VaspDirectoryWidgetEntry:
      type: object
      description: >-
        Что отображается в окне выбора VASP для конечного пользователя: какой
        это VASP и доступен ли он.
      properties:
        id:
          type: string
          format: uuid
          description: Идентификатор записи для GET /v3/travel-rule/vasps/{vasp_id}/.
        kind:
          type: string
          enum:
            - directory
            - didit
          description: >-
            directory для записи из общего каталога; didit для участника сети
            Didit.
        name:
          type: string
        lei:
          type: string
        jurisdiction:
          type: string
          description: >-
            Код страны ISO 3166 в том виде, в котором его предоставляет
            источник.
        domains:
          type: array
          items:
            type: string
          description: Веб-домены VASP. Всегда пусто для участников сети Didit.
        reachable:
          type: boolean
          description: >-
            Есть ли у вашего приложения доступный маршрут к этому VASP или к
            одному из его юридических лиц для бренда. Всегда true для участника
            сети Didit.

````

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