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

> حدّث بيانات حامل المحفظة أو Travel Address لمدخل في دفتر عناوين المحافظ الخاص بـ Travel Rule ضمن واجهة Didit البرمجية للإدارة.



موجه 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 ar/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: >-
        مفتاح 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.