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

# Balasan Travel Rule Pickup Portal API - Jalur Email

> Balas ke VASP pelanggan untuk transfer Travel Rule jalur email dari tautan pickup, dengan lampiran opsional melalui Didit.

Balas dalam Prompt API Pickup Portal
Salin prompt ke papan klip

<pre>
  \`Write back to the customer VASP of an EMAIL-rail Travel Rule transfer from the pickup link.

  Endpoint:
  POST [https://verification.didit.me/v3/travel-rule/pickup/\{token}/messages/](https://verification.didit.me/v3/travel-rule/pickup/\{token}/messages/)

  Authentication:
  None - the one-time pickup link token is the credential.

  Request body (JSON, or multipart/form-data with files): the same fields as the transaction's messages endpoint (kind, body, requested\_documents, reply\_to, files). Attachments must be PDF, PNG, JPEG or WebP.

  Failure modes:

  * 400 - invalid body, a file type that is not accepted, 100 messages reached, or reply\_to is not a message of this transfer.
  * 404 - unknown token.
  * 410 - the pickup link expired or the transfer is closed.

  Full guide: /transaction-monitoring/travel-rule#messages-and-document-requests.\`
</pre>

Tempel ke


## OpenAPI

````yaml id/openapi-25.json POST /v3/travel-rule/pickup/{token}/messages/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: API Verifikasi Identitas. Lakukan autentikasi dengan header x-api-key.
servers:
  - url: https://verification.didit.me
security: []
tags: []
paths:
  /v3/travel-rule/pickup/{token}/messages/:
    post:
      tags:
        - Travel Rule
      summary: Balas di portal penjemputan
      description: >-
        Publik, tidak terautentikasi. VASP pihak lawan membalas pada transfer
        rail-EMAIL. Payload isi sama dengan pesan transaksi; lampiran harus
        berupa PDF, PNG, JPEG, atau WebP. Token berfungsi sebagai autentikasi.
      operationId: createTravelRulePickupMessage
      parameters:
        - name: token
          in: path
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TravelRuleMessageCreateRequest'
            example:
              kind: MESSAGE
              body: Attached is the proof of address of the wallet holder.
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/TravelRuleMessageCreateRequest'
      responses:
        '201':
          description: Pesan yang tersimpan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TravelRuleMessage'
        '400':
          description: >-
            Body tidak valid, tipe atau ukuran file yang tidak diterima, lebih
            dari 100 pesan pada transfer, atau `reply_to` yang bukan merupakan
            pesan dari transfer ini.
          content:
            application/json:
              schema:
                type: object
              example:
                requested_documents:
                  - Name at least one document the counterparty should send.
        '404':
          description: Token tidak dikenal.
        '410':
          description: Tautan penjemputan telah kedaluwarsa atau transfer telah ditutup.
      security:
        - {}
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X POST
            https://verification.didit.me/v3/travel-rule/pickup/{token}/messages/
            \
              -H 'Content-Type: application/json' \
              -d '{"kind": "MESSAGE", "body": "Attached is the proof of address of the wallet holder."}'
components:
  schemas:
    TravelRuleMessageCreateRequest:
      type: object
      description: >-
        Kirim sebagai JSON, atau sebagai multipart/form-data dengan lampiran di
        `files`.
      properties:
        kind:
          type: string
          enum:
            - MESSAGE
            - DOCUMENT_REQUEST
          default: MESSAGE
        body:
          type: string
          maxLength: 5000
          description: Wajib untuk MESSAGE kecuali jika file dilampirkan.
        requested_documents:
          type: array
          items:
            type: string
            maxLength: 255
          maxItems: 10
          description: >-
            Wajib (setidaknya satu) untuk DOCUMENT_REQUEST, dan hanya diizinkan
            di sana.
        reply_to:
          type: string
          format: uuid
          nullable: true
          description: >-
            Pesan dari transfer yang sama. Balasan yang menyertakan dokumen
            memenuhi permintaan dokumen yang dijawabnya.
        files:
          type: array
          items:
            type: string
            format: binary
          maxItems: 5
          description: Hanya multipart. Hingga 5 file masing-masing berukuran 10 MB.
    TravelRuleMessage:
      type: object
      properties:
        id:
          type: string
          format: uuid
        kind:
          type: string
          enum:
            - MESSAGE
            - DOCUMENT_REQUEST
        direction:
          type: string
          enum:
            - INBOUND
            - OUTBOUND
          description: >-
            `OUTBOUND` adalah apa yang dikirim oleh pihak pembaca sendiri. Di
            portal penjemputan, arahnya adalah dari pihak lawan.
        author:
          type: string
          description: >-
            Pihak yang menulisnya dari pihaknya sendiri: email pengguna konsol
            atau label kunci API, atau nama VASP lainnya.
        body:
          type: string
        requested_documents:
          type: array
          items:
            type: string
          description: Apa yang diminta oleh DOCUMENT_REQUEST, dalam kata-kata pemohon.
        reply_to:
          type: string
          format: uuid
          nullable: true
        fulfilled_at:
          type: string
          format: date-time
          nullable: true
          description: >-
            Ditetapkan pada DOCUMENT_REQUEST setelah balasan untuknya membawa
            dokumen.
        attachment:
          $ref: '#/components/schemas/TravelRuleMessageAttachment'
        created_at:
          type: string
          format: date-time
    TravelRuleMessageAttachment:
      type: object
      nullable: true
      description: >-
        Dokumen yang dilampirkan ke pesan, disimpan seperti dokumen transaksi
        lainnya.
      properties:
        uuid:
          type: string
          format: uuid
        label:
          type: string
          nullable: true
        note:
          type: string
          nullable: true
        uploaded_by:
          type: string
          nullable: true
          description: >-
            Pihak yang melampirkannya. Di portal pengambilan, file yang Anda
            kirim menampilkan nama VASP Anda, tidak pernah menampilkan orang
            atau kunci API di baliknya.
        created_at:
          type: string
          format: date-time
        files:
          type: array
          items:
            type: object
            properties:
              uuid:
                type: string
                format: uuid
              file_url:
                type: string
                nullable: true
                description: URL unduhan dengan batas waktu.
              original_filename:
                type: string
              file_size:
                type: integer

````

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