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

# تأكيد واجهة API لبريد Travel Rule للامتثال

> أرسل رابط تأكيد إلى بريد الامتثال في ملف VASP الخاص بك حتى تتمكن شبكة Didit من إدراج ملفك.



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



      
      

\<pre>

\`Email a confirmation link to my VASP profile's compliance_email, so the Didit network can list my profile.

Endpoint:
POST https://verification.didit.me/v3/travel-rule/settings/compliance-email/confirmation/

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

What happens:
\- 202 with {"sent_to": "<address>"} - the email is on its way. Someone at that address opens the link and presses its confirm button; only that press confirms the address.
\- A new request replaces the previous link. Changing compliance_email with PUT /v3/travel-rule/settings/ makes the address unconfirmed again and the old link stops working.
\- GET /v3/travel-rule/settings/ then shows didit_network.compliance_email_confirmed: true, and didit_network.missing lists anything else still keeping the profile out of the Didit network.

Failure modes:
\- 400 - no compliance email is set, or it is already confirmed.
\- 429 - a confirmation went to this address less than a minute ago.
\- 503 - the email could not be sent; nothing changed, try again.

Full guide: /transaction-monitoring/travel-rule#the-didit-network.`

\</pre>



      
      

الصق في



## OpenAPI

````yaml ar/openapi-25.json POST /v3/travel-rule/settings/compliance-email/confirmation/
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/settings/compliance-email/confirmation/:
    post:
      tags:
        - Travel Rule
      summary: أرسل تأكيد البريد الإلكتروني للامتثال
      description: >-
        يرسل رابط تأكيد لمرة واحدة عبر البريد الإلكتروني إلى compliance_email
        الخاص بملف VASP التعريفي لديك. يؤدي فتح الرابط والضغط على زر التأكيد فيه
        إلى تأكيد العنوان، وهو ما تحتاجه شبكة Didit قبل إدراج ملفك التعريفي. يحل
        أي طلب جديد محل الرابط السابق؛ ويتوقف الرابط عن العمل عند تغيير البريد
        الإلكتروني للامتثال. رسالة بريد إلكتروني واحدة في الدقيقة لكل عنوان.
      operationId: sendTravelRuleComplianceEmailConfirmation
      responses:
        '202':
          description: تم إرسال رسالة التأكيد الإلكترونية.
          content:
            application/json:
              schema:
                type: object
                properties:
                  sent_to:
                    type: string
                    format: email
              example:
                sent_to: compliance@your-vasp.example
        '400':
          description: لم يتم تعيين بريد إلكتروني للامتثال، أو تم تأكيده بالفعل.
          content:
            application/json:
              schema:
                type: object
                additionalProperties:
                  type: array
                  items:
                    type: string
              examples:
                No compliance email:
                  value:
                    compliance_email:
                      - Set a compliance email before confirming it.
                Already confirmed:
                  value:
                    compliance_email:
                      - This compliance email is already confirmed.
        '429':
          description: تم إرسال تأكيد إلى هذا العنوان منذ أقل من دقيقة.
        '503':
          description: تعذر إرسال البريد الإلكتروني. لم يتغير شيء؛ أعد المحاولة بعد لحظات.
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X POST
            https://verification.didit.me/v3/travel-rule/settings/compliance-email/confirmation/
            \
              -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.send_compliance_email_confirmation()
            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.sendComplianceEmailConfirmation();

            console.log(result);
        - lang: go
          label: Go
          source: "ctx := context.Background()\n// Reads DIDIT_API_KEY.\nclient := didit.NewClient()\n\nresult, err := client.TravelRule.SendComplianceEmailConfirmation(ctx)\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().sendComplianceEmailConfirmation();
            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->sendComplianceEmailConfirmation();
            print_r($result->toArray());
        - lang: ruby
          label: Ruby
          source: |-
            require "didit"

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

            result = didit.travel_rule.send_compliance_email_confirmation
            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.SendComplianceEmailConfirmationAsync();

            Console.WriteLine(JsonSerializer.Serialize(result));
components:
  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.