> ## 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 निर्णय साफ़ करने का API: Travel Rule

> Didit में अपने एप्लिकेशन का Travel Rule प्रतिपक्ष VASP निर्णय साफ़ करें; इसके बाद इकाई अपने ब्रांड के निर्णय का फिर से पालन करती है।



VASP निर्णय API प्रॉम्प्ट साफ़ करें
        प्रॉम्प्ट को क्लिपबोर्ड पर कॉपी करें



      
      

\<pre>

\`Clear my application's own decision on a Travel Rule counterparty VASP.

Endpoint:
DELETE https://verification.didit.me/v3/travel-rule/vasps/{vasp_id}/decision/

Authentication:
Use the x-api-key header with my Didit API key. No request body.

What happens:
\- 200 with {"decision": ...}: the decision that applies once mine is cleared. That is null, or for an entity of a brand the brand's decision, which the entity follows again (inherited_from names the brand).
\- Transactions my rules evaluate afterwards read the new counterparty_dd_status.

Failure modes:
\- 404 - no directory entry or listed Didit network member has this id, or my application has no decision of its own on it. A decision the entity only follows from its brand is cleared on the brand.

Full guide: /transaction-monitoring/travel-rule#your-decision-on-a-counterparty.`

\</pre>



      
      

यहाँ पेस्ट करें



## OpenAPI

````yaml hi/openapi-25.json DELETE /v3/travel-rule/vasps/{vasp_id}/decision/
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/vasps/{vasp_id}/decision/:
    delete:
      tags:
        - Travel Rule
      summary: VASP पर अपने निर्णय को हटाएँ
      description: >-
        किसी प्रतिपक्ष पर अपने एप्लिकेशन के निर्णय को हटाएँ। रिस्पॉन्स वह निर्णय
        दिखाता है जो इसके बाद लागू होता है: null, या किसी ब्रांड की इकाई के लिए
        ब्रांड का निर्णय, जिसका वह इकाई फिर से पालन करती है।
      operationId: clearTravelRuleVaspDecision
      parameters:
        - name: vasp_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: >-
            GET /v3/travel-rule/vasps/ की एक पंक्ति की id: एक डायरेक्टरी
            प्रविष्टि या Didit नेटवर्क सदस्य।
      responses:
        '200':
          description: निर्णय हटा दिया गया; बॉडी वह निर्णय दिखाती है जो अब लागू होता है।
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TravelRuleCounterpartyDecisionResponse'
              example:
                decision: null
        '404':
          description: >-
            किसी भी प्रतिपक्ष की यह id नहीं है, या आपके एप्लिकेशन का इस पर अपना
            कोई निर्णय नहीं है (वह निर्णय जिसे यह केवल अपने ब्रांड से इनहेरिट
            करता है, उसे यहाँ साफ़ नहीं किया जा सकता: ब्रांड के निर्णय को साफ़
            करें)।
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              examples:
                Unknown id:
                  value:
                    detail: No directory entry or Didit network member has this id.
                No decision of its own:
                  value:
                    detail: >-
                      This application has no decision of its own on this
                      counterparty.
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X DELETE
            https://verification.didit.me/v3/travel-rule/vasps/{vasp_id}/decision/
            \
              -H 'x-api-key: YOUR_API_KEY'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY.
            client = Didit()

            result = client.travel_rule.clear_vasp_decision(
                "11111111-2222-3333-4444-555555555555",
            )
            print(result)
        - lang: javascript
          label: Node.js
          source: >-
            import Didit from "@didit-protocol/sdk-node";


            // Reads DIDIT_API_KEY.

            const didit = new Didit();


            const result = await
            didit.travelRule.clearVaspDecision("11111111-2222-3333-4444-555555555555");

            console.log(result);
        - lang: go
          label: Go
          source: "ctx := context.Background()\n// Reads DIDIT_API_KEY.\nclient := didit.NewClient()\n\nresult, err := client.TravelRule.ClearVASPDecision(ctx, \"11111111-2222-3333-4444-555555555555\")\nif err != nil {\n\tlog.Fatal(err)\n}\nfmt.Printf(\"%+v\\n\", result)"
        - lang: java
          label: Java
          source: >-
            import me.didit.Didit;


            // Reads DIDIT_API_KEY.

            Didit client = new Didit();


            var result =
            client.travelRule().clearVaspDecision("11111111-2222-3333-4444-555555555555");

            System.out.println(result);
        - lang: php
          label: PHP
          source: >-
            <?php


            require 'vendor/autoload.php';


            use Didit\DiditClient;


            // Reads DIDIT_API_KEY.

            $didit = new DiditClient();


            $result =
            $didit->travelRule->clearVaspDecision('11111111-2222-3333-4444-555555555555');

            print_r($result->toArray());
        - lang: ruby
          label: Ruby
          source: >-
            require "didit"


            # Reads DIDIT_API_KEY.

            didit = Didit::Client.new


            result =
            didit.travel_rule.clear_vasp_decision("11111111-2222-3333-4444-555555555555")

            puts result.to_h
        - lang: csharp
          label: .NET
          source: >-
            using System;

            using System.Text.Json;

            using Didit;


            // Reads DIDIT_API_KEY.

            using var client = new DiditClient();


            var result = await
            client.TravelRule.ClearVaspDecisionAsync("11111111-2222-3333-4444-555555555555");

            Console.WriteLine(JsonSerializer.Serialize(result));
