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

# Travel Rule प्रतिपक्ष VASP चयन API

> अंतिम उपयोगकर्ता वह गंतव्य VASP चुनता है जिसे डिस्कवरी नहीं पहचान सकी; Didit इसी से Travel Rule ट्रांसफ़र रूट करता है।



विजेट VASP चयन API प्रॉम्प्ट
        प्रॉम्प्ट को क्लिपबोर्ड पर कॉपी करें



      
      

\<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 hi/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: >-
        विजेट सत्र token-आधारित सार्वजनिक राइट endpoint, किसी 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: '`GET /v3/travel-rule/widget/{token}/vasps/` से VASP का `id`।'
            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` अनुपलब्ध है, या किसी भी लाइव निर्देशिका प्रविष्टि में वह ID
            नहीं है।
          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.