> ## 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 주소록

> Didit의 Travel Rule 지갑 주소록 항목에서 보유자 메타데이터 또는 Travel Address를 업데이트합니다.



지갑 주소 업데이트 API 프롬프트
        프롬프트를 클립보드에 복사



      
      

\<pre>

\`Update holder metadata on a Travel Rule wallet address book entry.

Endpoint:
PATCH https://verification.didit.me/v3/travel-rule/wallet-addresses/{entry_uuid}/

Authentication:
Use the x-api-key header with my Didit API key. {entry_uuid} comes from the list/create endpoints.

Writable fields (all optional; the response returns them with label, owner_type and the read-only receiving_travel_address):
\{
"holder_name": "Ana Diaz",
"holder_vendor_data": "user-042",
"entity_type": "individual",
"travel_address": "taiwwrTeRpaRbqpQXB9A1JiLtdE686XtYRC316kPuQzbJSTgv7ndnF4ceHM7CReVGuzqcCCu5RfUHdL1FffHhdf3dzQDEgKAUMtAuD6uteY"   // adding one lets outbound BTC, ETH and USDC transfers to this wallet route over TRP
}

The address, chain and is_ownership_verified cannot be patched.
Register a new entry for a different address or chain, and prove ownership via the wallet-ownership widget.

Failure modes:
\- 400 - invalid travel_address ("Invalid travel address.").
\- 404 - unknown or deleted entry.
\- 403 - missing x-api-key (a wrong, revoked or expired key gets 401).

Full guide: /transaction-monitoring/travel-rule#wallet-address-book.`

\</pre>



      
      

붙여넣을 곳



## OpenAPI

