> ## 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 거래 상대방 VASP 결정 해제 API

> Didit에서 애플리케이션이 내린 Travel Rule 거래 상대방 VASP 결정을 해제합니다. 해제 후 해당 법인은 브랜드의 결정을 다시 따릅니다.



VASP 결정 삭제 API 프롬프트
        프롬프트를 클립보드에 복사



      
      

\<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 ko/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/ 행의 id: 디렉터리 항목 또는 Didit 네트워크 멤버입니다.'
      responses:
        '200':
          description: 결정이 해제되었습니다. 본문에는 현재 적용되는 결정이 표시됩니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TravelRuleCounterpartyDecisionResponse'
              example:
                decision: null
        '404':
          description: >-
            이 id를 가진 거래 상대방이 없거나, 귀하의 애플리케이션 자체의 결정이 없습니다(브랜드로부터 상속받기만 한 결정은 여기서
            삭제할 수 없으므로 브랜드의 결정을 삭제해야 합니다).
          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: >-
        Business Console의 Developers -> API keys에서 발급받은 귀하 애플리케이션의 API 키입니다. 기본
        키는 전체 접근 권한을 갖습니다. 이름이 지정된 키는 리소스별 none, read, write 범위로 권한을 제한할 수 있으며
        특정 워크플로나 승인된 세션, IP 주소 목록, 만료일 등으로 제한할 수도 있습니다. 401은 키가 잘못되었거나 폐기되었거나
        만료되었음을 의미합니다. 403은 키가 전송되지 않았거나, 키에 해당 리소스나 작업에 대한 접근 권한이 없거나, 요청이 허용된
        IP 목록 외부 주소에서 발생했음을 의미합니다. 세션 경로에서의 404는 해당 세션이 키의 허용 워크플로 또는 상태 범위를
        벗어났음을 의미합니다. 미디어 접근 권한이 없는 키는 이미지, 비디오, PDF URL을 null로 수신하며, 세션 write
        권한이 없는 키는 세션 링크와 token을 null로 수신합니다.
        https://docs.didit.me/console/api-keys 를 참고하십시오.

````

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