> ## 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 للطرف المقابل في Travel Rule: واجهة API

> اقرأ قرار تطبيقك الخاص، مقبولة أو مقيّدة أو محظورة، بشأن VASP طرف مقابل في Travel Rule عبر Didit.

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

<pre>
  \`Read my application's decision on a Travel Rule counterparty VASP.

  Endpoint:
  GET [https://verification.didit.me/v3/travel-rule/vasps/\{vasp\_id}/decision/](https://verification.didit.me/v3/travel-rule/vasps/\{vasp_id}/decision/)

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

  vasp\_id is the id GET /v3/travel-rule/vasps/ returns for a directory entry or a Didit network member.

  What to read from the response:

  * decision - null when no decision applies; otherwise {decision, reason, decided_by, updated_at, inherited_from}.
  * decision.decision - APPROVED, RESTRICTED or BLOCKED.
  * decision.inherited\_from - {id, name} of the brand whose decision this entity follows, because I made none on the entity itself. Null when the decision is the counterparty's own.
  * decision.decided\_by - the console user who made or last changed it; empty when an API key did.

  The decision is private to my application: no other Didit customer sees it, and it never changes the shared directory entry or how a transfer is routed. It acts only through my transaction rules (rule field counterparty\_dd\_status).

  Failure modes:

  * 404 - no directory entry or listed Didit network member has this id, or the id is my own VASP profile.

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

الصق في


## OpenAPI

````yaml ar/openapi-25.json GET /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/:
    get:
      tags:
        - Travel Rule
      summary: الحصول على قرارك بشأن VASP
      description: >-
        قرار تطبيقك بشأن الطرف المقابل (إدخال في الدليل أو عضو في شبكة Didit):
        مقبولة أو مقيدة أو محظورة. الكيان التابع لعلامة تجارية ليس له قرار خاص
        به يتبع قرار العلامة التجارية، والمذكور في inherited_from. خاص بتطبيقك.
      operationId: getTravelRuleVaspDecision
      parameters:
        - name: vasp_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: >-
            معرّف صف في GET /v3/travel-rule/vasps/: مدخل في الدليل أو عضو في
            شبكة Didit.
      responses:
        '200':
          description: القرار الساري، أو null.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TravelRuleCounterpartyDecisionResponse'
              examples:
                Own decision:
                  value:
                    decision:
                      decision: APPROVED
                      reason: Licensed in DE, questionnaire reviewed
                      decided_by: ''
                      updated_at: '2026-10-14T10:05:00Z'
                      inherited_from: null
                Inherited from the brand:
                  value:
                    decision:
                      decision: BLOCKED
                      reason: Group refused after review
                      decided_by: ''
                      updated_at: '2026-10-14T10:05:00Z'
                      inherited_from:
                        id: 5e4d3c2b-1a0f-4e9d-8c7b-6a5f4e3d2c1b
                        name: Example Group
                No decision:
                  value:
                    decision: null
        '404':
          description: >-
            لا يوجد إدخال في الدليل أو عضو مدرج في شبكة Didit بهذا المعرّف. ملف
            VASP التعريفي الخاص بك لا يكون أبداً طرفاً مقابلاً لك.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
              example:
                detail: No directory entry or Didit network member has this id.
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X GET
            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.retrieve_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.retrieveVaspDecision("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.RetrieveVASPDecision(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().retrieveVaspDecision("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->retrieveVaspDecision('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.retrieve_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.RetrieveVaspDecisionAsync("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.