> ## 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 عبر API

> احفظ إجاباتك على استبيان العناية الواجبة للشبكة في Didit. تكون عمليات الحفظ جزئية، فتبقى كل إجابة لم ترسلها محفوظة كما هي.



موجّه API لحفظ إجابات استبيان الشبكة
        نسخ الموجّه إلى الحافظة



      
      

\<pre>

\`Save answers to Didit's network due-diligence questionnaire for my application.

Endpoint:
PUT https://verification.didit.me/v3/travel-rule/networks/questionnaire/

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

Request body (application/json), every field optional on a save:
\{
"legal_name": "Example VASP Ltd",
"registration_number": "B-12345678",
"incorporation_country": "ES",
"registered_address": "1 Example Street, Madrid",
"website": "https://example.com",
"lei": "",                                   // optional; a valid ISO 17442 LEI when given
"licences": [{"regulator": "Example Regulator", "jurisdiction": "ES", "licence_type": "CASP", "licence_number": "123"}],
"operating_jurisdictions": ["ES", "PT"],
"compliance_officer_name": "Jane Doe",
"compliance_officer_email": "compliance@example.com",
"aml_ctf_policy_attested": true,
"sanctions_screening_attested": true,
"data_protection_attested": true,
"data_protection_contact_email": "privacy@example.com",   // optional
"expected_monthly_transfers": 500,
"expected_monthly_volume_usd": "250000.00",
"assets": ["BTC", "USDC"]
}

Behavior:
\- Saves are partial: answers you do not send are kept.
\- Only possible while the status is draft or changes_requested (409 otherwise).
\- 403 travel_rule_platform_networks_disabled until network access through Didit opens.

Full guide: /transaction-monitoring/travel-rule.`

\</pre>



      
      

الصق في



## OpenAPI

````yaml ar/openapi-25.json PUT /v3/travel-rule/networks/questionnaire/
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/networks/questionnaire/:
    put:
      tags:
        - Travel Rule
      summary: حفظ إجابات استبيان الشبكة
      description: >-
        حفظ الإجابات على الاستبيان طالما أنه بحالة draft أو changes_requested.
        عمليات الحفظ جزئية: يتم الاحتفاظ بالإجابات التي لا ترسلها.
      operationId: updateTravelRuleNetworkQuestionnaire
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TravelRuleNetworkQuestionnaireAnswers'
            example:
              legal_name: Example VASP Ltd
              incorporation_country: ES
              aml_ctf_policy_attested: true
      responses:
        '200':
          description: الاستبيان مع الإجابات المدمجة.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TravelRuleNetworkQuestionnaire'
        '400':
          description: خطأ في التحقق، مفهرس بحسب الحقل.
        '401':
          description: مفتاح API مفقود أو غير صالح.
        '403':
          description: الوصول إلى الشبكة عبر عضوية Didit ليس مفتوحاً بعد.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                    enum:
                      - travel_rule_platform_networks_disabled
        '409':
          description: >-
            الاستبيان موجود لدى Didit أو تم اتخاذ قرار بشأنه: لا يمكن تغييره إلا
            أثناء حالتي draft أو changes_requested.
          content:
            application/json:
              schema:
                type: object
                properties:
                  detail:
                    type: string
                  code:
                    type: string
                    enum:
                      - travel_rule_questionnaire_not_editable
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X PUT
            https://verification.didit.me/v3/travel-rule/networks/questionnaire/
            \
              -H 'x-api-key: YOUR_API_KEY' \
              -H 'Content-Type: application/json' \
              -d '{"legal_name": "Example VASP Ltd", "incorporation_country": "ES", "aml_ctf_policy_attested": true}'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY.
            client = Didit()

            result = client.travel_rule.networks.update_questionnaire(
                legal_name="Example VASP Ltd",
                incorporation_country="ES",
                aml_ctf_policy_attested=True,
            )
            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.networks.updateQuestionnaire({
              legal_name: "Example VASP Ltd",
              incorporation_country: "ES",
              aml_ctf_policy_attested: true,
            });
            console.log(result);
        - lang: java
          label: Java
          source: >-
            import me.didit.Didit;

            import me.didit.types.TravelRuleNetworkQuestionnaireAnswers;


            // Reads DIDIT_API_KEY.

            Didit client = new Didit();


            var result =
            client.travelRule().networks().updateQuestionnaire(TravelRuleNetworkQuestionnaireAnswers.builder()
                    .legalName("Example VASP Ltd")
                    .incorporationCountry("ES")
                    .amlCtfPolicyAttested(true)
                    .build());
            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->networks->updateQuestionnaire([
                'legal_name' => 'Example VASP Ltd',
                'incorporation_country' => 'ES',
                'aml_ctf_policy_attested' => true,
            ]);
            print_r($result->toArray());
        - lang: ruby
          label: Ruby
          source: |-
            require "didit"

            # Reads DIDIT_API_KEY.
            didit = Didit::Client.new

            result = didit.travel_rule.networks.update_questionnaire(
              legal_name: "Example VASP Ltd",
              incorporation_country: "ES",
              aml_ctf_policy_attested: true
            )
            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.Networks.UpdateQuestionnaireAsync(new
            TravelRuleNetworkQuestionnaireAnswers

            {
                LegalName = "Example VASP Ltd",
                IncorporationCountry = "ES",
                AmlCtfPolicyAttested = true,
            });

            Console.WriteLine(JsonSerializer.Serialize(result));