components:
  schemas:
    TravelRuleCounterpartyDecisionResponse:
      type: object
      properties:
        decision:
          allOf:
            - $ref: '#/components/schemas/TravelRuleCounterpartyDecision'
          nullable: true
          description: >-
            आपके एप्लिकेशन के लिए प्रतिपक्ष पर लागू होने वाला निर्णय: इसका अपना,
            अन्यथा (किसी ब्रांड की इकाई के लिए) ब्रांड का। कुछ न होने पर null।
    TravelRuleCounterpartyDecision:
      type: object
      description: >-
        किसी प्रतिपक्ष VASP पर आपकी एप्लिकेशन का निर्णय। आपकी एप्लिकेशन के लिए
        निजी: यह साझा डायरेक्टरी प्रविष्टि को कभी नहीं बदलता है और दूसरा ग्राहक
        इसे कभी नहीं देखता है। यह केवल आपके लेन-देन नियमों
        (counterparty_dd_status नियम फ़ील्ड और travel-rule-counterparty-blocked
        तथा travel-rule-counterparty-restricted प्रीसेट) के माध्यम से कार्य करता
        है; यह ट्रांसफ़र को रूट करने के तरीके को कभी नहीं बदलता है।
      properties:
        decision:
          type: string
          enum:
            - APPROVED
            - RESTRICTED
            - BLOCKED
          description: >-
            APPROVED: आपकी टीम ने प्रतिपक्ष को मंज़ूरी दे दी है। RESTRICTED:
            समीक्षा के बाद इसमें ट्रांसफ़र आगे बढ़ सकते हैं। BLOCKED: आपकी टीम
            ने इसे अस्वीकार कर दिया है।
        reason:
          type: string
          maxLength: 255
          description: आपके द्वारा दिया गया मुक्त-पाठ कारण, कोई न होने पर खाली।
        decided_by:
          type: string
          description: >-
            कंसोल उपयोगकर्ता जिसने निर्णय लिया या अंतिम बार बदला। जब इसे किसी
            API कुंजी द्वारा लिया गया हो, तब यह रिक्त होता है।
        updated_at:
          type: string
          format: date-time
        inherited_from:
          type: object
          nullable: true
          description: >-
            वह ब्रांड जिसके निर्णय का यह इकाई पालन करती है क्योंकि आपने इकाई पर
            स्वयं कोई निर्णय नहीं लिया है। जब निर्णय प्रतिपक्ष का अपना होता है
            तो Null होता है।
          properties:
            id:
              type: string
              format: uuid
            name:
              type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        आपकी एप्लिकेशन की API कुंजी, Business Console में Developers -> API keys
        से। प्राथमिक कुंजी के पास पूर्ण एक्सेस होता है। एक नामित कुंजी को स्कोप
        किया जा सकता है: प्रति संसाधन none, read या write, कुछ वर्कफ़्लो या
        स्वीकृत सत्रों तक सीमित, IP पतों की सूची तक सीमित, और समाप्ति तिथि तक
        सीमित। 401 का अर्थ है कि कुंजी गलत है, निरस्त कर दी गई है या उसकी
        समय-सीमा समाप्त हो गई है; 403 का अर्थ है कि कोई कुंजी नहीं भेजी गई थी,
        कुंजी के पास इस संसाधन या कार्रवाई का एक्सेस नहीं है, या अनुरोध उसकी IP
        सूची से बाहर के पते से आया था; सत्र रूट पर 404 का अर्थ है कि सत्र कुंजी
        के वर्कफ़्लो या स्थितियों से बाहर है। मीडिया एक्सेस के बिना एक कुंजी को
        छवि, वीडियो और PDF URL null के रूप में प्राप्त होते हैं, और सत्र write
        के बिना एक कुंजी को सत्र लिंक और token null के रूप में प्राप्त होते हैं।
        देखें https://docs.didit.me/console/api-keys।

````

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