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

> امسح قرار تطبيقك الخاص بشأن VASP الطرف المقابل في Travel Rule عبر Didit، فيتبع الكيان بعدها قرار علامته التجارية مجددًا.



موجّه API لمسح قرار VASP
        نسخ الموجّه إلى الحافظة



      
      

\<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 ar/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/: مدخل في الدليل أو عضو في
            شبكة Didit.
      responses:
        '200':
          description: تم اعتماد القرار؛ يعرض نص الاستجابة القرار الساري حاليًا.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TravelRuleCounterpartyDecisionResponse'
              example:
                decision: null
        '404':
          description: >-
            لا يوجد طرف مقابل بهذا المعرّف، أو أن تطبيقك ليس لديه قرار خاص به
            بشأنه (القرار الذي يرثه التطبيق فقط من علامته التجارية لا يمكن مسحه
            هنا: امسح قرار العلامة التجارية).
          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 الخاص بتطبيقك، من Developers -> API keys في Business Console.
        يمتلك المفتاح الأساسي وصولاً كاملاً. يمكن تحديد نطاق المفتاح المسمى: لا
        شيء، أو قراءة، أو كتابة لكل مورد، ومحدوداً ببعض مسارات العمل أو بالجلسات
        المقبولة، وبقائمة من عناوين IP، وبتاريخ انتهاء الصلاحية. يشير 401 إلى أن
        المفتاح غير صحيح أو ملغى أو منتهي الصلاحية؛ ويشير 403 إلى أنه لم يتم
        إرسال أي مفتاح، أو أن المفتاح ليس لديه حق الوصول إلى هذا المورد أو
        الإجراء، أو أن الطلب جاء من عنوان خارج قائمة عناوين IP الخاصة به؛ ويشير
        404 في مسار جلسة إلى أن الجلسة خارج مسارات العمل أو الحالات الخاصة
        بالمفتاح. يتلقى المفتاح الذي لا يمتلك حق الوصول إلى الوسائط عناوين URL
        للصور ومقاطع الفيديو وملفات PDF كـ null، ويتلقى المفتاح الذي لا يمتلك
        إذن كتابة للجلسات روابط الجلسة وtoken كـ null. راجع
        https://docs.didit.me/console/api-keys.

````

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