````yaml ko/openapi-25.json PATCH /v3/travel-rule/wallet-addresses/{entry_uuid}/
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/wallet-addresses/{entry_uuid}/:
    patch:
      tags:
        - Travel Rule
      summary: 지갑 주소 소유자 메타데이터 업데이트
      description: >-
        holder_name, holder_vendor_data, entity_type 및 travel_address의 부분
        업데이트입니다. travel_address를 설정하면 항목에 TRP 라우팅 주소가 연결되며, 유효하지 않은 값은 400으로
        거부됩니다. 응답에는 이 네 가지 필드만 그대로 반환됩니다.
      operationId: updateTravelRuleWalletAddress
      parameters:
        - name: entry_uuid
          in: path
          required: true
          schema:
            type: string
            format: uuid
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WalletAddressEntryUpdate'
            example:
              holder_name: Ana Updated
              travel_address: >-
                ta2ih1MicegQ3JqiKz9xT89KsSuwaDJYw8DgzmeSEp1h9tduJcNDZ5SgKLEHeyGMcS1s2HgbM6undFrMQknhM5aTXw3G9KBzi16hx
      responses:
        '200':
          description: 업데이트된 필드입니다.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletAddressEntryUpdate'
        '400':
          description: '`travel_address`이(가) 유효한 Travel Address가 아닙니다.'
          content:
            application/json:
              examples:
                Invalid travel address:
                  value:
                    travel_address:
                      - Invalid travel address.
        '404':
          description: 알 수 없거나 삭제된 항목입니다.
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X PATCH
            https://verification.didit.me/v3/travel-rule/wallet-addresses/{entry_uuid}/
            \
              -H 'x-api-key: YOUR_API_KEY' -H 'Content-Type: application/json' \
              -d '{"holder_name": "Ana Updated", "travel_address": "ta2ih1MicegQ3JqiKz9xT89KsSuwaDJYw8DgzmeSEp1h9tduJcNDZ5SgKLEHeyGMcS1s2HgbM6undFrMQknhM5aTXw3G9KBzi16hx"}'
        - lang: python
          label: Python
          source: |-
            from didit import Didit

            # Reads DIDIT_API_KEY.
            client = Didit()

            result = client.travel_rule.wallet_addresses.update(
                "11111111-2222-3333-4444-555555555555",
                holder_name="Ana Updated",
                travel_address="ta2ih1MicegQ3JqiKz9xT89KsSuwaDJYw8DgzmeSEp1h9tduJcNDZ5SgKLEHeyGMcS1s2HgbM6undFrMQknhM5aTXw3G9KBzi16hx",
            )
            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.walletAddresses.update("11111111-2222-3333-4444-555555555555",
            {
              holder_name: "Ana Updated",
              travel_address: "ta2ih1MicegQ3JqiKz9xT89KsSuwaDJYw8DgzmeSEp1h9tduJcNDZ5SgKLEHeyGMcS1s2HgbM6undFrMQknhM5aTXw3G9KBzi16hx",
            });

            console.log(result);
        - lang: go
          label: Go
          source: "ctx := context.Background()\n// Reads DIDIT_API_KEY.\nclient := didit.NewClient()\n\nresult, err := client.TravelRule.WalletAddresses.Update(ctx, \"11111111-2222-3333-4444-555555555555\", didit.WalletAddressEntryUpdateParam{\n\tHolderName:    didit.String(\"Ana Updated\"),\n\tTravelAddress: didit.String(\"ta2ih1MicegQ3JqiKz9xT89KsSuwaDJYw8DgzmeSEp1h9tduJcNDZ5SgKLEHeyGMcS1s2HgbM6undFrMQknhM5aTXw3G9KBzi16hx\"),\n})\nif err != nil {\n\tlog.Fatal(err)\n}\nfmt.Printf(\"%+v\\n\", result)"
        - lang: java
          label: Java
          source: >-
            import me.didit.Didit;

            import me.didit.types.WalletAddressEntryUpdate;


            // Reads DIDIT_API_KEY.

            Didit client = new Didit();


            var result =
            client.travelRule().walletAddresses().update("11111111-2222-3333-4444-555555555555",
            WalletAddressEntryUpdate.builder()
                    .holderName("Ana Updated")
                    .travelAddress("ta2ih1MicegQ3JqiKz9xT89KsSuwaDJYw8DgzmeSEp1h9tduJcNDZ5SgKLEHeyGMcS1s2HgbM6undFrMQknhM5aTXw3G9KBzi16hx")
                    .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->walletAddresses->update('11111111-2222-3333-4444-555555555555',
            [
                'holder_name' => 'Ana Updated',
                'travel_address' => 'ta2ih1MicegQ3JqiKz9xT89KsSuwaDJYw8DgzmeSEp1h9tduJcNDZ5SgKLEHeyGMcS1s2HgbM6undFrMQknhM5aTXw3G9KBzi16hx',
            ]);

            print_r($result->toArray());
        - lang: ruby
          label: Ruby
          source: |-
            require "didit"

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

            result = didit.travel_rule.wallet_addresses.update(
              "11111111-2222-3333-4444-555555555555",
              holder_name: "Ana Updated",
              travel_address: "ta2ih1MicegQ3JqiKz9xT89KsSuwaDJYw8DgzmeSEp1h9tduJcNDZ5SgKLEHeyGMcS1s2HgbM6undFrMQknhM5aTXw3G9KBzi16hx"
            )
            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.WalletAddresses.UpdateAsync("11111111-2222-3333-4444-555555555555",
            new WalletAddressEntryUpdate

            {
                HolderName = "Ana Updated",
                TravelAddress = "ta2ih1MicegQ3JqiKz9xT89KsSuwaDJYw8DgzmeSEp1h9tduJcNDZ5SgKLEHeyGMcS1s2HgbM6undFrMQknhM5aTXw3G9KBzi16hx",
            });

            Console.WriteLine(JsonSerializer.Serialize(result));
components:
  schemas:
    WalletAddressEntryUpdate:
      type: object
      properties:
        holder_name:
          type: string
          maxLength: 255
        holder_vendor_data:
          type: string
          maxLength: 255
        entity_type:
          type: string
          maxLength: 16
        travel_address:
          type: string
          maxLength: 512
      description: >-
        PATCH는 부분 업데이트입니다. 응답에는 holder_name, holder_vendor_data, entity_type,
        travel_address, receiving_travel_address, label, owner_type만 반환됩니다.
  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.