> ## 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.

# اختيار VASP للطرف المقابل في Widget المحفظة

> نقطة endpoint عامة مرتبطة بـ token تتيح للمستخدم النهائي اختيار VASP المستلِم الذي لم يتمكن الاكتشاف من تحديده في Didit، وتُوجَّه إليه معاملة Travel Rule.



موجّه API لاختيار VASP في الأداة
        نسخ الموجّه إلى الحافظة



      
      

\<pre>

\`Record the destination VASP an end user picked in the wallet widget, for an outbound Travel Rule transfer whose counterparty discovery could not name.

Endpoint:
POST https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/

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

Body:
\{"vasp": "id from GET /v3/travel-rule/widget/{token}/vasps/"}

What happens:
\- The transfer is routed to that VASP and sent again. Automatic discovery never overrides the pick.
\- Allowed only for an outbound transfer in COUNTERPARTY_VASP_NOT_FOUND, COUNTERPARTY_VASP_NOT_REACHABLE, or NOT_ENOUGH_COUNTERPARTY_DATA.

What to read from the response:
\- transfer_status - the transfer status after the pick.
\- counterparty_vasp - the name of the VASP that was picked.

Failure modes:
\- 400 - vasp is missing, or no live directory entry has that id.
\- 404 - unknown token.
\- 409 - the widget session is not linked to a transfer, or the transfer is not in a status that accepts a counterparty.
\- 410 - the session expired.

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

\</pre>



      
      

الصق في



## OpenAPI

````yaml ar/openapi-25.json POST /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/:
    post:
      tags:
        - Travel Rule
      summary: اختر VASP الطرف المقابل في عنصر واجهة المحفظة
      description: >-
        endpoint كتابة عام مفتاحه هو token جلسة عنصر واجهة المستخدم، ولا يتطلب
        أي مفتاح API: اختار المستخدم النهائي جهة VASP المقصودة التي تعذر على
        الاكتشاف التلقائي تحديدها. لا يقبله إلا التحويل الصادر بالحالة
        COUNTERPARTY_VASP_NOT_FOUND أو COUNTERPARTY_VASP_NOT_REACHABLE أو
        NOT_ENOUGH_COUNTERPARTY_DATA. يتم توجيه التحويل إلى VASP هذا وإرساله
        مجدداً؛ ولا يتجاوز الاكتشاف التلقائي هذا الاختيار أبداً.
      operationId: selectTravelRuleWidgetVasp
      parameters:
        - name: token
          in: path
          required: true
          description: token جلسة مبهم يُعاد عند إنشاء جلسة الأداة.
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - vasp
              properties:
                vasp:
                  type: string
                  format: uuid
                  description: >-
                    معرّف `id` الخاص بـ VASP من `GET
                    /v3/travel-rule/widget/{token}/vasps/`.
            example:
              vasp: 9f1c2b34-5d6e-4f70-8a91-b2c3d4e5f607
      responses:
        '200':
          description: تم تسجيل الاختيار وتجري إعادة إرسال التحويل.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  transfer_status:
                    type: string
                    description: حالة التحويل بعد الاختيار.
                  counterparty_vasp:
                    type: string
                    description: اسم VASP الذي اختاره المستخدم النهائي.
              example:
                detail: Counterparty VASP selected; the transfer is being resent.
                transfer_status: AWAITING_COUNTERPARTY
                counterparty_vasp: Northwind Exchange
        '400':
          description: '`vasp` مفقود، أو لا يوجد إدخال نشط في الدليل يحمل هذا المعرّف.'
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
              example:
                vasp:
                  - No directory entry has this id.
        '404':
          description: token غير معروف.
        '409':
          description: >-
            جلسة الأداة غير مرتبطة بتحويل Travel Rule، أو أن التحويل ليس تحويلاً
            صادراً في حالة تقبل طرفاً مقابلاً.
        '410':
          description: انتهت صلاحية الجلسة.
      security:
        - {}
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X POST
            https://verification.didit.me/v3/travel-rule/widget/{token}/vasps/ \
              -H 'Content-Type: application/json' \
              -d '{"vasp": "9f1c2b34-5d6e-4f70-8a91-b2c3d4e5f607"}'

````

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