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

# Подтверждение compliance-email Travel Rule: API

> Отправьте ссылку для подтверждения на compliance-email вашего профиля 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 ru/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: Email комплаенса не задан или уже подтвержден.
          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-ключ вашего приложения из раздела «Разработчикам» -> «API-ключи» в
        Business Console. Основной ключ имеет полный доступ. Именованный ключ
        может иметь ограниченную область действия: без доступа, чтение или
        запись для каждого ресурса, ограничение определенными сценариями или
        одобренными сессиями, списком IP-адресов и сроком действия. 401
        означает, что ключ неверен, отозван или его срок действия истек; 403
        означает, что ключ не был передан, у ключа нет доступа к этому ресурсу
        или действию, либо запрос поступил с адреса вне его списка IP-адресов;
        404 на маршруте сессии означает, что сессия не входит в сценарии или
        статусы ключа. Ключ без доступа к медиа получает URL изображений, видео
        и PDF как null, а ключ без прав на запись сессий получает ссылки на
        сессии и токены как null. См. https://docs.didit.me/console/api-keys.

````

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