> ## 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の判定取得API：トラベルルール

> Didit Management APIで、トラベルルールの取引相手VASPに対して自社アプリケーションが設定した承認済み・制限・ブロックの判定を取得します。

VASP判定取得APIのプロンプト
プロンプトをクリップボードにコピー

<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 ja/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ネットワークのメンバー）に対するお客様のアプリケーションの判定です。approved、restricted、blockedのいずれかです。独自の判定を持たないブランドのエンティティはブランドの判定に従い、そのブランドはinherited_fromで示されます。お客様のアプリケーション専用です。
      operationId: getTravelRuleVaspDecision
      parameters:
        - name: vasp_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: GET /v3/travel-rule/vasps/の行のIDで、ディレクトリのエントリまたは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: >-
            このidのディレクトリエントリまたは掲載されている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キーです。Business ConsoleのDevelopers -> API
        keysで取得できます。プライマリキーはフルアクセス権を持ちます。名前付きキーにはスコープを設定できます。リソースごとのアクセス権（なし、読み取り、書き込み）、一部のワークフローまたは承認済みセッションへの限定、IPアドレスのリストへの限定、有効期限の設定です。401は、キーが誤っている、失効している、または期限切れであることを意味します。403は、キーが送信されていない、キーにこのリソースやアクションへのアクセス権がない、またはIPリスト外のアドレスからリクエストが送信されたことを意味します。セッションのルートでの404は、セッションがキーのワークフローまたはステータスの対象外であることを意味します。メディアへのアクセス権がないキーでは、画像、動画、PDFのURLがnullで返されます。セッションの書き込み権限がないキーでは、セッションのリンクとトークンがnullで返されます。詳細は次を参照してください:
        https://docs.didit.me/console/api-keys

````

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