components:
  schemas:
    TravelRuleNetworkQuestionnaireAnswers:
      type: object
      description: >-
        استبيان العناية الواجبة لشبكة Didit. عمليات الحفظ جزئية: يحافظ الحفظ على
        كل إجابة لا يحددها بالاسم. يتطلب الإرسال ملء كل حقل باستثناء lei
        وdata_protection_contact_email، وأن تكون الإقرارات الثلاثة مضبوطة على
        true.
      properties:
        legal_name:
          type: string
          maxLength: 255
        registration_number:
          type: string
          maxLength: 255
        incorporation_country:
          type: string
          minLength: 2
          maxLength: 2
          description: رمز الدولة وفقاً لـ ISO 3166-1 alpha-2.
        registered_address:
          type: string
          maxLength: 1000
        website:
          type: string
          format: uri
          maxLength: 500
        lei:
          type: string
          maxLength: 20
          description: اختياري. معرّف LEI صالح وفق معيار ISO 17442 عند تقديمه.
        licences:
          type: array
          minItems: 1
          items:
            type: object
            required:
              - regulator
              - jurisdiction
              - licence_type
              - licence_number
            properties:
              regulator:
                type: string
                maxLength: 255
              jurisdiction:
                type: string
                minLength: 2
                maxLength: 2
                description: رمز الدولة وفقاً لـ ISO 3166-1 alpha-2.
              licence_type:
                type: string
                maxLength: 255
              licence_number:
                type: string
                maxLength: 255
          description: كل ترخيص أو تسجيل تحمله VASP.
        operating_jurisdictions:
          type: array
          minItems: 1
          maxItems: 250
          items:
            type: string
            minLength: 2
            maxLength: 2
            description: رمز الدولة وفقاً لـ ISO 3166-1 alpha-2.
        compliance_officer_name:
          type: string
          maxLength: 255
        compliance_officer_email:
          type: string
          format: email
        aml_ctf_policy_attested:
          type: boolean
          description: يجب أن تكون true للإرسال.
        sanctions_screening_attested:
          type: boolean
          description: يجب أن تكون true للإرسال.
        data_protection_attested:
          type: boolean
          description: يجب أن تكون true للإرسال.
        data_protection_contact_email:
          type: string
          format: email
          description: اختياري.
        expected_monthly_transfers:
          type: integer
          minimum: 0
        expected_monthly_volume_usd:
          type: string
          format: decimal
          description: >-
            الحجم الشهري المتوقع بالدولار الأمريكي، حتى منزلتين عشريتين. يتم
            إرجاعه كسلسلة نصية.
        assets:
          type: array
          minItems: 1
          maxItems: 200
          items:
            type: string
            maxLength: 32
          description: رموز تداول الأصول، مخزنة بأحرف كبيرة، ومرتبة، وبدون تكرار.
    TravelRuleNetworkQuestionnaire:
      type: object
      properties:
        status:
          type: string
          enum:
            - draft
            - submitted
            - changes_requested
            - approved
            - rejected
          description: >-
            يمكن حفظ الإجابات أثناء حالتي draft أو changes_requested؛ وتتولى
            Didit نقل الحالات submitted وapproved وrejected.
        answers:
          $ref: '#/components/schemas/TravelRuleNetworkQuestionnaireAnswers'
        submitted_at:
          type: string
          format: date-time
          nullable: true
        reviewed_at:
          type: string
          format: date-time
          nullable: true
        review_note:
          type: string
          description: ملاحظة Didit بشأن قرارها الأخير، على سبيل المثال ما يجب تغييره.
        history:
          type: array
          readOnly: true
          description: كل تغيير في الحالة، الأقدم أولاً.
          items:
            type: object
            properties:
              at:
                type: string
                format: date-time
              from:
                type: string
              to:
                type: string
              note:
                type: string
                description: ملاحظة المراجعة أو رد الشبكة، عند توفره.
        updated_at:
          type: string
          format: date-time
          nullable: true
  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.